Searched refs:remote_ip4 (Results 1 – 10 of 10) sorted by relevance
/Linux-v6.1/tools/testing/selftests/bpf/progs/ |
D | test_sk_lookup.c | 443 if (LSB(ctx->remote_ip4, 0) != ((SRC_IP4 >> 0) & 0xff) || in ctx_narrow_access() 444 LSB(ctx->remote_ip4, 1) != ((SRC_IP4 >> 8) & 0xff) || in ctx_narrow_access() 445 LSB(ctx->remote_ip4, 2) != ((SRC_IP4 >> 16) & 0xff) || in ctx_narrow_access() 446 LSB(ctx->remote_ip4, 3) != ((SRC_IP4 >> 24) & 0xff)) in ctx_narrow_access() 448 if (LSW(ctx->remote_ip4, 0) != ((SRC_IP4 >> 0) & 0xffff) || in ctx_narrow_access() 449 LSW(ctx->remote_ip4, 1) != ((SRC_IP4 >> 16) & 0xffff)) in ctx_narrow_access() 463 if (LSB(ctx->remote_ip4, 0) != 0 || LSB(ctx->remote_ip4, 1) != 0 || in ctx_narrow_access() 464 LSB(ctx->remote_ip4, 2) != 0 || LSB(ctx->remote_ip4, 3) != 0) in ctx_narrow_access() 466 if (LSW(ctx->remote_ip4, 0) != 0 || LSW(ctx->remote_ip4, 1) != 0) in ctx_narrow_access()
|
/Linux-v6.1/tools/testing/selftests/bpf/verifier/ |
D | ctx_sk_lookup.c | 42 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)), 294 offsetof(struct bpf_sk_lookup, remote_ip4)),
|
D | ctx_sk_msg.c | 15 offsetof(struct sk_msg_md, remote_ip4)),
|
D | cgroup_skb.c | 94 offsetof(struct __sk_buff, remote_ip4)),
|
D | ctx_skb.c | 121 offsetof(struct __sk_buff, remote_ip4)), 191 offsetof(struct __sk_buff, remote_ip4)),
|
/Linux-v6.1/tools/include/uapi/linux/ |
D | bpf.h | 5878 __u32 remote_ip4; /* Stored in network byte order */ member 6113 __u32 remote_ip4; /* Stored in network byte order */ member 6328 __u32 remote_ip4; /* Stored in network byte order */ member 6870 __u32 remote_ip4; /* Network byte order */ member
|
/Linux-v6.1/include/uapi/linux/ |
D | bpf.h | 5878 __u32 remote_ip4; /* Stored in network byte order */ member 6113 __u32 remote_ip4; /* Stored in network byte order */ member 6328 __u32 remote_ip4; /* Stored in network byte order */ member 6870 __u32 remote_ip4; /* Network byte order */ member
|
/Linux-v6.1/net/core/ |
D | filter.c | 8253 case bpf_ctx_range_till(struct __sk_buff, remote_ip4, remote_ip4): in bpf_skb_is_valid_access() 9006 case bpf_ctx_range(struct sk_msg_md, remote_ip4): in sk_msg_is_valid_access() 9410 case offsetof(struct __sk_buff, remote_ip4): in bpf_convert_ctx_access() 10155 case offsetof(struct bpf_sock_ops, remote_ip4): in sock_ops_convert_ctx_access() 10527 case offsetof(struct sk_msg_md, remote_ip4): in sk_msg_convert_ctx_access() 11186 case bpf_ctx_range(struct bpf_sk_lookup, remote_ip4): in sk_lookup_is_valid_access() 11239 case offsetof(struct bpf_sk_lookup, remote_ip4): in sk_lookup_convert_ctx_access()
|
/Linux-v6.1/tools/testing/selftests/bpf/prog_tests/ |
D | sk_lookup.c | 271 remote = &ctx->remote_ip4; in fill_sk_lookup_ctx()
|
/Linux-v6.1/net/bpf/ |
D | test_run.c | 1551 ctx.v4.saddr = (__force __be32)user_ctx->remote_ip4; in bpf_prog_test_run_sk_lookup()
|