Home
last modified time | relevance | path

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

/tools/testing/selftests/bpf/prog_tests/
Dsock_fields.c63 char src_ip6[64], dst_ip6[64]; in print_sk() local
66 inet_ntop(AF_INET6, &sk->src_ip6, src_ip6, sizeof(src_ip6)); in print_sk()
77 sk->src_ip6[0], sk->src_ip6[1], sk->src_ip6[2], sk->src_ip6[3], in print_sk()
78 src_ip6, sk->src_port, in print_sk()
141 memcmp(listen_sk.src_ip6, &in6addr_loopback, in check_result()
142 sizeof(listen_sk.src_ip6)) || in check_result()
155 memcmp(srv_sk.src_ip6, &in6addr_loopback, in check_result()
156 sizeof(srv_sk.src_ip6)) || in check_result()
170 memcmp(cli_sk.src_ip6, &in6addr_loopback, in check_result()
171 sizeof(cli_sk.src_ip6)) || in check_result()
/tools/testing/selftests/bpf/progs/
Dtest_sock_fields.c71 dst->src_ip6[0] = src->src_ip6[0]; in skcpy()
72 dst->src_ip6[1] = src->src_ip6[1]; in skcpy()
73 dst->src_ip6[2] = src->src_ip6[2]; in skcpy()
74 dst->src_ip6[3] = src->src_ip6[3]; in skcpy()
140 if (sk->family != AF_INET6 || !is_loopback6(sk->src_ip6) || in egress_read_sock_fields()
231 if (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.c53 offsetof(struct bpf_sock, src_ip6[0])),
235 offsetof(struct bpf_sock, src_ip6[3])),
/tools/include/uapi/linux/
Dbpf.h4186 __u32 src_ip6[4]; member