Home
last modified time | relevance | path

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

/Zephyr-latest/subsys/net/pkt_filter/
Dethernet.c46 struct net_eth_hdr *eth_hdr = NET_ETH_HDR(pkt); in npf_eth_src_addr_match()
58 struct net_eth_hdr *eth_hdr = NET_ETH_HDR(pkt); in npf_eth_dst_addr_match()
72 struct net_eth_hdr *eth_hdr = NET_ETH_HDR(pkt); in npf_eth_type_match()
/Zephyr-latest/samples/net/dsa/src/
Dmain.c50 struct net_eth_hdr *hdr = NET_ETH_HDR(pkt); in dsa_ll_addr_switch_cb()
/Zephyr-latest/drivers/net/
Dslip.c168 struct net_eth_hdr *hdr = NET_ETH_HDR(pkt); in process_msg()
172 (struct net_eth_vlan_hdr *)NET_ETH_HDR(pkt); in process_msg()
/Zephyr-latest/tests/net/bridge/src/
Dmain.c68 struct net_eth_hdr *eth_hdr = NET_ETH_HDR(pkt); in eth_fake_send()
353 hdr = NET_ETH_HDR(pkt); in test_recv_with_bridge()
/Zephyr-latest/tests/net/arp/src/
Dmain.c185 eth = NET_ETH_HDR(pkt); in prepare_arp_reply()
235 eth_req = NET_ETH_HDR(req); in prepare_arp_request()
236 eth = NET_ETH_HDR(pkt); in prepare_arp_request()
/Zephyr-latest/subsys/net/l2/ethernet/gptp/
Dgptp_messages.h49 ((long)GPTP_HDR(pkt) - (long)NET_ETH_HDR(pkt))
/Zephyr-latest/subsys/net/l2/ethernet/
Dethernet.c239 struct net_eth_hdr *hdr = NET_ETH_HDR(pkt); in ethernet_recv()
282 (struct net_eth_vlan_hdr *)NET_ETH_HDR(pkt); in ethernet_recv()
648 struct net_eth_hdr *hdr = NET_ETH_HDR(pkt); in ethernet_update_tx_stats()
Darp.c687 (uint8_t *) &NET_ETH_HDR(pkt)->dst.addr; in net_arp_update()
/Zephyr-latest/subsys/net/lib/sockets/
Dsockets_packet.c208 hdr = NET_ETH_HDR(pkt); in zpacket_set_source_addr()
/Zephyr-latest/drivers/ethernet/nxp_enet/
Deth_nxp_enet.c142 struct net_eth_vlan_hdr *hdr_vlan = (struct net_eth_vlan_hdr *)NET_ETH_HDR(pkt); in eth_get_ptp_data()
149 pkt_is_ptp = ntohs(NET_ETH_HDR(pkt)->type) == NET_ETH_PTYPE_PTP; in eth_get_ptp_data()
Deth_mcux.c658 if (ntohs(NET_ETH_HDR(pkt)->type) != NET_ETH_PTYPE_PTP) { in eth_get_ptp_data()
/Zephyr-latest/include/zephyr/net/
Dethernet.h59 #define NET_ETH_HDR(pkt) ((struct net_eth_hdr *)net_pkt_data(pkt)) macro
/Zephyr-latest/drivers/ethernet/
Ddsa_ksz8xxx.c838 struct net_eth_hdr *hdr = NET_ETH_HDR(pkt); in dsa_ksz8xxx_xmit_pkt()
Deth_xmc4xxx.c306 struct net_eth_hdr *hdr = NET_ETH_HDR(pkt); in eth_xmc4xxx_send()
Deth_stm32_hal.c303 if (ntohs(NET_ETH_HDR(pkt)->type) != NET_ETH_PTYPE_PTP) { in eth_is_ptp_pkt()
/Zephyr-latest/tests/net/vlan/src/
Dmain.c148 (struct net_eth_vlan_hdr *)NET_ETH_HDR(pkt); in eth_tx()
/Zephyr-latest/drivers/wifi/nxp/
Dnxp_wifi_drv.c1656 struct net_eth_hdr *hdr = NET_ETH_HDR(pkt); in nxp_wifi_send()
1689 struct net_eth_hdr *hdr = NET_ETH_HDR(pkt); in nxp_wifi_recv()
/Zephyr-latest/drivers/wifi/nrf_wifi/src/
Dnet_if.c326 hdr = NET_ETH_HDR(pkt); in is_eapol()