Searched refs:set_ethhdr (Results 1 - 4 of 4) sorted by relevance
/linux-master/samples/bpf/ |
H A D | xdp_tx_iptunnel_kern.c | 67 static __always_inline void set_ethhdr(struct ethhdr *new_eth, function 127 set_ethhdr(new_eth, old_eth, tnl, htons(ETH_P_IP)); 199 set_ethhdr(new_eth, old_eth, tnl, htons(ETH_P_IPV6));
|
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | test_xdp.c | 69 static __always_inline void set_ethhdr(struct ethhdr *new_eth, function 127 set_ethhdr(new_eth, old_eth, tnl, bpf_htons(ETH_P_IP)); 196 set_ethhdr(new_eth, old_eth, tnl, bpf_htons(ETH_P_IPV6));
|
H A D | test_xdp_loop.c | 65 static __always_inline void set_ethhdr(struct ethhdr *new_eth, function 123 set_ethhdr(new_eth, old_eth, tnl, bpf_htons(ETH_P_IP)); 192 set_ethhdr(new_eth, old_eth, tnl, bpf_htons(ETH_P_IPV6));
|
H A D | test_xdp_dynptr.c | 67 static __always_inline void set_ethhdr(struct ethhdr *new_eth, function 132 set_ethhdr(new_eth, old_eth, tnl, bpf_htons(ETH_P_IP)); 211 set_ethhdr(new_eth, old_eth, tnl, bpf_htons(ETH_P_IPV6));
|
Completed in 109 milliseconds