Lines Matching refs:ether_header
508 size = length + sizeof(struct ether_header); in packet_buffer_allocate()
530 return m_mtod_current(buf) + sizeof(struct ether_header); in packet_buffer_byteptr()
1009 const struct ether_header * eh_p, in bond_bpf_vlan()
1022 bcopy(eh_p, vlh_p, offsetof(struct ether_header, ether_type)); in bond_bpf_vlan()
1039 const struct ether_header * eh_p; in bond_bpf_output()
1040 eh_p = mtod(m, const struct ether_header *); in bond_bpf_output()
1054 bond_bpf_input(ifnet_t ifp, mbuf_t m, const struct ether_header * eh_p, in bond_bpf_input()
1234 bpfattach(ifp, DLT_EN10MB, sizeof(struct ether_header)); in bond_clone_create()
1340 ether_header_hash(struct ether_header * eh_p) in ether_header_hash()
1439 offset = offsetof(struct ip, ip_p) + sizeof(struct ether_header); in ip_header_hash()
1466 return ether_header_hash(mtod(orig_m, struct ether_header *)); in ip_header_hash()
1481 offset = offsetof(struct ip6_hdr, ip6_src) + sizeof(struct ether_header); in ipv6_header_hash()
1508 return ether_header_hash(mtod(orig_m, struct ether_header *)); in ipv6_header_hash()
1531 struct ether_header * eh_p; in bond_output()
1533 eh_p = mtod(m, struct ether_header *); in bond_output()
1726 const struct ether_header * eh_p; in bond_input()
1731 eh_p = (const struct ether_header *)frame_header; in bond_input()
1853 struct ether_header * eh_p; in bondport_slow_proto_transmit()
1857 eh_p = mtod(buf, struct ether_header *); in bondport_slow_proto_transmit()