Searched refs:msg_src_ip6 (Results 1 – 4 of 4) 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 | 9468 case bpf_ctx_range_till(struct bpf_sock_addr, msg_src_ip6[0], in sock_ops_is_valid_access() 9469 msg_src_ip6[3]): in sock_ops_is_valid_access() 9483 case bpf_ctx_range_till(struct bpf_sock_addr, msg_src_ip6[0], in sock_ops_is_valid_access() 9484 msg_src_ip6[3]): in sock_ops_is_valid_access() 9496 msg_src_ip6)) in sock_ops_is_valid_access() 9509 msg_src_ip6)) in sock_ops_is_valid_access() 10633 case bpf_ctx_range_till(struct bpf_sock_addr, msg_src_ip6[0], in sock_ops_convert_ctx_access() 10634 msg_src_ip6[3]): in sock_ops_convert_ctx_access() 10636 off -= offsetof(struct bpf_sock_addr, msg_src_ip6[0]); in sock_ops_convert_ctx_access() 10637 /* Treat t_ctx as struct in6_addr for msg_src_ip6 in sock_ops_convert_ctx_access() [all...] |
| /linux/tools/include/uapi/linux/ |
| H A D | bpf.h | 6918 __u32 msg_src_ip6[4]; /* Allows 1,2,4,8-byte read and 4,8-byte write. 6853 __u32 msg_src_ip6[4]; /* Allows 1,2,4,8-byte read and 4,8-byte write. global() member
|