Searched refs:hdr_vlan (Results 1 – 9 of 9) sorted by relevance
/Zephyr-Core-3.4.0/subsys/net/l2/ethernet/ |
D | ethernet.c | 223 struct net_eth_vlan_hdr *hdr_vlan = in ethernet_recv() local 226 net_pkt_set_vlan_tci(pkt, ntohs(hdr_vlan->vlan.tci)); in ethernet_recv() 227 type = ntohs(hdr_vlan->type); in ethernet_recv() 521 struct net_eth_vlan_hdr *hdr_vlan; in ethernet_fill_header() local 523 hdr_vlan = (struct net_eth_vlan_hdr *)(hdr_frag->data); in ethernet_fill_header() 526 (!ethernet_fill_in_dst_on_ipv4_mcast(pkt, &hdr_vlan->dst) && in ethernet_fill_header() 527 !ethernet_fill_in_dst_on_ipv6_mcast(pkt, &hdr_vlan->dst))) { in ethernet_fill_header() 528 memcpy(&hdr_vlan->dst, net_pkt_lladdr_dst(pkt)->addr, in ethernet_fill_header() 532 memcpy(&hdr_vlan->src, net_pkt_lladdr_src(pkt)->addr, in ethernet_fill_header() 535 hdr_vlan->type = ptype; in ethernet_fill_header() [all …]
|
/Zephyr-Core-3.4.0/drivers/ethernet/ |
D | eth_nxp_s32_netc.c | 206 struct net_eth_vlan_hdr *hdr_vlan; in nxp_s32_eth_get_pkt() local 229 hdr_vlan = (struct net_eth_vlan_hdr *)NET_ETH_HDR(pkt); in nxp_s32_eth_get_pkt() 230 net_pkt_set_vlan_tci(pkt, ntohs(hdr_vlan->vlan.tci)); in nxp_s32_eth_get_pkt()
|
D | eth_native_posix.c | 100 struct net_eth_vlan_hdr *hdr_vlan; in check_gptp_msg() local 102 hdr_vlan = (struct net_eth_vlan_hdr *)msg_start; in check_gptp_msg() 103 if (ntohs(hdr_vlan->type) != NET_ETH_PTYPE_PTP) { in check_gptp_msg()
|
D | eth_e1000.c | 204 struct net_eth_vlan_hdr *hdr_vlan = in e1000_isr() local 209 pkt, ntohs(hdr_vlan->vlan.tci)); in e1000_isr()
|
D | eth_mcux.c | 673 struct net_eth_vlan_hdr *hdr_vlan; in eth_get_ptp_data() local 679 hdr_vlan = (struct net_eth_vlan_hdr *)NET_ETH_HDR(pkt); in eth_get_ptp_data() 682 if (ntohs(hdr_vlan->type) != NET_ETH_PTYPE_PTP) { in eth_get_ptp_data() 828 struct net_eth_vlan_hdr *hdr_vlan = in eth_rx() local 831 net_pkt_set_vlan_tci(pkt, ntohs(hdr_vlan->vlan.tci)); in eth_rx()
|
D | eth_stm32_hal.c | 285 struct net_eth_vlan_hdr *hdr_vlan; in eth_is_ptp_pkt() local 290 hdr_vlan = (struct net_eth_vlan_hdr *)NET_ETH_HDR(pkt); in eth_is_ptp_pkt() 292 if (ntohs(hdr_vlan->type) != NET_ETH_PTYPE_PTP) { in eth_is_ptp_pkt() 826 struct net_eth_vlan_hdr *hdr_vlan = in eth_rx() local 829 net_pkt_set_vlan_tci(pkt, ntohs(hdr_vlan->vlan.tci)); in eth_rx()
|
D | eth_sam_gmac.c | 549 struct net_eth_vlan_hdr *hdr_vlan; in check_gptp_msg() local 551 hdr_vlan = (struct net_eth_vlan_hdr *)msg_start; in check_gptp_msg() 552 if (ntohs(hdr_vlan->type) != NET_ETH_PTYPE_PTP) { in check_gptp_msg() 1387 struct net_eth_vlan_hdr *hdr_vlan = in eth_rx() local 1392 ntohs(hdr_vlan->vlan.tci)); in eth_rx()
|
D | eth_enc28j60.c | 612 struct net_eth_vlan_hdr *hdr_vlan = in enc28j60_read_packet() local 615 net_pkt_set_vlan_tci(pkt, ntohs(hdr_vlan->vlan.tci)); in enc28j60_read_packet()
|
/Zephyr-Core-3.4.0/drivers/net/ |
D | slip.c | 171 struct net_eth_vlan_hdr *hdr_vlan = in process_msg() local 174 net_pkt_set_vlan_tci(pkt, ntohs(hdr_vlan->vlan.tci)); in process_msg()
|