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()
1007 const struct ether_header * eh_p, in bond_bpf_vlan()
1020 bcopy(eh_p, vlh_p, offsetof(struct ether_header, ether_type)); in bond_bpf_vlan()
1037 const struct ether_header * eh_p; in bond_bpf_output()
1038 eh_p = mtod(m, const struct ether_header *); in bond_bpf_output()
1052 bond_bpf_input(ifnet_t ifp, mbuf_t m, const struct ether_header * eh_p, in bond_bpf_input()
1232 bpfattach(ifp, DLT_EN10MB, sizeof(struct ether_header)); in bond_clone_create()
1338 ether_header_hash(struct ether_header * eh_p) in ether_header_hash()
1437 offset = offsetof(struct ip, ip_p) + sizeof(struct ether_header); in ip_header_hash()
1464 return ether_header_hash(mtod(orig_m, struct ether_header *)); in ip_header_hash()
1479 offset = offsetof(struct ip6_hdr, ip6_src) + sizeof(struct ether_header); in ipv6_header_hash()
1506 return ether_header_hash(mtod(orig_m, struct ether_header *)); in ipv6_header_hash()
1529 struct ether_header * eh_p; in bond_output()
1531 eh_p = mtod(m, struct ether_header *); in bond_output()
1724 const struct ether_header * eh_p; in bond_input()
1729 eh_p = (const struct ether_header *)frame_header; in bond_input()
1851 struct ether_header * eh_p; in bondport_slow_proto_transmit()
1855 eh_p = mtod(buf, struct ether_header *); in bondport_slow_proto_transmit()