Searched refs:set_ethhdr (Results 1 - 4 of 4) sorted by relevance

/linux-master/samples/bpf/
H A Dxdp_tx_iptunnel_kern.c67 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 Dtest_xdp.c69 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 Dtest_xdp_loop.c65 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 Dtest_xdp_dynptr.c67 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