Home
last modified time | relevance | path

Searched refs:src_ip6 (Results 1 – 5 of 5) sorted by relevance

/tools/testing/selftests/bpf/progs/
Dtest_sock_fields_kern.c92 dst->src_ip6[0] = src->src_ip6[0]; in skcpy()
93 dst->src_ip6[1] = src->src_ip6[1]; in skcpy()
94 dst->src_ip6[2] = src->src_ip6[2]; in skcpy()
95 dst->src_ip6[3] = src->src_ip6[3]; in skcpy()
158 !is_loopback6(sk->src_ip6)) in egress_read_sock_fields()
226 if (!sk || sk->family != AF_INET6 || !is_loopback6(sk->src_ip6)) in ingress_read_sock_fields()
Dconnect6_prog.c59 if (sk->src_ip6[0] != tuple.ipv6.daddr[0] || in connect_v6_prog()
60 sk->src_ip6[1] != tuple.ipv6.daddr[1] || in connect_v6_prog()
61 sk->src_ip6[2] != tuple.ipv6.daddr[2] || in connect_v6_prog()
62 sk->src_ip6[3] != tuple.ipv6.daddr[3] || in connect_v6_prog()
/tools/testing/selftests/bpf/
Dtest_sock_fields.c85 char src_ip6[64], dst_ip6[64]; in print_sk() local
88 inet_ntop(AF_INET6, &sk->src_ip6, src_ip6, sizeof(src_ip6)); in print_sk()
98 sk->src_ip6[0], sk->src_ip6[1], sk->src_ip6[2], sk->src_ip6[3], in print_sk()
99 src_ip6, sk->src_port, in print_sk()
187 memcmp(listen_sk.src_ip6, &in6addr_loopback, in check_result()
188 sizeof(listen_sk.src_ip6)) || in check_result()
201 memcmp(srv_sk.src_ip6, &in6addr_loopback, in check_result()
202 sizeof(srv_sk.src_ip6)) || in check_result()
214 memcmp(cli_sk.src_ip6, &in6addr_loopback, in check_result()
215 sizeof(cli_sk.src_ip6)) || in check_result()
Dtest_sock.c53 offsetof(struct bpf_sock, src_ip6[0])),
235 offsetof(struct bpf_sock, src_ip6[3])),
/tools/include/uapi/linux/
Dbpf.h3096 __u32 src_ip6[4]; member