Searched refs:bpf_htons (Results 1 – 3 of 3) sorted by relevance
25 #define bpf_htons(x) __builtin_bswap16(x) macro29 #define bpf_htons(x) (x) macro
92 if (h_proto == bpf_htons(ETH_P_8021Q) || in xdp_router_ipv4_prog()93 h_proto == bpf_htons(ETH_P_8021AD)) { in xdp_router_ipv4_prog()
171 ehdr.h_proto = bpf_htons(ETH_P_IP); in __do_push_ll_and_redirect()
Completed in 5 milliseconds