Home
last modified time | relevance | path

Searched refs:remote_ip6 (Results 1 – 17 of 17) sorted by relevance

/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/progs/
H A Dtest_sk_lookup.c460 if (LSB(ctx->remote_ip6[0], 0) != ((SRC_IP6[0] >> 0) & 0xff) || in ctx_narrow_access()
461 LSB(ctx->remote_ip6[0], 1) != ((SRC_IP6[0] >> 8) & 0xff) || in ctx_narrow_access()
462 LSB(ctx->remote_ip6[0], 2) != ((SRC_IP6[0] >> 16) & 0xff) || in ctx_narrow_access()
463 LSB(ctx->remote_ip6[0], 3) != ((SRC_IP6[0] >> 24) & 0xff) || in ctx_narrow_access()
464 LSB(ctx->remote_ip6[1], 0) != ((SRC_IP6[1] >> 0) & 0xff) || in ctx_narrow_access()
465 LSB(ctx->remote_ip6[1], 1) != ((SRC_IP6[1] >> 8) & 0xff) || in ctx_narrow_access()
466 LSB(ctx->remote_ip6[1], 2) != ((SRC_IP6[1] >> 16) & 0xff) || in ctx_narrow_access()
467 LSB(ctx->remote_ip6[1], 3) != ((SRC_IP6[1] >> 24) & 0xff) || in ctx_narrow_access()
468 LSB(ctx->remote_ip6[2], 0) != ((SRC_IP6[2] >> 0) & 0xff) || in ctx_narrow_access()
469 LSB(ctx->remote_ip6[2], 1) != ((SRC_IP6[2] >> 8) & 0xff) || in ctx_narrow_access()
[all …]
/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/verifier/
H A Dctx_sk_lookup.c60 offsetof(struct bpf_sk_lookup, remote_ip6)),
62 offsetof(struct bpf_sk_lookup, remote_ip6) + 1),
64 offsetof(struct bpf_sk_lookup, remote_ip6) + 2),
66 offsetof(struct bpf_sk_lookup, remote_ip6) + 3),
68 offsetof(struct bpf_sk_lookup, remote_ip6) + 4),
70 offsetof(struct bpf_sk_lookup, remote_ip6) + 5),
72 offsetof(struct bpf_sk_lookup, remote_ip6) + 6),
74 offsetof(struct bpf_sk_lookup, remote_ip6) + 7),
76 offsetof(struct bpf_sk_lookup, remote_ip6) + 8),
78 offsetof(struct bpf_sk_lookup, remote_ip6) + 9),
[all …]
H A Dctx_sk_msg.c55 offsetof(struct sk_msg_md, remote_ip6[0])),
57 offsetof(struct sk_msg_md, remote_ip6[1])),
59 offsetof(struct sk_msg_md, remote_ip6[2])),
61 offsetof(struct sk_msg_md, remote_ip6[3])),
H A Dcgroup_skb.c98 offsetof(struct __sk_buff, remote_ip6[0])),
100 offsetof(struct __sk_buff, remote_ip6[1])),
102 offsetof(struct __sk_buff, remote_ip6[2])),
104 offsetof(struct __sk_buff, remote_ip6[3])),
H A Dctx_skb.c141 offsetof(struct __sk_buff, remote_ip6)),
211 offsetof(struct __sk_buff, remote_ip6[0])),
213 offsetof(struct __sk_buff, remote_ip6[1])),
215 offsetof(struct __sk_buff, remote_ip6[2])),
217 offsetof(struct __sk_buff, remote_ip6[3])),
/OK3568_Linux_fs/kernel/samples/bpf/
H A Dtcp_synrto_kern.c53 if (skops->local_ip6[0] == skops->remote_ip6[0] && in bpf_synrto()
55 (bpf_ntohl(skops->remote_ip6[1]) & 0xfff00000)) in bpf_synrto()
H A Dtcp_rwnd_kern.c53 if (skops->local_ip6[0] != skops->remote_ip6[0] || in bpf_rwnd()
55 (bpf_ntohl(skops->remote_ip6[1]) & 0xfffff000)) in bpf_rwnd()
H A Dtcp_basertt_kern.c43 skops->local_ip6[0] == skops->remote_ip6[0] && in bpf_basertt()
45 (bpf_ntohl(skops->remote_ip6[1]) & 0xfff00000)) { in bpf_basertt()
H A Dtcp_cong_kern.c51 skops->local_ip6[0] == skops->remote_ip6[0] && in bpf_cong()
53 (bpf_ntohl(skops->remote_ip6[1]) & 0xfff00000)) { in bpf_cong()
H A Dtcp_clamp_kern.c53 skops->local_ip6[0] == skops->remote_ip6[0] && in bpf_clamp()
55 (bpf_ntohl(skops->remote_ip6[1]) & 0xfff00000)) { in bpf_clamp()
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/
H A Dbpf.h2469 __u32 remote_ip6[4]; /* Stored in network byte order */ member
2598 __u32 remote_ip6[4]; /* Stored in network byte order */ member
2719 __u32 remote_ip6[4]; /* Stored in network byte order */ member
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/
H A Dbpf.h2469 __u32 remote_ip6[4]; /* Stored in network byte order */ member
2598 __u32 remote_ip6[4]; /* Stored in network byte order */ member
2719 __u32 remote_ip6[4]; /* Stored in network byte order */ member
/OK3568_Linux_fs/kernel/tools/include/uapi/linux/
H A Dbpf.h4107 __u32 remote_ip6[4]; /* Stored in network byte order */ member
4327 __u32 remote_ip6[4]; /* Stored in network byte order */ member
4502 __u32 remote_ip6[4]; /* Stored in network byte order */ member
5018 __u32 remote_ip6[4]; /* Network byte order */ member
/OK3568_Linux_fs/kernel/include/uapi/linux/
H A Dbpf.h4107 __u32 remote_ip6[4]; /* Stored in network byte order */ member
4327 __u32 remote_ip6[4]; /* Stored in network byte order */ member
4502 __u32 remote_ip6[4]; /* Stored in network byte order */ member
5018 __u32 remote_ip6[4]; /* Network byte order */ member
/OK3568_Linux_fs/kernel/net/core/
H A Dfilter.c7519 case bpf_ctx_range_till(struct __sk_buff, remote_ip6[0], remote_ip6[3]): in bpf_skb_is_valid_access()
8204 case bpf_ctx_range_till(struct sk_msg_md, remote_ip6[0], remote_ip6[3]): in sk_msg_is_valid_access()
8542 case offsetof(struct __sk_buff, remote_ip6[0]) ... in bpf_convert_ctx_access()
8543 offsetof(struct __sk_buff, remote_ip6[3]): in bpf_convert_ctx_access()
8549 off -= offsetof(struct __sk_buff, remote_ip6[0]); in bpf_convert_ctx_access()
9281 case offsetof(struct bpf_sock_ops, remote_ip6[0]) ... in sock_ops_convert_ctx_access()
9282 offsetof(struct bpf_sock_ops, remote_ip6[3]): in sock_ops_convert_ctx_access()
9288 off -= offsetof(struct bpf_sock_ops, remote_ip6[0]); in sock_ops_convert_ctx_access()
9610 case offsetof(struct sk_msg_md, remote_ip6[0]) ... in sk_msg_convert_ctx_access()
9611 offsetof(struct sk_msg_md, remote_ip6[3]): in sk_msg_convert_ctx_access()
[all …]
/OK3568_Linux_fs/kernel/net/bpf/
H A Dtest_run.c862 ctx.v6.saddr = (struct in6_addr *)user_ctx->remote_ip6; in bpf_prog_test_run_sk_lookup()
/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/prog_tests/
H A Dsk_lookup.c268 remote = &ctx->remote_ip6[0]; in fill_sk_lookup_ctx()