Home
last modified time | relevance | path

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

/external/ltp/testcases/lib/
Dtst_get_unused_port.c57 printf("%d", ntohs(TST_GET_UNUSED_PORT(family, type))); in main()
/external/ltp/include/old/
Dold_safe_net.h47 #define TST_GET_UNUSED_PORT(cleanup_fn, family, type) \ macro
/external/ltp/testcases/kernel/syscalls/bind/
Dbind01.c66 sin1.sin_port = TST_GET_UNUSED_PORT(AF_INET, SOCK_STREAM); in test_setup()
/external/ltp/testcases/kernel/syscalls/accept/
Daccept02.c126 server_port = TST_GET_UNUSED_PORT(AF_INET, SOCK_STREAM); in setup()
/external/ltp/testcases/kernel/syscalls/sendmmsg/
Dsendmmsg01.c71 unsigned int port = TST_GET_UNUSED_PORT(AF_INET, SOCK_DGRAM); in setup()
/external/ltp/include/
Dtst_safe_net.h83 #define TST_GET_UNUSED_PORT(family, type) \ macro
/external/ltp/testcases/kernel/syscalls/connect/
Dconnect01.c187 sin2.sin_port = TST_GET_UNUSED_PORT(NULL, AF_INET, SOCK_STREAM); in setup()
/external/ltp/testcases/kernel/syscalls/sendmsg/
Dsendmsg01.c665 sin2.sin_port = TST_GET_UNUSED_PORT(cleanup, AF_INET, SOCK_STREAM); in setup5()