Lines Matching refs:ether_header

550 	size = length + sizeof(struct ether_header);  in packet_buffer_allocate()
573 return m_mtod_current(buf) + sizeof(struct ether_header); in packet_buffer_byteptr()
1045 get_bpf_header(mbuf_t m, struct ether_header * eh_p, in get_bpf_header()
1052 header = (struct ether_header *__bidi_indexable)eh_p; in get_bpf_header()
1059 offsetof(struct ether_header, ether_type)); /* dst+src ether */ in get_bpf_header()
1074 bond_bpf_tap_common(ifnet_t ifp, mbuf_t m, struct ether_header * eh_p, in bond_bpf_tap_common()
1086 bond_bpf_tap_in(ifnet_t ifp, mbuf_t m, struct ether_header * eh_p) in bond_bpf_tap_in()
1092 bond_bpf_tap_out(ifnet_t ifp, mbuf_t m, struct ether_header * eh_p) in bond_bpf_tap_out()
1257 bpfattach(ifp, DLT_EN10MB, sizeof(struct ether_header)); in bond_clone_create()
1328 ether_header_hash(struct ether_header * eh_p) in ether_header_hash()
1429 offset = offsetof(struct ip, ip_p) + sizeof(struct ether_header); in ip_header_hash()
1456 return ether_header_hash(mtod(orig_m, struct ether_header *)); in ip_header_hash()
1471 offset = offsetof(struct ip6_hdr, ip6_src) + sizeof(struct ether_header); in ipv6_header_hash()
1498 return ether_header_hash(mtod(orig_m, struct ether_header *)); in ipv6_header_hash()
1518 struct ether_header * eh_p; in get_packet_hash()
1520 eh_p = mtod(m, struct ether_header *); in get_packet_hash()
1580 struct ether_header * eh_p; in bond_output()
1582 eh_p = mtod(m, struct ether_header *); in bond_output()
1749 is_slow_proto_multicast(struct ether_header * eh_p) in is_slow_proto_multicast()
1836 struct ether_header * eh_p; in bond_input_packet_list()
1848 eh_p = (struct ether_header *)frame_header; in bond_input_packet_list()
1868 struct ether_header * eh_p; in bond_input()
1880 eh_p = (struct ether_header *)frame_header; in bond_input()
1915 struct ether_header * eh_p; in bondport_slow_proto_transmit()
1919 eh_p = mtod(buf, struct ether_header *); in bondport_slow_proto_transmit()