Home
last modified time | relevance | path

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

/linux/tools/lib/bpf/
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/
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()
A 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()
A Dbpf_flow.c84 #define IPV6_FLOWLABEL_MASK __bpf_constant_htonl(0x000FFFFF)
/linux/tools/testing/selftests/bpf/prog_tests/
A Dflow_dissector.c309 .flow_label = __bpf_constant_htonl(0xbeeef),
330 .flow_label = __bpf_constant_htonl(0xbeeef),

Completed in 8 milliseconds