Searched refs:srv_sa6 (Results 1 – 4 of 4) sorted by relevance
/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | btf_skc_cls_ingress.c | 70 memset(&skel->bss->srv_sa6, 0, sizeof(skel->bss->srv_sa6)); in print_err_line() 106 struct sockaddr_in6 srv_sa6; in test_conn() 124 addr = (struct sockaddr_storage *)&srv_sa6; in test_conn() 125 addr_len = sizeof(srv_sa6); in test_conn() 131 addr = (struct sockaddr_storage *)&srv_sa6; in test_syncookie() 132 addr_len = sizeof(srv_sa6); in test_syncookie() 158 memcpy(&skel->bss->srv_sa6, &srv_sa6, sizeof(srv_sa6)); in test_syncookie() 21 static struct sockaddr_in6 srv_sa6; global() variable [all...] |
H A D | sock_fields.c | 39 static struct sockaddr_in6 srv_sa6, cli_sa6; variable 144 listen_sk.src_port != ntohs(srv_sa6.sin6_port) || in check_result() 158 srv_sk.src_port != ntohs(srv_sa6.sin6_port) || in check_result() 174 cli_sk.dst_port != srv_sa6.sin6_port, in check_result() 286 err = getsockname(listen_fd, (struct sockaddr *)&srv_sa6, &addrlen); in test() 290 memcpy(&skel->bss->srv_sa6, &srv_sa6, sizeof(srv_sa6)); in test()
|
/linux/tools/testing/selftests/bpf/progs/ |
H A D | test_sock_fields.c | 49 struct sockaddr_in6 srv_sa6 = {}; variable 147 if (sk->src_port == bpf_ntohs(srv_sa6.sin6_port)) { in egress_read_sock_fields() 151 } else if (sk->dst_port == srv_sa6.sin6_port) { in egress_read_sock_fields() 235 sk->src_port != bpf_ntohs(srv_sa6.sin6_port)) in ingress_read_sock_fields()
|
H A D | test_btf_skc_cls_ingress.c | 12 struct sockaddr_in6 srv_sa6 = {}; variable 107 if (th->dest != srv_sa6.sin6_port) in handle_ip6_tcp()
|