Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dsock_destroy.c74 int serv = -1, clien = -1, accept_serv = -1, n, serv_port; in test_tcp_server() local
79 serv_port = get_socket_local_port(serv); in test_tcp_server()
80 if (!ASSERT_GE(serv_port, 0, "get_sock_local_port")) in test_tcp_server()
82 skel->bss->serv_port = (__be16) serv_port; in test_tcp_server()
148 int *listen_fds = NULL, n, i, serv_port; in test_udp_server() local
157 serv_port = get_socket_local_port(listen_fds[0]); in test_udp_server()
158 if (!ASSERT_GE(serv_port, 0, "get_sock_local_port")) in test_udp_server()
160 skel->bss->serv_port = (__be16) serv_port; in test_udp_server()
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dsock_destroy_prog.c9 __be16 serv_port = 0; variable
97 if (srcp == serv_port) in iter_tcp6_server()
139 if (srcp == serv_port) in iter_udp6_server()