Searched refs:eth_hdr (Results 1 – 1 of 1) sorted by relevance
195 struct ether_header eth_hdr; in skt_netif_ipv6_udp_frame_populate() local216 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(ð_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() local271 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 …]