Home
last modified time | relevance | path

Searched refs:TST_GET_UNUSED_PORT (Results 1 – 12 of 12) sorted by relevance

/third_party/ltp/testcases/lib/
Dtst_get_unused_port.c57 printf("%d", ntohs(TST_GET_UNUSED_PORT(family, type))); in main()
/third_party/ltp/include/old/
Dold_safe_net.h47 #define TST_GET_UNUSED_PORT(cleanup_fn, family, type) \ macro
/third_party/ltp/testcases/kernel/syscalls/bind/
Dbind01.c66 sin1.sin_port = TST_GET_UNUSED_PORT(AF_INET, SOCK_STREAM); in test_setup()
/third_party/ltp/testcases/kernel/syscalls/recvmmsg/
Drecvmmsg01.c99 unsigned int port = TST_GET_UNUSED_PORT(AF_INET, SOCK_DGRAM); in setup()
/third_party/ltp/testcases/kernel/syscalls/accept/
Daccept02.c130 server_port = TST_GET_UNUSED_PORT(AF_INET, SOCK_STREAM); in setup()
/third_party/ltp/testcases/kernel/syscalls/sendmmsg/
Dsendmmsg01.c65 unsigned int port = TST_GET_UNUSED_PORT(AF_INET, SOCK_DGRAM); in setup()
/third_party/ltp/include/
Dtst_safe_net.h77 #define TST_GET_UNUSED_PORT(family, type) \ macro
/third_party/ltp/testcases/cve/
Dicmp_rate_limit01.c216 .sin_port = TST_GET_UNUSED_PORT(AF_INET, SOCK_DGRAM), in run()
/third_party/ltp/testcases/kernel/syscalls/connect/
Dconnect01.c187 sin2.sin_port = TST_GET_UNUSED_PORT(NULL, AF_INET, SOCK_STREAM); in setup()
/third_party/ltp/testcases/kernel/syscalls/sendmsg/
Dsendmsg01.c665 sin2.sin_port = TST_GET_UNUSED_PORT(cleanup, AF_INET, SOCK_STREAM); in setup5()
/third_party/ltp/doc/
Dnetwork-c-api.txt64 - +unsigned short TST_GET_UNUSED_PORT(int family, int type)+ – Get a random
DC-Test-Network-API.asciidoc64 - +unsigned short TST_GET_UNUSED_PORT(int family, int type)+ – Get a random