Home
last modified time | relevance | path

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

/tools/testing/selftests/bpf/progs/
Dtest_sk_lookup.c424 if (LSB(ctx->remote_ip4, 0) != ((SRC_IP4 >> 0) & 0xff) || in ctx_narrow_access()
425 LSB(ctx->remote_ip4, 1) != ((SRC_IP4 >> 8) & 0xff) || in ctx_narrow_access()
426 LSB(ctx->remote_ip4, 2) != ((SRC_IP4 >> 16) & 0xff) || in ctx_narrow_access()
427 LSB(ctx->remote_ip4, 3) != ((SRC_IP4 >> 24) & 0xff)) in ctx_narrow_access()
429 if (LSW(ctx->remote_ip4, 0) != ((SRC_IP4 >> 0) & 0xffff) || in ctx_narrow_access()
430 LSW(ctx->remote_ip4, 1) != ((SRC_IP4 >> 16) & 0xffff)) in ctx_narrow_access()
444 if (LSB(ctx->remote_ip4, 0) != 0 || LSB(ctx->remote_ip4, 1) != 0 || in ctx_narrow_access()
445 LSB(ctx->remote_ip4, 2) != 0 || LSB(ctx->remote_ip4, 3) != 0) in ctx_narrow_access()
447 if (LSW(ctx->remote_ip4, 0) != 0 || LSW(ctx->remote_ip4, 1) != 0) in ctx_narrow_access()
/tools/testing/selftests/bpf/verifier/
Dctx_sk_lookup.c42 offsetof(struct bpf_sk_lookup, remote_ip4)),
44 offsetof(struct bpf_sk_lookup, remote_ip4) + 1),
46 offsetof(struct bpf_sk_lookup, remote_ip4) + 2),
48 offsetof(struct bpf_sk_lookup, remote_ip4) + 3),
51 offsetof(struct bpf_sk_lookup, remote_ip4)),
53 offsetof(struct bpf_sk_lookup, remote_ip4) + 2),
56 offsetof(struct bpf_sk_lookup, remote_ip4)),
275 offsetof(struct bpf_sk_lookup, remote_ip4)),
Dctx_sk_msg.c15 offsetof(struct sk_msg_md, remote_ip4)),
Dcgroup_skb.c94 offsetof(struct __sk_buff, remote_ip4)),
Dctx_skb.c121 offsetof(struct __sk_buff, remote_ip4)),
191 offsetof(struct __sk_buff, remote_ip4)),
/tools/include/uapi/linux/
Dbpf.h4110 __u32 remote_ip4; /* Stored in network byte order */ member
4330 __u32 remote_ip4; /* Stored in network byte order */ member
4505 __u32 remote_ip4; /* Stored in network byte order */ member
5022 __u32 remote_ip4; /* Network byte order */ member
/tools/testing/selftests/bpf/prog_tests/
Dsk_lookup.c272 remote = &ctx->remote_ip4; in fill_sk_lookup_ctx()