Searched refs:orig_eth (Results 1 - 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/samples/bpf/ |
H A D | xdp_adjust_tail_kern.c | 48 static __always_inline void swap_mac(void *data, struct ethhdr *orig_eth) in swap_mac() argument 53 memcpy(eth->h_source, orig_eth->h_dest, ETH_ALEN); in swap_mac() 54 memcpy(eth->h_dest, orig_eth->h_source, ETH_ALEN); in swap_mac() 55 eth->h_proto = orig_eth->h_proto; in swap_mac() 84 struct ethhdr *orig_eth; in send_icmp4_too_big() local 88 orig_eth = data + headroom; in send_icmp4_too_big() 89 swap_mac(data, orig_eth); in send_icmp4_too_big()
|
/kernel/linux/linux-6.6/samples/bpf/ |
H A D | xdp_adjust_tail_kern.c | 48 static __always_inline void swap_mac(void *data, struct ethhdr *orig_eth) in swap_mac() argument 53 memcpy(eth->h_source, orig_eth->h_dest, ETH_ALEN); in swap_mac() 54 memcpy(eth->h_dest, orig_eth->h_source, ETH_ALEN); in swap_mac() 55 eth->h_proto = orig_eth->h_proto; in swap_mac() 84 struct ethhdr *orig_eth; in send_icmp4_too_big() local 88 orig_eth = data + headroom; in send_icmp4_too_big() 89 swap_mac(data, orig_eth); in send_icmp4_too_big()
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/ |
H A D | test_xdp_vlan.c | 245 struct ethhdr *orig_eth = data; in xdp_prognum3() local 248 if (!parse_eth_frame(orig_eth, data_end, &pkt)) in xdp_prognum3()
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/ |
H A D | test_xdp_vlan.c | 232 struct ethhdr *orig_eth = data; in xdp_prognum3() local 235 if (!parse_eth_frame(orig_eth, data_end, &pkt)) in xdp_prognum3()
|
Completed in 3 milliseconds