| /xnu-11417.121.6/bsd/net/ |
| H A D | ether_if_module.c | 371 struct ether_header * eh_p; in ether_remove_vlan_encapsulation() 373 struct ether_header new_eh; in ether_remove_vlan_encapsulation() 413 eh_p = (struct ether_header *)(void *) in ether_remove_vlan_encapsulation() 451 struct ether_header * __single eh = (struct ether_header *)(void *)frame_header; in ether_demux() 632 struct ether_header *eh; in ether_frameout_extended() 682 eh = mtod(*m, struct ether_header *); in ether_frameout_extended()
|
| H A D | ether_inet_pr_module.c | 185 struct ether_header *eh __single = mbuf_pkthdr_header(m); in ether_inet_input() 244 const struct ether_header *eh; in ether_inet_pre_output() 275 eh = (const struct ether_header *)__DECONST(void *, dst_netaddr->sa_data); in ether_inet_pre_output() 421 struct ether_header *eh; in ether_inet_arp() 462 eh = mtod(m, struct ether_header *); in ether_inet_arp()
|
| H A D | if_bridge.c | 656 struct ether_header *, mblist, bool); 1221 static void brlog_ether_header(struct ether_header *); 1413 brlog_ether_header(struct ether_header *eh) in brlog_ether_header() 1704 error = bpf_attach(ifp, DLT_EN10MB, sizeof(struct ether_header), in bridge_clone_create() 2315 struct ether_header * eh_p; in bridge_iff_input() 2339 brlog_ether_header((struct ether_header *) in bridge_iff_input() 2352 if (mbuf_pkthdr_len(m) < sizeof(struct ether_header)) { in bridge_iff_input() 2355 mbuf_pkthdr_len(m), sizeof(struct ether_header)); in bridge_iff_input() 2358 if (mbuf_len(m) < sizeof(struct ether_header)) { in bridge_iff_input() 2359 error = mbuf_pullup(data, sizeof(struct ether_header)); in bridge_iff_input() [all …]
|
| H A D | ether_inet6_pr_module.c | 114 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 | if_bond.c | 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() [all …]
|
| H A D | ethernet.h | 91 typedef struct ether_header { struct
|
| H A D | bpf.c | 331 bpf_set_bcast_mcast(mbuf_t m, struct ether_header * eh) in bpf_set_bcast_mcast() 384 hlen = sizeof(struct ether_header); in bpf_movein() 511 struct ether_header * eh; in bpf_movein() 513 eh = (struct ether_header *)(void *)sockp->sa_data; in bpf_movein() 536 struct ether_header *eh; in bpf_movein() 538 eh = mtod(m, struct ether_header *); in bpf_movein() 3886 uint32_t ethlen = sizeof(struct ether_header); in get_ether_trunc_len() 3891 struct ether_header eh = {}; in get_ether_trunc_len() 3892 err = bpf_copydata(pkt, off, sizeof(struct ether_header), &eh); in get_ether_trunc_len() 3902 ethlen += get_ip_trunc_len(pkt, off + sizeof(struct ether_header), in get_ether_trunc_len() [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 | if_fake.c | 637 get_bpf_header(mbuf_t m, struct ether_header * eh_p, in get_bpf_header() 644 header = (struct ether_header *__bidi_indexable)eh_p; in get_bpf_header() 651 offsetof(struct ether_header, ether_type)); /* dst+src ether */ in get_bpf_header() 666 fake_bpf_tap_common(ifnet_t ifp, mbuf_t m, struct ether_header * eh_p, in fake_bpf_tap_common() 678 fake_bpf_tap_in(ifnet_t ifp, mbuf_t m, struct ether_header * eh_p) in fake_bpf_tap_in() 685 fake_bpf_tap_out(ifnet_t ifp, mbuf_t m, struct ether_header * eh_p) in fake_bpf_tap_out() 3432 ifnet_set_hdrlen(ifp, sizeof(struct ether_header)); in feth_ifnet_set_attrs() 3681 bpfattach(ifp, DLT_EN10MB, sizeof(struct ether_header)); in feth_clone_create()
|
| H A D | if_vlan.c | 957 bpfattach(ifp, DLT_EN10MB, sizeof(struct ether_header)); in vlan_clone_create() 1130 struct ether_header * eh_p; in vlan_input_packet_list() 1136 eh_p = (struct ether_header *)scan->m_pkthdr.pkt_hdr; in vlan_input_packet_list()
|
| H A D | dlil.h | 148 struct ether_header;
|
| H A D | dlil_input.c | 884 struct ether_header eh; in dlil_input_packet_list_common() 885 struct ether_header *ehp = NULL; in dlil_input_packet_list_common() 888 ehp = (struct ether_header *)(void *)frame_header; in dlil_input_packet_list_common()
|
| H A D | dlil.c | 3053 struct ether_header *eh; in ifnet_enqueue_ifclassq() 3057 if (__improbable(len < sizeof(struct ether_header))) { in ifnet_enqueue_ifclassq() 3060 sizeof(struct ether_header))) == NULL) { in ifnet_enqueue_ifclassq() 3064 eh = mtod(p->cp_mbuf, struct ether_header *); in ifnet_enqueue_ifclassq() 3067 hlen = sizeof(struct ether_header) + in ifnet_enqueue_ifclassq() 3075 hlen = sizeof(struct ether_header) + in ifnet_enqueue_ifclassq() 3092 eh = mtod(p->cp_mbuf, struct ether_header *); in ifnet_enqueue_ifclassq() 3147 struct ether_header *eh; in ifnet_enqueue_ifclassq() 3152 if (__improbable(pktlen < sizeof(struct ether_header))) { in ifnet_enqueue_ifclassq() 3157 eh = (struct ether_header *)(void *)baddr; in ifnet_enqueue_ifclassq() [all …]
|
| H A D | if_headless.c | 1088 ifnet_set_hdrlen(ifp, sizeof(struct ether_header)); in headless_ifnet_set_attrs() 1203 bpfattach(ifp, DLT_EN10MB, sizeof(struct ether_header)); in headless_clone_create()
|
| H A D | pfvar.h | 1444 struct ether_header *eh; 2286 struct ether_header *, struct ip_fw_args *); 2290 struct ether_header *, struct ip_fw_args *);
|
| H A D | if_redirect.c | 928 ifnet_set_hdrlen(ifp, sizeof(struct ether_header)); in redirect_netif_prepare() 1282 bpfattach(ifp, DLT_EN10MB, sizeof(struct ether_header)); in redirect_clone_create()
|
| 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 *); 2668 u_int16_t rtag, struct ether_header *eh, struct ifnet *ifp) in pf_send_tcp() 9671 struct ether_header *eh, struct ip_fw_args *fwa) in pf_test_mbuf() 9694 struct ether_header *eh, struct ip_fw_args *fwa) in pf_test() 10269 struct ether_header *eh, struct ip_fw_args *fwa) in pf_test6_mbuf() 10292 struct ether_header *eh, struct ip_fw_args *fwa) in pf_test6()
|
| /xnu-11417.121.6/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-11417.121.6/tests/skywalk/ |
| H A D | skt_netifdirect.c | 99 (sizeof(struct ether_header) + sizeof(struct ip6_hdr) + \ 195 struct ether_header eth_hdr; in skt_netif_ipv6_udp_frame_populate() 260 struct ether_header *eth_hdr; in skt_netif_ipv6_udp_frame_process() 272 eth_hdr = (struct ether_header *)buf; in skt_netif_ipv6_udp_frame_process()
|
| /xnu-11417.121.6/tests/ |
| H A D | bpflib.c | 257 sizeof(struct ether_arp) + sizeof(struct ether_header)) in main()
|
| /xnu-11417.121.6/bsd/skywalk/nexus/flowswitch/ |
| H A D | fsw_ethernet.c | 552 const struct ether_header *eh; in fsw_ethernet_demux() 559 eh = (struct ether_header *)(void *)baddr; in fsw_ethernet_demux()
|
| /xnu-11417.121.6/bsd/skywalk/nexus/flowswitch/flow/ |
| H A D | flow_var.h | 221 struct ether_header _eth;
|