Home
last modified time | relevance | path

Searched refs:set_ethhdr (Results 1 – 2 of 2) sorted by relevance

/tools/testing/selftests/bpf/progs/
Dtest_xdp.c70 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()
Dtest_xdp_loop.c66 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()