Home
last modified time | relevance | path

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

/Linux-v5.15/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-v5.15/tools/testing/selftests/bpf/progs/
Dsendmsg6_prog.c37 if (ctx->msg_src_ip6[3] == bpf_htonl(1) || in sendmsg_v6_prog()
38 ctx->msg_src_ip6[3] == bpf_htonl(0)) { in sendmsg_v6_prog()
39 ctx->msg_src_ip6[0] = bpf_htonl(SRC_REWRITE_IP6_0); in sendmsg_v6_prog()
40 ctx->msg_src_ip6[1] = bpf_htonl(SRC_REWRITE_IP6_1); in sendmsg_v6_prog()
41 ctx->msg_src_ip6[2] = bpf_htonl(SRC_REWRITE_IP6_2); in sendmsg_v6_prog()
42 ctx->msg_src_ip6[3] = bpf_htonl(SRC_REWRITE_IP6_3); in sendmsg_v6_prog()
/Linux-v5.15/tools/testing/selftests/bpf/
Dtest_sock_addr.c836 STORE_IPV6(msg_src_ip6, src6_rw_ip.s6_addr32), in sendmsg6_rw_dst_asm_prog_load()
/Linux-v5.15/net/core/
Dfilter.c8233 case bpf_ctx_range_till(struct bpf_sock_addr, msg_src_ip6[0], in sock_addr_is_valid_access()
8234 msg_src_ip6[3]): in sock_addr_is_valid_access()
8248 case bpf_ctx_range_till(struct bpf_sock_addr, msg_src_ip6[0], in sock_addr_is_valid_access()
8249 msg_src_ip6[3]): in sock_addr_is_valid_access()
8261 msg_src_ip6)) in sock_addr_is_valid_access()
8274 msg_src_ip6)) in sock_addr_is_valid_access()
9287 case bpf_ctx_range_till(struct bpf_sock_addr, msg_src_ip6[0], in sock_addr_convert_ctx_access()
9288 msg_src_ip6[3]): in sock_addr_convert_ctx_access()
9290 off -= offsetof(struct bpf_sock_addr, msg_src_ip6[0]); in sock_addr_convert_ctx_access()
/Linux-v5.15/include/uapi/linux/
Dbpf.h5666 __u32 msg_src_ip6[4]; /* Allows 1,2,4,8-byte read and 4,8-byte write. member
/Linux-v5.15/tools/include/uapi/linux/
Dbpf.h5666 __u32 msg_src_ip6[4]; /* Allows 1,2,4,8-byte read and 4,8-byte write. member