/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A 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()
|
H A 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()
|
H A D | verifier_cgroup_skb.c | 126 __imm_const(__sk_buff_remote_ip4, offsetof(struct __sk_buff, remote_ip4)), in test_4_for_cgroup_skb()
|
/openbmc/linux/tools/testing/selftests/bpf/verifier/ |
H A 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)),
|
H A D | ctx_skb.c | 121 offsetof(struct __sk_buff, remote_ip4)), 191 offsetof(struct __sk_buff, remote_ip4)),
|
/openbmc/linux/include/uapi/linux/ |
H A D | bpf.h | 6118 __u32 remote_ip4; /* Stored in network byte order */ member 6366 __u32 remote_ip4; /* Stored in network byte order */ member 6631 __u32 remote_ip4; /* Stored in network byte order */ member 7218 __u32 remote_ip4; /* Network byte order */ member
|
/openbmc/linux/tools/include/uapi/linux/ |
H A D | bpf.h | 6121 __u32 remote_ip4; /* Stored in network byte order */ member 6369 __u32 remote_ip4; /* Stored in network byte order */ member 6634 __u32 remote_ip4; /* Stored in network byte order */ member 7221 __u32 remote_ip4; /* Network byte order */ member
|
/openbmc/linux/net/core/ |
H A D | filter.c | 8553 case bpf_ctx_range_till(struct __sk_buff, remote_ip4, remote_ip4): in bpf_skb_is_valid_access() 9295 case bpf_ctx_range(struct sk_msg_md, remote_ip4): in sk_msg_is_valid_access() 9704 case offsetof(struct __sk_buff, remote_ip4): in bpf_convert_ctx_access() 10449 case offsetof(struct bpf_sock_ops, remote_ip4): in sock_ops_convert_ctx_access() 10839 case offsetof(struct sk_msg_md, remote_ip4): in sk_msg_convert_ctx_access() 11504 case bpf_ctx_range(struct bpf_sk_lookup, remote_ip4): in sk_lookup_is_valid_access() 11557 case offsetof(struct bpf_sk_lookup, remote_ip4): in sk_lookup_convert_ctx_access()
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | sk_lookup.c | 270 remote = &ctx->remote_ip4; in fill_sk_lookup_ctx()
|
/openbmc/linux/Documentation/bpf/ |
H A D | map_sockmap.rst | 419 key->src_ip = skb->remote_ip4;
|
/openbmc/linux/net/bpf/ |
H A D | test_run.c | 1423 ctx.v4.saddr = (__force __be32)user_ctx->remote_ip4; in bpf_prog_test_run_sk_lookup()
|