Home
last modified time | relevance | path

Searched refs:__bpf_constant_htonl (Results 1 – 5 of 5) sorted by relevance

/linux/tools/lib/bpf/
H A Dbpf_endian.h58 # define __bpf_constant_htonl(x) ___bpf_swab32(x) macro
71 # define __bpf_constant_htonl(x) (x) macro
88 __bpf_constant_htonl(x) : __bpf_htonl(x))
/linux/tools/testing/selftests/bpf/progs/
H A Dtest_tc_neigh.c94 redirect = is_remote_ep_v4(skb, __bpf_constant_htonl(ip4_src)); in tc_dst()
119 redirect = is_remote_ep_v4(skb, __bpf_constant_htonl(ip4_dst)); in tc_src()
H A Dtest_tc_tunnel.c49 static const __u32 mpls_label = __bpf_constant_htonl(1000 << 12 |
132 iph_inner.saddr = __bpf_constant_htonl(saddr); in __encap_ipv4()
133 iph_inner.daddr = __bpf_constant_htonl(daddr); in __encap_ipv4()
H A Dbpf_flow.c86 #define IPV6_FLOWLABEL_MASK __bpf_constant_htonl(0x000FFFFF)
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dflow_dissector.c320 .flow_label = __bpf_constant_htonl(0xbeeef),
342 .flow_label = __bpf_constant_htonl(0xbeeef),
435 .iph.saddr = __bpf_constant_htonl(FLOW_CONTINUE_SADDR),