Lines Matching refs:ether_header
506 size = length + sizeof(struct ether_header); in packet_buffer_allocate()
528 return buf->m_data + 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()
1238 bpfattach(ifp, DLT_EN10MB, sizeof(struct ether_header)); in bond_clone_create()
1344 ether_header_hash(struct ether_header * eh_p) in ether_header_hash()
1443 offset = offsetof(struct ip, ip_p) + sizeof(struct ether_header); in ip_header_hash()
1470 return ether_header_hash(mtod(orig_m, struct ether_header *)); in ip_header_hash()
1485 offset = offsetof(struct ip6_hdr, ip6_src) + sizeof(struct ether_header); in ipv6_header_hash()
1512 return ether_header_hash(mtod(orig_m, struct ether_header *)); in ipv6_header_hash()
1535 struct ether_header * eh_p; in bond_output()
1537 eh_p = mtod(m, struct ether_header *); in bond_output()
1730 const struct ether_header * eh_p; in bond_input()
1735 eh_p = (const struct ether_header *)frame_header; in bond_input()
1857 struct ether_header * eh_p; in bondport_slow_proto_transmit()
1861 eh_p = mtod(buf, struct ether_header *); in bondport_slow_proto_transmit()