Searched refs:set_ethhdr (Results 1 - 7 of 7) sorted by relevance
/kernel/linux/linux-5.10/samples/bpf/ |
H A D | xdp_tx_iptunnel_kern.c | 67 static __always_inline void set_ethhdr(struct ethhdr *new_eth, in set_ethhdr() function 127 set_ethhdr(new_eth, old_eth, tnl, htons(ETH_P_IP)); in handle_ipv4() 199 set_ethhdr(new_eth, old_eth, tnl, htons(ETH_P_IPV6)); in handle_ipv6()
|
/kernel/linux/linux-6.6/samples/bpf/ |
H A D | xdp_tx_iptunnel_kern.c | 67 static __always_inline void set_ethhdr(struct ethhdr *new_eth, in set_ethhdr() function 127 set_ethhdr(new_eth, old_eth, tnl, htons(ETH_P_IP)); in handle_ipv4() 199 set_ethhdr(new_eth, old_eth, tnl, htons(ETH_P_IPV6)); in handle_ipv6()
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/ |
H A D | test_xdp.c | 70 static __always_inline void set_ethhdr(struct ethhdr *new_eth, in set_ethhdr() function 128 set_ethhdr(new_eth, old_eth, tnl, bpf_htons(ETH_P_IP)); in handle_ipv4() 197 set_ethhdr(new_eth, old_eth, tnl, bpf_htons(ETH_P_IPV6)); in handle_ipv6()
|
H A D | test_xdp_loop.c | 66 static __always_inline void set_ethhdr(struct ethhdr *new_eth, in set_ethhdr() function 124 set_ethhdr(new_eth, old_eth, tnl, bpf_htons(ETH_P_IP)); in handle_ipv4() 193 set_ethhdr(new_eth, old_eth, tnl, bpf_htons(ETH_P_IPV6)); in handle_ipv6()
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/ |
H A D | test_xdp.c | 68 static __always_inline void set_ethhdr(struct ethhdr *new_eth, in set_ethhdr() function 126 set_ethhdr(new_eth, old_eth, tnl, bpf_htons(ETH_P_IP)); in handle_ipv4() 195 set_ethhdr(new_eth, old_eth, tnl, bpf_htons(ETH_P_IPV6)); in handle_ipv6()
|
H A D | test_xdp_dynptr.c | 67 static __always_inline void set_ethhdr(struct ethhdr *new_eth, in set_ethhdr() function 132 set_ethhdr(new_eth, old_eth, tnl, bpf_htons(ETH_P_IP)); in handle_ipv4() 211 set_ethhdr(new_eth, old_eth, tnl, bpf_htons(ETH_P_IPV6)); in handle_ipv6()
|
H A D | test_xdp_loop.c | 64 static __always_inline void set_ethhdr(struct ethhdr *new_eth, in set_ethhdr() function 122 set_ethhdr(new_eth, old_eth, tnl, bpf_htons(ETH_P_IP)); in handle_ipv4() 191 set_ethhdr(new_eth, old_eth, tnl, bpf_htons(ETH_P_IPV6)); in handle_ipv6()
|
Completed in 3 milliseconds