Searched refs:bpf_ntohl (Results 1 – 14 of 14) sorted by relevance
/Linux-v5.10/samples/bpf/ |
D | tcp_synrto_kern.c | 33 if (bpf_ntohl(skops->remote_port) != 55601 && in bpf_synrto() 54 (bpf_ntohl(skops->local_ip6[1]) & 0xfff00000) == in bpf_synrto() 55 (bpf_ntohl(skops->remote_ip6[1]) & 0xfff00000)) in bpf_synrto()
|
D | tcp_rwnd_kern.c | 33 if (bpf_ntohl(skops->remote_port) != in bpf_rwnd() 54 (bpf_ntohl(skops->local_ip6[1]) & 0xfffff000) != in bpf_rwnd() 55 (bpf_ntohl(skops->remote_ip6[1]) & 0xfffff000)) in bpf_rwnd()
|
D | tcp_cong_kern.c | 34 if (bpf_ntohl(skops->remote_port) != 55601 && in bpf_cong() 52 (bpf_ntohl(skops->local_ip6[1]) & 0xfff00000) == in bpf_cong() 53 (bpf_ntohl(skops->remote_ip6[1]) & 0xfff00000)) { in bpf_cong()
|
D | tcp_clamp_kern.c | 37 if (bpf_ntohl(skops->remote_port) != 55601 && skops->local_port != 55601) { in bpf_clamp() 54 (bpf_ntohl(skops->local_ip6[1]) & 0xfff00000) == in bpf_clamp() 55 (bpf_ntohl(skops->remote_ip6[1]) & 0xfff00000)) { in bpf_clamp()
|
D | tcp_basertt_kern.c | 44 (bpf_ntohl(skops->local_ip6[1]) & 0xfff00000) == in bpf_basertt() 45 (bpf_ntohl(skops->remote_ip6[1]) & 0xfff00000)) { in bpf_basertt()
|
D | tcp_bufs_kern.c | 36 if (bpf_ntohl(skops->remote_port) != 55601 && in bpf_bufs()
|
D | tcp_iw_kern.c | 37 if (bpf_ntohl(skops->remote_port) != 55601 && in bpf_iw()
|
/Linux-v5.10/tools/testing/selftests/bpf/ |
D | test_sysctl.c | 696 bpf_ntohl(0x36303600), 2), 785 bpf_ntohl(0x36300000), 2), 808 bpf_ntohl(0x36303000)), 877 bpf_ntohl(0x36303000)), 991 bpf_ntohl(0x36303000)), 1024 bpf_ntohl(0x30373700)), 1068 bpf_ntohl(0x36303000)), 1109 bpf_ntohl(0x0d0c0a09)), 1151 bpf_ntohl(0x0a2d3600)), 1193 bpf_ntohl(0x0a2d3600)), [all …]
|
/Linux-v5.10/tools/testing/selftests/bpf/progs/ |
D | test_tunnel_kern.c | 199 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()
|
D | test_tcpnotify_kern.c | 41 if (bpf_ntohl(skops->remote_port) != TESTPORT) { in bpf_testcb()
|
D | test_btf_skc_cls_ingress.c | 64 recv_cookie = bpf_ntohl(th->ack_seq) - 1; in test_syncookie_helper()
|
D | test_tcp_check_syncookie_kern.c | 142 __u32 cookie = bpf_ntohl(tcph->ack_seq) - 1; in check_syncookie()
|
D | test_sockmap_kern.h | 216 if (bpf_ntohl(rport) == 10001) { in bpf_sockmap()
|
/Linux-v5.10/tools/lib/bpf/ |
D | bpf_endian.h | 89 #define bpf_ntohl(x) \ macro
|