Searched refs:user_ip6 (Results 1 - 10 of 10) sorted by relevance
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | connect_force_port6.c | 49 orig->addr[0] = ctx->user_ip6[0]; 50 orig->addr[1] = ctx->user_ip6[1]; 51 orig->addr[2] = ctx->user_ip6[2]; 52 orig->addr[3] = ctx->user_ip6[3]; 55 ctx->user_ip6[0] = 0; 56 ctx->user_ip6[1] = 0; 57 ctx->user_ip6[2] = 0; 58 ctx->user_ip6[3] = bpf_htonl(1); 72 ctx->user_ip6[0] = bpf_htonl(0xfc000000); 73 ctx->user_ip6[ [all...] |
H A D | bind6_prog.c | 108 __u32 user_ip6; local 122 if (ctx->user_ip6[0] != bpf_htonl(SERV6_IP_0) || 123 ctx->user_ip6[1] != bpf_htonl(SERV6_IP_1) || 124 ctx->user_ip6[2] != bpf_htonl(SERV6_IP_2) || 125 ctx->user_ip6[3] != bpf_htonl(SERV6_IP_3) || 131 user_ip6 = 0; 132 user_ip6 |= ((volatile __u8 *)&ctx->user_ip6[i])[0] << 0; 133 user_ip6 |= ((volatile __u8 *)&ctx->user_ip6[ [all...] |
H A D | recvmsg6_prog.c | 37 ctx->user_ip6[0] = bpf_htonl(SERV6_IP_0); 38 ctx->user_ip6[1] = bpf_htonl(SERV6_IP_1); 39 ctx->user_ip6[2] = bpf_htonl(SERV6_IP_2); 40 ctx->user_ip6[3] = bpf_htonl(SERV6_IP_3);
|
H A D | sendmsg6_prog.c | 47 if (ctx->user_ip6[0] == bpf_htonl(0xFACEB00C)) { 48 ctx->user_ip6[0] = bpf_htonl(DST_REWRITE_IP6_0); 49 ctx->user_ip6[1] = bpf_htonl(DST_REWRITE_IP6_1); 50 ctx->user_ip6[2] = bpf_htonl(DST_REWRITE_IP6_2); 51 ctx->user_ip6[3] = bpf_htonl(DST_REWRITE_IP6_3);
|
H A D | connect6_prog.c | 69 ctx->user_ip6[0] = bpf_htonl(DST_REWRITE_IP6_0); 70 ctx->user_ip6[1] = bpf_htonl(DST_REWRITE_IP6_1); 71 ctx->user_ip6[2] = bpf_htonl(DST_REWRITE_IP6_2); 72 ctx->user_ip6[3] = bpf_htonl(DST_REWRITE_IP6_3);
|
/linux-master/tools/testing/selftests/bpf/verifier/ |
H A D | wide_access.c | 17 /* user_ip6[0] is u64 aligned */ 18 BPF_SOCK_ADDR_STORE(user_ip6, 0, ACCEPT, 20 BPF_SOCK_ADDR_STORE(user_ip6, 1, REJECT, 23 BPF_SOCK_ADDR_STORE(user_ip6, 2, ACCEPT, 25 BPF_SOCK_ADDR_STORE(user_ip6, 3, REJECT, 59 /* user_ip6[0] is u64 aligned */ 60 BPF_SOCK_ADDR_LOAD(user_ip6, 0, ACCEPT, 62 BPF_SOCK_ADDR_LOAD(user_ip6, 1, REJECT, 65 BPF_SOCK_ADDR_LOAD(user_ip6, 2, ACCEPT, 67 BPF_SOCK_ADDR_LOAD(user_ip6, [all...] |
/linux-master/tools/testing/selftests/bpf/ |
H A D | test_sock_addr.c | 847 STORE_IPV6(user_ip6, dst6_rw_addr.sin6_addr.s6_addr32),
|
/linux-master/net/core/ |
H A D | filter.c | 9049 case bpf_ctx_range_till(struct bpf_sock_addr, user_ip6[0], user_ip6[3]): 9083 case bpf_ctx_range_till(struct bpf_sock_addr, user_ip6[0], user_ip6[3]): 9093 user_ip6)) 9106 user_ip6)) 10180 case bpf_ctx_range_till(struct bpf_sock_addr, user_ip6[0], user_ip6[3]): 10182 off -= offsetof(struct bpf_sock_addr, user_ip6[0]);
|
/linux-master/include/uapi/linux/ |
H A D | bpf.h | 6733 __u32 user_ip6[4]; /* Allows 1,2,4,8-byte read and 4,8-byte write. member in struct:bpf_sock_addr
|
/linux-master/tools/include/uapi/linux/ |
H A D | bpf.h | 6733 __u32 user_ip6[4]; /* Allows 1,2,4,8-byte read and 4,8-byte write. member in struct:bpf_sock_addr
|
Completed in 391 milliseconds