Searched refs:TST_GET_UNUSED_PORT (Results 1 – 8 of 8) sorted by relevance
/external/ltp/testcases/lib/ |
D | tst_get_unused_port.c | 57 printf("%d", ntohs(TST_GET_UNUSED_PORT(family, type))); in main()
|
/external/ltp/include/old/ |
D | old_safe_net.h | 47 #define TST_GET_UNUSED_PORT(cleanup_fn, family, type) \ macro
|
/external/ltp/testcases/kernel/syscalls/bind/ |
D | bind01.c | 66 sin1.sin_port = TST_GET_UNUSED_PORT(AF_INET, SOCK_STREAM); in test_setup()
|
/external/ltp/testcases/kernel/syscalls/accept/ |
D | accept02.c | 126 server_port = TST_GET_UNUSED_PORT(AF_INET, SOCK_STREAM); in setup()
|
/external/ltp/testcases/kernel/syscalls/sendmmsg/ |
D | sendmmsg01.c | 71 unsigned int port = TST_GET_UNUSED_PORT(AF_INET, SOCK_DGRAM); in setup()
|
/external/ltp/include/ |
D | tst_safe_net.h | 83 #define TST_GET_UNUSED_PORT(family, type) \ macro
|
/external/ltp/testcases/kernel/syscalls/connect/ |
D | connect01.c | 187 sin2.sin_port = TST_GET_UNUSED_PORT(NULL, AF_INET, SOCK_STREAM); in setup()
|
/external/ltp/testcases/kernel/syscalls/sendmsg/ |
D | sendmsg01.c | 665 sin2.sin_port = TST_GET_UNUSED_PORT(cleanup, AF_INET, SOCK_STREAM); in setup5()
|