Searched refs:msg_src_ip6 (Results 1 – 5 of 5) sorted by relevance
/linux/tools/testing/selftests/bpf/progs/ |
H A D | sendmsg6_prog.c | 40 if (ctx->msg_src_ip6[3] == bpf_htonl(1) || in sendmsg_v6_prog() 41 ctx->msg_src_ip6[3] == bpf_htonl(0)) { in sendmsg_v6_prog() 42 ctx->msg_src_ip6[0] = bpf_htonl(SRC_REWRITE_IP6_0); in sendmsg_v6_prog() 43 ctx->msg_src_ip6[1] = bpf_htonl(SRC_REWRITE_IP6_1); in sendmsg_v6_prog() 44 ctx->msg_src_ip6[2] = bpf_htonl(SRC_REWRITE_IP6_2); in sendmsg_v6_prog() 45 ctx->msg_src_ip6[3] = bpf_htonl(SRC_REWRITE_IP6_3); in sendmsg_v6_prog() 71 ctx->msg_src_ip6[0] = bpf_htonl(SRC_REWRITE_IP6_0); in sendmsg_v6_v4mapped_prog() 72 ctx->msg_src_ip6[1] = bpf_htonl(SRC_REWRITE_IP6_1); in sendmsg_v6_v4mapped_prog() 73 ctx->msg_src_ip6[2] = bpf_htonl(SRC_REWRITE_IP6_2); in sendmsg_v6_v4mapped_prog() 74 ctx->msg_src_ip6[3] = bpf_htonl(SRC_REWRITE_IP6_3); in sendmsg_v6_v4mapped_prog() [all …]
|
/linux/tools/testing/selftests/bpf/verifier/ |
H A D | wide_access.c | 30 BPF_SOCK_ADDR_STORE(msg_src_ip6, 0, REJECT, 33 BPF_SOCK_ADDR_STORE(msg_src_ip6, 1, ACCEPT, 35 BPF_SOCK_ADDR_STORE(msg_src_ip6, 2, REJECT, 38 BPF_SOCK_ADDR_STORE(msg_src_ip6, 3, REJECT, 72 BPF_SOCK_ADDR_LOAD(msg_src_ip6, 0, REJECT, 75 BPF_SOCK_ADDR_LOAD(msg_src_ip6, 1, ACCEPT, 77 BPF_SOCK_ADDR_LOAD(msg_src_ip6, 2, REJECT, 80 BPF_SOCK_ADDR_LOAD(msg_src_ip6, 3, REJECT,
|
/linux/net/core/ |
H A D | filter.c | 9156 case bpf_ctx_range_till(struct bpf_sock_addr, msg_src_ip6[0], in sock_addr_is_valid_access() 9157 msg_src_ip6[3]): in sock_addr_is_valid_access() 9171 case bpf_ctx_range_till(struct bpf_sock_addr, msg_src_ip6[0], in sock_addr_is_valid_access() 9172 msg_src_ip6[3]): in sock_addr_is_valid_access() 9184 msg_src_ip6)) in sock_addr_is_valid_access() 9197 msg_src_ip6)) in sock_addr_is_valid_access() 10314 case bpf_ctx_range_till(struct bpf_sock_addr, msg_src_ip6[0], in sock_addr_convert_ctx_access() 10315 msg_src_ip6[3]): in sock_addr_convert_ctx_access() 10317 off -= offsetof(struct bpf_sock_addr, msg_src_ip6[0]); in sock_addr_convert_ctx_access()
|
/linux/include/uapi/linux/ |
H A D | bpf.h | 6774 __u32 msg_src_ip6[4]; /* Allows 1,2,4,8-byte read and 4,8-byte write. member
|
/linux/tools/include/uapi/linux/ |
H A D | bpf.h | 6774 __u32 msg_src_ip6[4]; /* Allows 1,2,4,8-byte read and 4,8-byte write. member
|