| /xnu-11215/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() 629 struct ether_header *eh; in ether_frameout_extended() 681 eh = mtod(*m, struct ether_header *); in ether_frameout_extended()
|
| H A D | if_bridge.c | 4392 struct ether_header *eh; 5426 struct ether_header *eh; 5603 struct ether_header *eh; 5638 struct ether_header *eh; 5739 struct ether_header *eh; 7765 struct ether_header *eh; 7852 struct ether_header *eh; 8411 struct ether_header *eh; 8787 struct ether_header *eh; 10060 struct ether_header *eh; [all …]
|
| 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() 277 eh = (const struct ether_header *)__DECONST(void *, dst_netaddr->sa_data); in ether_inet_pre_output() 423 struct ether_header *eh; in ether_inet_arp() 464 eh = mtod(m, struct ether_header *); in ether_inet_arp()
|
| 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() 1328 ether_header_hash(struct ether_header * eh_p) in ether_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() 1836 struct ether_header * eh_p; 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() [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_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 | if_fake.c | 637 get_bpf_header(mbuf_t m, struct ether_header * 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() 3417 ifnet_set_hdrlen(ifp, sizeof(struct ether_header)); in feth_ifnet_set_attrs() 3666 bpfattach(ifp, DLT_EN10MB, sizeof(struct ether_header)); in feth_clone_create()
|
| 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 | 5009 struct ether_header *eh; in ifnet_enqueue_ifclassq() 5016 sizeof(struct ether_header))) == NULL) { in ifnet_enqueue_ifclassq() 5020 eh = mtod(p->cp_mbuf, struct ether_header *); in ifnet_enqueue_ifclassq() 5023 hlen = sizeof(struct ether_header) + in ifnet_enqueue_ifclassq() 5031 hlen = sizeof(struct ether_header) + in ifnet_enqueue_ifclassq() 5103 struct ether_header *eh; in ifnet_enqueue_ifclassq() 5113 eh = (struct ether_header *)(void *)baddr; in ifnet_enqueue_ifclassq() 5116 if (pktlen < sizeof(struct ether_header) + in ifnet_enqueue_ifclassq() 5124 if (pktlen < sizeof(struct ether_header) + in ifnet_enqueue_ifclassq() 6079 struct ether_header eh; in dlil_input_packet_list_common() [all …]
|
| 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-11215/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-11215/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-11215/tests/ |
| H A D | bpflib.c | 257 sizeof(struct ether_arp) + sizeof(struct ether_header)) in main()
|
| /xnu-11215/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-11215/bsd/skywalk/nexus/flowswitch/flow/ |
| H A D | flow_var.h | 221 struct ether_header _eth;
|