Searched refs:hdr_vlan (Results 1 – 3 of 3) sorted by relevance
274 struct net_eth_vlan_hdr *hdr_vlan = in ethernet_recv() local278 net_pkt_set_vlan_tci(pkt, ntohs(hdr_vlan->vlan.tci)); in ethernet_recv()279 type = ntohs(hdr_vlan->type); in ethernet_recv()533 struct net_eth_vlan_hdr *hdr_vlan; in ethernet_fill_header() local535 hdr_vlan = (struct net_eth_vlan_hdr *)(hdr_frag->data); in ethernet_fill_header()538 (!ethernet_fill_in_dst_on_ipv4_mcast(pkt, &hdr_vlan->dst) && in ethernet_fill_header()539 !ethernet_fill_in_dst_on_ipv6_mcast(pkt, &hdr_vlan->dst))) { in ethernet_fill_header()540 memcpy(&hdr_vlan->dst, net_pkt_lladdr_dst(pkt)->addr, in ethernet_fill_header()544 memcpy(&hdr_vlan->src, net_pkt_lladdr_src(pkt)->addr, in ethernet_fill_header()547 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()