Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/bpf/verifier/
H A 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,
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A 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()
/openbmc/linux/tools/testing/selftests/bpf/
H A Dtest_sock_addr.c845 STORE_IPV6(msg_src_ip6, src6_rw_ip.s6_addr32), in sendmsg6_rw_dst_asm_prog_load()
/openbmc/linux/net/core/
H A Dfilter.c9069 case bpf_ctx_range_till(struct bpf_sock_addr, msg_src_ip6[0], in sock_addr_is_valid_access()
9070 msg_src_ip6[3]): in sock_addr_is_valid_access()
9084 case bpf_ctx_range_till(struct bpf_sock_addr, msg_src_ip6[0], in sock_addr_is_valid_access()
9085 msg_src_ip6[3]): in sock_addr_is_valid_access()
9097 msg_src_ip6)) in sock_addr_is_valid_access()
9110 msg_src_ip6)) in sock_addr_is_valid_access()
10229 case bpf_ctx_range_till(struct bpf_sock_addr, msg_src_ip6[0], in sock_addr_convert_ctx_access()
10230 msg_src_ip6[3]): in sock_addr_convert_ctx_access()
10232 off -= offsetof(struct bpf_sock_addr, msg_src_ip6[0]); in sock_addr_convert_ctx_access()
/openbmc/linux/tools/include/uapi/linux/
H A Dbpf.h6614 __u32 msg_src_ip6[4]; /* Allows 1,2,4,8-byte read and 4,8-byte write. member
/openbmc/linux/include/uapi/linux/
H A Dbpf.h6611 __u32 msg_src_ip6[4]; /* Allows 1,2,4,8-byte read and 4,8-byte write. member