Lines Matching refs:srv_sk
104 struct bpf_sock srv_sk, cli_sk, listen_sk; in check_result() local
123 memcpy(&srv_sk, &skel->bss->srv_sk, sizeof(srv_sk)); in check_result()
131 print_sk(&srv_sk, "srv_sk"); in check_result()
150 CHECK(srv_sk.state == 10 || in check_result()
151 !srv_sk.state || in check_result()
152 srv_sk.family != AF_INET6 || in check_result()
153 srv_sk.protocol != IPPROTO_TCP || in check_result()
154 memcmp(srv_sk.src_ip6, &in6addr_loopback, in check_result()
155 sizeof(srv_sk.src_ip6)) || in check_result()
156 memcmp(srv_sk.dst_ip6, &in6addr_loopback, in check_result()
157 sizeof(srv_sk.dst_ip6)) || in check_result()
158 srv_sk.src_port != ntohs(srv_sa6.sin6_port) || in check_result()
159 srv_sk.dst_port != cli_sa6.sin6_port, in check_result()