Home
last modified time | relevance | path

Searched refs:eth_hdr (Results 1 – 1 of 1) sorted by relevance

/xnu-12377.1.9/tests/skywalk/
H A Dskt_netifdirect.c195 struct ether_header eth_hdr; in skt_netif_ipv6_udp_frame_populate() local
216 bcopy(src_mac->octet, eth_hdr.ether_shost, ETHER_ADDR_LEN); in skt_netif_ipv6_udp_frame_populate()
217 bcopy(dst_mac->octet, eth_hdr.ether_dhost, ETHER_ADDR_LEN); in skt_netif_ipv6_udp_frame_populate()
218 eth_hdr.ether_type = htons(ETHERTYPE_IPV6); in skt_netif_ipv6_udp_frame_populate()
219 bcopy(&eth_hdr, baddr, sizeof(eth_hdr)); in skt_netif_ipv6_udp_frame_populate()
220 baddr += sizeof(eth_hdr); in skt_netif_ipv6_udp_frame_populate()
221 error = os_packet_set_link_header_length(ph, sizeof(eth_hdr)); in skt_netif_ipv6_udp_frame_populate()
260 struct ether_header *eth_hdr; in skt_netif_ipv6_udp_frame_process() local
271 assert(os_packet_get_link_header_length(ph) == sizeof(*eth_hdr)); in skt_netif_ipv6_udp_frame_process()
272 eth_hdr = (struct ether_header *)buf; in skt_netif_ipv6_udp_frame_process()
[all …]