Searched refs:NET_ETH_HDR (Results 1 – 18 of 18) sorted by relevance
46 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()
50 struct net_eth_hdr *hdr = NET_ETH_HDR(pkt); in dsa_ll_addr_switch_cb()
168 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()
68 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()
185 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()
49 ((long)GPTP_HDR(pkt) - (long)NET_ETH_HDR(pkt))
239 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()
687 (uint8_t *) &NET_ETH_HDR(pkt)->dst.addr; in net_arp_update()
208 hdr = NET_ETH_HDR(pkt); in zpacket_set_source_addr()
142 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()
658 if (ntohs(NET_ETH_HDR(pkt)->type) != NET_ETH_PTYPE_PTP) { in eth_get_ptp_data()
59 #define NET_ETH_HDR(pkt) ((struct net_eth_hdr *)net_pkt_data(pkt)) macro
838 struct net_eth_hdr *hdr = NET_ETH_HDR(pkt); in dsa_ksz8xxx_xmit_pkt()
306 struct net_eth_hdr *hdr = NET_ETH_HDR(pkt); in eth_xmc4xxx_send()
303 if (ntohs(NET_ETH_HDR(pkt)->type) != NET_ETH_PTYPE_PTP) { in eth_is_ptp_pkt()
148 (struct net_eth_vlan_hdr *)NET_ETH_HDR(pkt); in eth_tx()
1656 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()
326 hdr = NET_ETH_HDR(pkt); in is_eapol()