Home
last modified time | relevance | path

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

/tools/testing/selftests/bpf/verifier/
Dwide_access.c27 BPF_SOCK_ADDR_STORE(msg_src_ip6, 0, REJECT,
29 BPF_SOCK_ADDR_STORE(msg_src_ip6, 1, ACCEPT,
31 BPF_SOCK_ADDR_STORE(msg_src_ip6, 2, REJECT,
33 BPF_SOCK_ADDR_STORE(msg_src_ip6, 3, REJECT,
64 BPF_SOCK_ADDR_LOAD(msg_src_ip6, 0, REJECT,
66 BPF_SOCK_ADDR_LOAD(msg_src_ip6, 1, ACCEPT,
68 BPF_SOCK_ADDR_LOAD(msg_src_ip6, 2, REJECT,
70 BPF_SOCK_ADDR_LOAD(msg_src_ip6, 3, REJECT,
/tools/testing/selftests/bpf/progs/
Dsendmsg6_prog.c32 if (ctx->msg_src_ip6[3] == bpf_htonl(1) || in sendmsg_v6_prog()
33 ctx->msg_src_ip6[3] == bpf_htonl(0)) { in sendmsg_v6_prog()
34 ctx->msg_src_ip6[0] = bpf_htonl(SRC_REWRITE_IP6_0); in sendmsg_v6_prog()
35 ctx->msg_src_ip6[1] = bpf_htonl(SRC_REWRITE_IP6_1); in sendmsg_v6_prog()
36 ctx->msg_src_ip6[2] = bpf_htonl(SRC_REWRITE_IP6_2); in sendmsg_v6_prog()
37 ctx->msg_src_ip6[3] = bpf_htonl(SRC_REWRITE_IP6_3); in sendmsg_v6_prog()
/tools/include/uapi/linux/
Dbpf.h3329 __u32 msg_src_ip6[4]; /* Allows 1,2,4,8-byte read and 4,8-byte write. member
/tools/testing/selftests/bpf/
Dtest_sock_addr.c1024 STORE_IPV6(msg_src_ip6, src6_rw_ip.s6_addr32), in sendmsg6_rw_dst_asm_prog_load()