Home
last modified time | relevance | path

Searched refs:cli_sk (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.6/tools/testing/selftests/bpf/prog_tests/
Dsock_fields.c104 struct bpf_sock srv_sk, cli_sk, listen_sk; in check_result() local
125 memcpy(&cli_sk, &skel->bss->cli_sk, sizeof(cli_sk)); in check_result()
132 print_sk(&cli_sk, "cli_sk"); in check_result()
165 CHECK(cli_sk.state == 10 || in check_result()
166 !cli_sk.state || in check_result()
167 cli_sk.family != AF_INET6 || in check_result()
168 cli_sk.protocol != IPPROTO_TCP || in check_result()
169 memcmp(cli_sk.src_ip6, &in6addr_loopback, in check_result()
170 sizeof(cli_sk.src_ip6)) || in check_result()
171 memcmp(cli_sk.dst_ip6, &in6addr_loopback, in check_result()
[all …]
/Linux-v6.6/tools/testing/selftests/bpf/progs/
Dtest_sock_fields.c51 struct bpf_sock cli_sk = {}; variable
150 sk_ret = &cli_sk; in egress_read_sock_fields()