Home
last modified time | relevance | path

Searched refs:msg_src_ip6 (Results 1 – 6 of 6) sorted by relevance

/Linux-v6.6/tools/testing/selftests/bpf/verifier/
Dwide_access.c30 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-v6.6/tools/testing/selftests/bpf/progs/
Dsendmsg6_prog.c35 if (ctx->msg_src_ip6[3] == bpf_htonl(1) || in sendmsg_v6_prog()
36 ctx->msg_src_ip6[3] == bpf_htonl(0)) { in sendmsg_v6_prog()
37 ctx->msg_src_ip6[0] = bpf_htonl(SRC_REWRITE_IP6_0); in sendmsg_v6_prog()
38 ctx->msg_src_ip6[1] = bpf_htonl(SRC_REWRITE_IP6_1); in sendmsg_v6_prog()
39 ctx->msg_src_ip6[2] = bpf_htonl(SRC_REWRITE_IP6_2); in sendmsg_v6_prog()
40 ctx->msg_src_ip6[3] = bpf_htonl(SRC_REWRITE_IP6_3); in sendmsg_v6_prog()
/Linux-v6.6/tools/testing/selftests/bpf/
Dtest_sock_addr.c845 STORE_IPV6(msg_src_ip6, src6_rw_ip.s6_addr32), in sendmsg6_rw_dst_asm_prog_load()
/Linux-v6.6/net/core/
Dfilter.c8972 case bpf_ctx_range_till(struct bpf_sock_addr, msg_src_ip6[0], in sock_addr_is_valid_access()
8973 msg_src_ip6[3]): in sock_addr_is_valid_access()
8987 case bpf_ctx_range_till(struct bpf_sock_addr, msg_src_ip6[0], in sock_addr_is_valid_access()
8988 msg_src_ip6[3]): in sock_addr_is_valid_access()
9000 msg_src_ip6)) in sock_addr_is_valid_access()
9013 msg_src_ip6)) in sock_addr_is_valid_access()
10132 case bpf_ctx_range_till(struct bpf_sock_addr, msg_src_ip6[0], in sock_addr_convert_ctx_access()
10133 msg_src_ip6[3]): in sock_addr_convert_ctx_access()
10135 off -= offsetof(struct bpf_sock_addr, msg_src_ip6[0]); in sock_addr_convert_ctx_access()
/Linux-v6.6/tools/include/uapi/linux/
Dbpf.h6582 __u32 msg_src_ip6[4]; /* Allows 1,2,4,8-byte read and 4,8-byte write. member
/Linux-v6.6/include/uapi/linux/
Dbpf.h6582 __u32 msg_src_ip6[4]; /* Allows 1,2,4,8-byte read and 4,8-byte write. member