Lines Matching refs:ether_header
551 size = length + sizeof(struct ether_header); in packet_buffer_allocate()
574 return m_mtod_current(buf) + sizeof(struct ether_header); in packet_buffer_byteptr()
1046 get_bpf_header(mbuf_t m, struct ether_header * eh_p, in get_bpf_header()
1053 header = (struct ether_header *__bidi_indexable)eh_p; in get_bpf_header()
1060 offsetof(struct ether_header, ether_type)); /* dst+src ether */ in get_bpf_header()
1075 bond_bpf_tap_common(ifnet_t ifp, mbuf_t m, struct ether_header * eh_p, in bond_bpf_tap_common()
1087 bond_bpf_tap_in(ifnet_t ifp, mbuf_t m, struct ether_header * eh_p) in bond_bpf_tap_in()
1093 bond_bpf_tap_out(ifnet_t ifp, mbuf_t m, struct ether_header * eh_p) in bond_bpf_tap_out()
1258 bpfattach(ifp, DLT_EN10MB, sizeof(struct ether_header)); in bond_clone_create()
1329 ether_header_hash(struct ether_header * eh_p) in ether_header_hash()
1430 offset = offsetof(struct ip, ip_p) + sizeof(struct ether_header); in ip_header_hash()
1457 return ether_header_hash(mtod(orig_m, struct ether_header *)); in ip_header_hash()
1472 offset = offsetof(struct ip6_hdr, ip6_src) + sizeof(struct ether_header); in ipv6_header_hash()
1499 return ether_header_hash(mtod(orig_m, struct ether_header *)); in ipv6_header_hash()
1519 struct ether_header * eh_p; in get_packet_hash()
1521 eh_p = mtod(m, struct ether_header *); in get_packet_hash()
1581 struct ether_header * eh_p; in bond_output()
1583 eh_p = mtod(m, struct ether_header *); in bond_output()
1750 is_slow_proto_multicast(struct ether_header * eh_p) in is_slow_proto_multicast()
1837 struct ether_header * eh_p; in bond_input_packet_list()
1849 eh_p = (struct ether_header *)frame_header; in bond_input_packet_list()
1869 struct ether_header * eh_p; in bond_input()
1881 eh_p = (struct ether_header *)frame_header; in bond_input()
1916 struct ether_header * eh_p; in bondport_slow_proto_transmit()
1920 eh_p = mtod(buf, struct ether_header *); in bondport_slow_proto_transmit()