Searched refs:TST_GET_UNUSED_PORT (Results 1 – 12 of 12) sorted by relevance
/third_party/ltp/testcases/lib/ |
D | tst_get_unused_port.c | 57 printf("%d", ntohs(TST_GET_UNUSED_PORT(family, type))); in main()
|
/third_party/ltp/include/old/ |
D | old_safe_net.h | 47 #define TST_GET_UNUSED_PORT(cleanup_fn, family, type) \ macro
|
/third_party/ltp/testcases/kernel/syscalls/bind/ |
D | bind01.c | 66 sin1.sin_port = TST_GET_UNUSED_PORT(AF_INET, SOCK_STREAM); in test_setup()
|
/third_party/ltp/testcases/kernel/syscalls/recvmmsg/ |
D | recvmmsg01.c | 99 unsigned int port = TST_GET_UNUSED_PORT(AF_INET, SOCK_DGRAM); in setup()
|
/third_party/ltp/testcases/kernel/syscalls/accept/ |
D | accept02.c | 130 server_port = TST_GET_UNUSED_PORT(AF_INET, SOCK_STREAM); in setup()
|
/third_party/ltp/testcases/kernel/syscalls/sendmmsg/ |
D | sendmmsg01.c | 65 unsigned int port = TST_GET_UNUSED_PORT(AF_INET, SOCK_DGRAM); in setup()
|
/third_party/ltp/include/ |
D | tst_safe_net.h | 77 #define TST_GET_UNUSED_PORT(family, type) \ macro
|
/third_party/ltp/testcases/cve/ |
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/ |
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/ |
D | sendmsg01.c | 665 sin2.sin_port = TST_GET_UNUSED_PORT(cleanup, AF_INET, SOCK_STREAM); in setup5()
|
/third_party/ltp/doc/ |
D | network-c-api.txt | 64 - +unsigned short TST_GET_UNUSED_PORT(int family, int type)+ – Get a random
|
D | C-Test-Network-API.asciidoc | 64 - +unsigned short TST_GET_UNUSED_PORT(int family, int type)+ – Get a random
|