| /xnu-10002.1.13/bsd/net/ |
| H A D | ether_if_module.c | 354 struct ether_header *eh = (struct ether_header *)(void *)frame_header; in ether_demux() 530 struct ether_header *eh; in ether_frameout_extended() 563 M_PREPEND(*m, sizeof(struct ether_header), M_DONTWAIT, 0); in ether_frameout_extended() 569 *prepend_len = sizeof(struct ether_header); in ether_frameout_extended() 575 eh = mtod(*m, struct ether_header *); in ether_frameout_extended()
|
| H A D | if_bridge.c | 1189 static void brlog_ether_header(struct ether_header *); 1377 brlog_ether_header(struct ether_header *eh) in brlog_ether_header() 1653 error = bpf_attach(ifp, DLT_EN10MB, sizeof(struct ether_header), in bridge_clone_create() 2246 brlog_ether_header((struct ether_header *) in bridge_iff_input() 2261 if (mbuf_pkthdr_len(m) < sizeof(struct ether_header)) { in bridge_iff_input() 2264 mbuf_pkthdr_len(m), sizeof(struct ether_header)); in bridge_iff_input() 2267 if (mbuf_len(m) < sizeof(struct ether_header)) { in bridge_iff_input() 2268 error = mbuf_pullup(data, sizeof(struct ether_header)); in bridge_iff_input() 2272 sizeof(struct ether_header), in bridge_iff_input() 4363 struct ether_header *eh; [all …]
|
| H A D | ether_inet_pr_module.c | 180 struct ether_header *eh = mbuf_pkthdr_header(m); in ether_inet_input() 235 const struct ether_header *eh; in ether_inet_pre_output() 266 eh = (const struct ether_header *)(uintptr_t)(size_t) in ether_inet_pre_output() 413 struct ether_header *eh; in ether_inet_arp()
|
| H A D | ether_inet6_pr_module.c | 112 struct ether_header *eh = (struct ether_header *)(void *)header; in ether_inet6_input()
|
| H A D | etherdefs.h | 71 typedef struct ether_header ether_header_t;
|
| H A D | ethernet.h | 91 typedef struct ether_header { struct
|
| H A D | if_bond.c | 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() [all …]
|
| H A D | bridgestp.c | 298 struct ether_header *eh; in bstp_transmit_tcn() 319 eh = mtod(m, struct ether_header *); in bstp_transmit_tcn() 416 struct ether_header *eh; in bstp_send_bpdu() 431 eh = mtod(m, struct ether_header *); in bstp_send_bpdu() 549 struct ether_header *eh; in bstp_input() 560 eh = mtod(m, struct ether_header *); in bstp_input()
|
| H A D | bpf.c | 345 hlen = sizeof(struct ether_header); in bpf_movein() 473 struct ether_header *eh; in bpf_movein() 475 eh = mtod(m, struct ether_header *); in bpf_movein() 3564 uint32_t ethlen = sizeof(struct ether_header); in get_ether_trunc_len() 3569 struct ether_header eh = {}; in get_ether_trunc_len() 3570 err = bpf_copydata(pkt, off, sizeof(struct ether_header), &eh); in get_ether_trunc_len() 3580 ethlen += get_ip_trunc_len(pkt, off + sizeof(struct ether_header), in get_ether_trunc_len() 3583 ethlen += get_ip6_trunc_len(pkt, off + sizeof(struct ether_header), in get_ether_trunc_len()
|
| H A D | dlil.h | 148 struct ether_header;
|
| H A D | if_headless.c | 1085 ifnet_set_hdrlen(ifp, sizeof(struct ether_header)); in headless_ifnet_set_attrs() 1200 bpfattach(ifp, DLT_EN10MB, sizeof(struct ether_header)); in headless_clone_create()
|
| H A D | dlil.c | 5425 struct ether_header *eh; in ifnet_enqueue_ifclassq() 5429 if (__improbable(len < sizeof(struct ether_header))) { in ifnet_enqueue_ifclassq() 5432 sizeof(struct ether_header))) == NULL) { in ifnet_enqueue_ifclassq() 5436 eh = (struct ether_header *)mbuf_data(p->cp_mbuf); in ifnet_enqueue_ifclassq() 5439 hlen = sizeof(struct ether_header) + in ifnet_enqueue_ifclassq() 5447 hlen = sizeof(struct ether_header) + in ifnet_enqueue_ifclassq() 5464 eh = (struct ether_header *)mbuf_data( in ifnet_enqueue_ifclassq() 5520 struct ether_header *eh; in ifnet_enqueue_ifclassq() 5525 if (__improbable(pktlen < sizeof(struct ether_header))) { in ifnet_enqueue_ifclassq() 5530 eh = (struct ether_header *)(void *)baddr; in ifnet_enqueue_ifclassq() [all …]
|
| H A D | pfvar.h | 1433 struct ether_header *eh; 2213 struct ether_header *, struct ip_fw_args *); 2217 struct ether_header *, struct ip_fw_args *);
|
| H A D | if_redirect.c | 877 ifnet_set_hdrlen(ifp, sizeof(struct ether_header)); in redirect_netif_prepare() 1227 bpfattach(ifp, DLT_EN10MB, sizeof(struct ether_header)); in redirect_clone_create()
|
| H A D | if_fake.c | 3131 ifnet_set_hdrlen(ifp, sizeof(struct ether_header)); in feth_ifnet_set_attrs() 3327 bpfattach(ifp, DLT_EN10MB, sizeof(struct ether_header)); in feth_clone_create() 3503 sizeof(struct ether_header)); in feth_output_common()
|
| H A D | pf.c | 232 u_int16_t, struct ether_header *, struct ifnet *); 329 static int pf_test6(int, struct ifnet *, pbuf_t **, struct ether_header *, 333 struct ether_header *, struct ip_fw_args *); 2687 u_int16_t rtag, struct ether_header *eh, struct ifnet *ifp) in pf_send_tcp() 9690 struct ether_header *eh, struct ip_fw_args *fwa) in pf_test_mbuf() 9713 struct ether_header *eh, struct ip_fw_args *fwa) in pf_test() 10288 struct ether_header *eh, struct ip_fw_args *fwa) in pf_test6_mbuf() 10311 struct ether_header *eh, struct ip_fw_args *fwa) in pf_test6()
|
| H A D | if_vlan.c | 1031 bpfattach(ifp, DLT_EN10MB, sizeof(struct ether_header)); in vlan_clone_create()
|
| /xnu-10002.1.13/bsd/netinet/ |
| H A D | ip_flowid.h | 95 struct ether_header *fwa_eh; /* for bridged packets */
|
| H A D | ip_compat.h | 708 typedef struct ether_header ether_header_t;
|
| /xnu-10002.1.13/tests/ |
| H A D | bpflib.c | 213 sizeof(struct ether_arp) + sizeof(struct ether_header)) in main()
|
| /xnu-10002.1.13/bsd/skywalk/nexus/flowswitch/ |
| H A D | fsw_ethernet.c | 534 const struct ether_header *eh; in fsw_ethernet_demux() 541 eh = (struct ether_header *)(void *)baddr; in fsw_ethernet_demux()
|
| /xnu-10002.1.13/bsd/skywalk/nexus/flowswitch/flow/ |
| H A D | flow_var.h | 220 struct ether_header _eth;
|