Home
last modified time | relevance | path

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

/Linux-v5.10/tools/testing/selftests/bpf/prog_tests/
Dsock_fields.c94 struct bpf_sock srv_sk, cli_sk, listen_sk; in check_result() local
110 memcpy(&cli_sk, &skel->bss->cli_sk, sizeof(cli_sk)); in check_result()
117 print_sk(&cli_sk, "cli_sk"); in check_result()
150 CHECK(cli_sk.state == 10 || in check_result()
151 !cli_sk.state || in check_result()
152 cli_sk.family != AF_INET6 || in check_result()
153 cli_sk.protocol != IPPROTO_TCP || in check_result()
154 memcmp(cli_sk.src_ip6, &in6addr_loopback, in check_result()
155 sizeof(cli_sk.src_ip6)) || in check_result()
156 memcmp(cli_sk.dst_ip6, &in6addr_loopback, in check_result()
[all …]
/Linux-v5.10/tools/testing/selftests/bpf/progs/
Dtest_sock_fields.c50 struct bpf_sock cli_sk = {}; variable
149 sk_ret = &cli_sk; in egress_read_sock_fields()