Searched refs:hdr_vlan (Results 1 – 3 of 3) sorted by relevance
281 struct net_eth_vlan_hdr *hdr_vlan = in ethernet_recv() local285 net_pkt_set_vlan_tci(pkt, ntohs(hdr_vlan->vlan.tci)); in ethernet_recv()286 type = ntohs(hdr_vlan->type); in ethernet_recv()587 struct net_eth_vlan_hdr *hdr_vlan; in ethernet_fill_header() local594 hdr_vlan = (struct net_eth_vlan_hdr *)(hdr_frag->data); in ethernet_fill_header()597 (!ethernet_fill_in_dst_on_ipv4_mcast(pkt, &hdr_vlan->dst) && in ethernet_fill_header()598 !ethernet_fill_in_dst_on_ipv6_mcast(pkt, &hdr_vlan->dst))) { in ethernet_fill_header()599 memcpy(&hdr_vlan->dst, net_pkt_lladdr_dst(pkt)->addr, in ethernet_fill_header()603 memcpy(&hdr_vlan->src, net_pkt_lladdr_src(pkt)->addr, in ethernet_fill_header()606 hdr_vlan->type = ptype; in ethernet_fill_header()[all …]
171 struct net_eth_vlan_hdr *hdr_vlan = in process_msg() local174 net_pkt_set_vlan_tci(pkt, ntohs(hdr_vlan->vlan.tci)); in process_msg()
142 struct net_eth_vlan_hdr *hdr_vlan = (struct net_eth_vlan_hdr *)NET_ETH_HDR(pkt); in eth_get_ptp_data() local147 pkt_is_ptp = ntohs(hdr_vlan->type) == NET_ETH_PTYPE_PTP; in eth_get_ptp_data()