Home
last modified time | relevance | path

Searched refs:local_ip6 (Results 1 – 7 of 7) sorted by relevance

/tools/testing/selftests/bpf/progs/
Dtest_sk_lookup.c152 if (ctx->local_ip6[0] != DST_IP6[0] || in redir_ip6()
153 ctx->local_ip6[1] != DST_IP6[1] || in redir_ip6()
154 ctx->local_ip6[2] != DST_IP6[2] || in redir_ip6()
155 ctx->local_ip6[3] != DST_IP6[3]) in redir_ip6()
486 if (LSB(ctx->local_ip6[0], 0) != ((DST_IP6[0] >> 0) & 0xff) || in ctx_narrow_access()
487 LSB(ctx->local_ip6[0], 1) != ((DST_IP6[0] >> 8) & 0xff) || in ctx_narrow_access()
488 LSB(ctx->local_ip6[0], 2) != ((DST_IP6[0] >> 16) & 0xff) || in ctx_narrow_access()
489 LSB(ctx->local_ip6[0], 3) != ((DST_IP6[0] >> 24) & 0xff) || in ctx_narrow_access()
490 LSB(ctx->local_ip6[1], 0) != ((DST_IP6[1] >> 0) & 0xff) || in ctx_narrow_access()
491 LSB(ctx->local_ip6[1], 1) != ((DST_IP6[1] >> 8) & 0xff) || in ctx_narrow_access()
[all …]
/tools/testing/selftests/bpf/verifier/
Dctx_sk_lookup.c156 offsetof(struct bpf_sk_lookup, local_ip6)),
158 offsetof(struct bpf_sk_lookup, local_ip6) + 1),
160 offsetof(struct bpf_sk_lookup, local_ip6) + 2),
162 offsetof(struct bpf_sk_lookup, local_ip6) + 3),
164 offsetof(struct bpf_sk_lookup, local_ip6) + 4),
166 offsetof(struct bpf_sk_lookup, local_ip6) + 5),
168 offsetof(struct bpf_sk_lookup, local_ip6) + 6),
170 offsetof(struct bpf_sk_lookup, local_ip6) + 7),
172 offsetof(struct bpf_sk_lookup, local_ip6) + 8),
174 offsetof(struct bpf_sk_lookup, local_ip6) + 9),
[all …]
Dctx_sk_msg.c71 offsetof(struct sk_msg_md, local_ip6[0])),
73 offsetof(struct sk_msg_md, local_ip6[1])),
75 offsetof(struct sk_msg_md, local_ip6[2])),
77 offsetof(struct sk_msg_md, local_ip6[3])),
Dcgroup_skb.c106 offsetof(struct __sk_buff, local_ip6[0])),
108 offsetof(struct __sk_buff, local_ip6[1])),
110 offsetof(struct __sk_buff, local_ip6[2])),
112 offsetof(struct __sk_buff, local_ip6[3])),
Dctx_skb.c151 offsetof(struct __sk_buff, local_ip6)),
227 offsetof(struct __sk_buff, local_ip6[0])),
229 offsetof(struct __sk_buff, local_ip6[1])),
231 offsetof(struct __sk_buff, local_ip6[2])),
233 offsetof(struct __sk_buff, local_ip6[3])),
/tools/include/uapi/linux/
Dbpf.h5280 __u32 local_ip6[4]; /* Stored in network byte order */ member
5500 __u32 local_ip6[4]; /* Stored in network byte order */ member
5695 __u32 local_ip6[4]; /* Stored in network byte order */ member
6233 __u32 local_ip6[4]; /* Network byte order */ member
/tools/testing/selftests/bpf/prog_tests/
Dsk_lookup.c267 local = &ctx->local_ip6[0]; in fill_sk_lookup_ctx()