Searched refs:remote_ip4 (Results 1 – 11 of 11) sorted by relevance
/Linux-v6.6/tools/testing/selftests/bpf/progs/ |
D | test_sk_lookup.c | 442 if (LSB(ctx->remote_ip4, 0) != ((SRC_IP4 >> 0) & 0xff) || in ctx_narrow_access() 443 LSB(ctx->remote_ip4, 1) != ((SRC_IP4 >> 8) & 0xff) || in ctx_narrow_access() 444 LSB(ctx->remote_ip4, 2) != ((SRC_IP4 >> 16) & 0xff) || in ctx_narrow_access() 445 LSB(ctx->remote_ip4, 3) != ((SRC_IP4 >> 24) & 0xff)) in ctx_narrow_access() 447 if (LSW(ctx->remote_ip4, 0) != ((SRC_IP4 >> 0) & 0xffff) || in ctx_narrow_access() 448 LSW(ctx->remote_ip4, 1) != ((SRC_IP4 >> 16) & 0xffff)) in ctx_narrow_access() 462 if (LSB(ctx->remote_ip4, 0) != 0 || LSB(ctx->remote_ip4, 1) != 0 || in ctx_narrow_access() 463 LSB(ctx->remote_ip4, 2) != 0 || LSB(ctx->remote_ip4, 3) != 0) in ctx_narrow_access() 465 if (LSW(ctx->remote_ip4, 0) != 0 || LSW(ctx->remote_ip4, 1) != 0) in ctx_narrow_access()
|
D | verifier_ctx_sk_msg.c | 30 : __imm_const(sk_msg_md_remote_ip4, offsetof(struct sk_msg_md, remote_ip4)) in remote_ip4_in_sk_msg()
|
D | verifier_cgroup_skb.c | 126 __imm_const(__sk_buff_remote_ip4, offsetof(struct __sk_buff, remote_ip4)), in test_4_for_cgroup_skb()
|
/Linux-v6.6/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_skb.c | 121 offsetof(struct __sk_buff, remote_ip4)), 191 offsetof(struct __sk_buff, remote_ip4)),
|
/Linux-v6.6/tools/include/uapi/linux/ |
D | bpf.h | 6096 __u32 remote_ip4; /* Stored in network byte order */ member 6344 __u32 remote_ip4; /* Stored in network byte order */ member 6602 __u32 remote_ip4; /* Stored in network byte order */ member 7184 __u32 remote_ip4; /* Network byte order */ member
|
/Linux-v6.6/include/uapi/linux/ |
D | bpf.h | 6096 __u32 remote_ip4; /* Stored in network byte order */ member 6344 __u32 remote_ip4; /* Stored in network byte order */ member 6602 __u32 remote_ip4; /* Stored in network byte order */ member 7184 __u32 remote_ip4; /* Network byte order */ member
|
/Linux-v6.6/net/core/ |
D | filter.c | 8433 case bpf_ctx_range_till(struct __sk_buff, remote_ip4, remote_ip4): in bpf_skb_is_valid_access() 9175 case bpf_ctx_range(struct sk_msg_md, remote_ip4): in sk_msg_is_valid_access() 9584 case offsetof(struct __sk_buff, remote_ip4): in bpf_convert_ctx_access() 10329 case offsetof(struct bpf_sock_ops, remote_ip4): in sock_ops_convert_ctx_access() 10719 case offsetof(struct sk_msg_md, remote_ip4): in sk_msg_convert_ctx_access() 11378 case bpf_ctx_range(struct bpf_sk_lookup, remote_ip4): in sk_lookup_is_valid_access() 11431 case offsetof(struct bpf_sk_lookup, remote_ip4): in sk_lookup_convert_ctx_access()
|
/Linux-v6.6/Documentation/bpf/ |
D | map_sockmap.rst | 419 key->src_ip = skb->remote_ip4;
|
/Linux-v6.6/tools/testing/selftests/bpf/prog_tests/ |
D | sk_lookup.c | 271 remote = &ctx->remote_ip4; in fill_sk_lookup_ctx()
|
/Linux-v6.6/net/bpf/ |
D | test_run.c | 1416 ctx.v4.saddr = (__force __be32)user_ctx->remote_ip4; in bpf_prog_test_run_sk_lookup()
|