Lines Matching refs:eth
3337 struct ethhdr *eth; in skb_network_protocol() local
3342 eth = (struct ethhdr *)skb->data; in skb_network_protocol()
3343 type = eth->h_proto; in skb_network_protocol()
4739 struct ethhdr *eth; in bpf_prog_run_generic_xdp() local
4760 eth = (struct ethhdr *)xdp->data; in bpf_prog_run_generic_xdp()
4761 orig_host = ether_addr_equal_64bits(eth->h_dest, skb->dev->dev_addr); in bpf_prog_run_generic_xdp()
4762 orig_bcast = is_multicast_ether_addr_64bits(eth->h_dest); in bpf_prog_run_generic_xdp()
4763 orig_eth_type = eth->h_proto; in bpf_prog_run_generic_xdp()
4787 eth = (struct ethhdr *)xdp->data; in bpf_prog_run_generic_xdp()
4788 if ((orig_eth_type != eth->h_proto) || in bpf_prog_run_generic_xdp()
4789 (orig_host != ether_addr_equal_64bits(eth->h_dest, in bpf_prog_run_generic_xdp()
4791 (orig_bcast != is_multicast_ether_addr_64bits(eth->h_dest))) { in bpf_prog_run_generic_xdp()
6346 const struct ethhdr *eth; in napi_frags_skb() local
6347 unsigned int hlen = sizeof(*eth); in napi_frags_skb()
6355 eth = skb_gro_header_slow(skb, hlen, 0); in napi_frags_skb()
6356 if (unlikely(!eth)) { in napi_frags_skb()
6363 eth = (const struct ethhdr *)skb->data; in napi_frags_skb()
6375 skb->protocol = eth->h_proto; in napi_frags_skb()