orig_eth 45 samples/bpf/xdp_adjust_tail_kern.c static __always_inline void swap_mac(void *data, struct ethhdr *orig_eth) orig_eth 50 samples/bpf/xdp_adjust_tail_kern.c memcpy(eth->h_source, orig_eth->h_dest, ETH_ALEN); orig_eth 51 samples/bpf/xdp_adjust_tail_kern.c memcpy(eth->h_dest, orig_eth->h_source, ETH_ALEN); orig_eth 52 samples/bpf/xdp_adjust_tail_kern.c eth->h_proto = orig_eth->h_proto; orig_eth 81 samples/bpf/xdp_adjust_tail_kern.c struct ethhdr *orig_eth; orig_eth 85 samples/bpf/xdp_adjust_tail_kern.c orig_eth = data + headroom; orig_eth 86 samples/bpf/xdp_adjust_tail_kern.c swap_mac(data, orig_eth); orig_eth 245 tools/testing/selftests/bpf/progs/test_xdp_vlan.c struct ethhdr *orig_eth = data; orig_eth 248 tools/testing/selftests/bpf/progs/test_xdp_vlan.c if (!parse_eth_frame(orig_eth, data_end, &pkt))