Home
last modified time | relevance | path

Searched refs:bpf_ntohl (Results 1 – 11 of 11) sorted by relevance

/Linux-v4.19/samples/bpf/
Dtcp_synrto_kern.c40 if (bpf_ntohl(skops->remote_port) != 55601 && in bpf_synrto()
61 (bpf_ntohl(skops->local_ip6[1]) & 0xfff00000) == in bpf_synrto()
62 (bpf_ntohl(skops->remote_ip6[1]) & 0xfff00000)) in bpf_synrto()
Dtcp_rwnd_kern.c40 if (bpf_ntohl(skops->remote_port) != in bpf_rwnd()
61 (bpf_ntohl(skops->local_ip6[1]) & 0xfffff000) != in bpf_rwnd()
62 (bpf_ntohl(skops->remote_ip6[1]) & 0xfffff000)) in bpf_rwnd()
Dtcp_cong_kern.c41 if (bpf_ntohl(skops->remote_port) != 55601 && in bpf_cong()
59 (bpf_ntohl(skops->local_ip6[1]) & 0xfff00000) == in bpf_cong()
60 (bpf_ntohl(skops->remote_ip6[1]) & 0xfff00000)) { in bpf_cong()
Dtcp_clamp_kern.c44 if (bpf_ntohl(skops->remote_port) != 55601 && skops->local_port != 55601) { in bpf_clamp()
61 (bpf_ntohl(skops->local_ip6[1]) & 0xfff00000) == in bpf_clamp()
62 (bpf_ntohl(skops->remote_ip6[1]) & 0xfff00000)) { in bpf_clamp()
Dtcp_basertt_kern.c51 (bpf_ntohl(skops->local_ip6[1]) & 0xfff00000) == in bpf_basertt()
52 (bpf_ntohl(skops->remote_ip6[1]) & 0xfff00000)) { in bpf_basertt()
Dtcp_bufs_kern.c43 if (bpf_ntohl(skops->remote_port) != 55601 && in bpf_bufs()
Dtcp_iw_kern.c44 if (bpf_ntohl(skops->remote_port) != 55601 && in bpf_iw()
/Linux-v4.19/tools/testing/selftests/bpf/
Dtest_tunnel_kern.c199 index = bpf_ntohl(md.u.index); in _erspan_get_tunnel()
207 bpf_ntohl(md.u.md2.timestamp)); in _erspan_get_tunnel()
285 index = bpf_ntohl(md.u.index); in _ip4ip6erspan_get_tunnel()
293 bpf_ntohl(md.u.md2.timestamp)); in _ip4ip6erspan_get_tunnel()
708 bpf_trace_printk(fmt, sizeof(fmt), x.reqid, bpf_ntohl(x.spi), in _xfrm_get_state()
709 bpf_ntohl(x.remote_ipv4)); in _xfrm_get_state()
Dtest_sockmap_kern.h154 lport, bpf_ntohl(rport), err); in bpf_sockmap()
161 if (bpf_ntohl(rport) == 10001) { in bpf_sockmap()
171 lport, bpf_ntohl(rport), err); in bpf_sockmap()
Dtest_lwt_seg6local.c24 #define ntohll(x) ((bpf_ntohl(1)) == 1 ? (x) : ((uint64_t)bpf_ntohl((x) & \
25 0xFFFFFFFF) << 32) | bpf_ntohl((x) >> 32))
Dbpf_endian.h53 #define bpf_ntohl(x) \ macro