Searched refs:TST_GET_UNUSED_PORT (Results 1 - 10 of 10) sorted by relevance
/third_party/ltp/testcases/lib/ |
H A D | tst_get_unused_port.c | 57 printf("%d", ntohs(TST_GET_UNUSED_PORT(family, type))); in main()
|
/third_party/ltp/include/old/ |
H A D | old_safe_net.h | 47 #define TST_GET_UNUSED_PORT(cleanup_fn, family, type) \ macro
|
/third_party/ltp/testcases/kernel/syscalls/bind/ |
H A D | bind01.c | 66 sin1.sin_port = TST_GET_UNUSED_PORT(AF_INET, SOCK_STREAM); in test_setup()
|
/third_party/ltp/include/ |
H A D | tst_safe_net.h | 77 #define TST_GET_UNUSED_PORT(family, type) \ macro
|
/third_party/ltp/testcases/kernel/syscalls/accept/ |
H A D | accept02.c | 130 server_port = TST_GET_UNUSED_PORT(AF_INET, SOCK_STREAM); in setup()
|
/third_party/ltp/testcases/kernel/syscalls/sendmmsg/ |
H A D | sendmmsg01.c | 65 unsigned int port = TST_GET_UNUSED_PORT(AF_INET, SOCK_DGRAM); in setup()
|
/third_party/ltp/testcases/kernel/syscalls/recvmmsg/ |
H A D | recvmmsg01.c | 99 unsigned int port = TST_GET_UNUSED_PORT(AF_INET, SOCK_DGRAM); in setup()
|
/third_party/ltp/testcases/cve/ |
H A D | icmp_rate_limit01.c | 216 .sin_port = TST_GET_UNUSED_PORT(AF_INET, SOCK_DGRAM), in run()
|
/third_party/ltp/testcases/kernel/syscalls/connect/ |
H A D | connect01.c | 187 sin2.sin_port = TST_GET_UNUSED_PORT(NULL, AF_INET, SOCK_STREAM); in setup()
|
/third_party/ltp/testcases/kernel/syscalls/sendmsg/ |
H A D | sendmsg01.c | 665 sin2.sin_port = TST_GET_UNUSED_PORT(cleanup, AF_INET, SOCK_STREAM); in setup5()
|
Completed in 3 milliseconds