Home
last modified time | relevance | path

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

/linux-6.1.9/tools/lib/bpf/
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-6.1.9/tools/testing/selftests/bpf/progs/
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()
Dtest_tc_tunnel.c42 static const __u32 mpls_label = __bpf_constant_htonl(1000 << 12 |
125 iph_inner.saddr = __bpf_constant_htonl(saddr); in __encap_ipv4()
126 iph_inner.daddr = __bpf_constant_htonl(daddr); in __encap_ipv4()
Dbpf_flow.c86 #define IPV6_FLOWLABEL_MASK __bpf_constant_htonl(0x000FFFFF)
/linux-6.1.9/tools/testing/selftests/bpf/prog_tests/
Dflow_dissector.c321 .flow_label = __bpf_constant_htonl(0xbeeef),
343 .flow_label = __bpf_constant_htonl(0xbeeef),
412 .iph.saddr = __bpf_constant_htonl(FLOW_CONTINUE_SADDR),