Searched refs:remote_ip4 (Results 1 – 10 of 10) sorted by relevance
| /Linux-v5.15/tools/testing/selftests/bpf/progs/ |
| D | test_sk_lookup.c | 424 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()
|
| /Linux-v5.15/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)), 276 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-v5.15/include/uapi/linux/ |
| D | bpf.h | 5272 __u32 remote_ip4; /* Stored in network byte order */ member 5491 __u32 remote_ip4; /* Stored in network byte order */ member 5686 __u32 remote_ip4; /* Stored in network byte order */ member 6223 __u32 remote_ip4; /* Network byte order */ member
|
| /Linux-v5.15/tools/include/uapi/linux/ |
| D | bpf.h | 5272 __u32 remote_ip4; /* Stored in network byte order */ member 5491 __u32 remote_ip4; /* Stored in network byte order */ member 5686 __u32 remote_ip4; /* Stored in network byte order */ member 6223 __u32 remote_ip4; /* Network byte order */ member
|
| /Linux-v5.15/net/bpf/ |
| D | test_run.c | 970 ctx.v4.saddr = (__force __be32)user_ctx->remote_ip4; in bpf_prog_test_run_sk_lookup()
|
| /Linux-v5.15/net/core/ |
| D | filter.c | 7758 case bpf_ctx_range_till(struct __sk_buff, remote_ip4, remote_ip4): in bpf_skb_is_valid_access() 8431 case bpf_ctx_range(struct sk_msg_md, remote_ip4): in sk_msg_is_valid_access() 8748 case offsetof(struct __sk_buff, remote_ip4): in bpf_convert_ctx_access() 9486 case offsetof(struct bpf_sock_ops, remote_ip4): in sock_ops_convert_ctx_access() 9812 case offsetof(struct sk_msg_md, remote_ip4): in sk_msg_convert_ctx_access() 10467 case bpf_ctx_range(struct bpf_sk_lookup, remote_ip4): in sk_lookup_is_valid_access() 10507 case offsetof(struct bpf_sk_lookup, remote_ip4): in sk_lookup_convert_ctx_access()
|
| /Linux-v5.15/tools/testing/selftests/bpf/prog_tests/ |
| D | sk_lookup.c | 272 remote = &ctx->remote_ip4; in fill_sk_lookup_ctx()
|