Home
last modified time | relevance | path

Searched refs:test_socket (Results 1 – 25 of 53) sorted by relevance

123

/external/ltp/utils/sctp/func_tests/
Dtest_1_to_1_connect.c88 sk = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main()
89 sk1 = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main()
92 lstn_sk = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main()
96 clnt_sk[i] = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main()
98 clnt2_sk = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main()
Dtest_1_to_1_connectx.c87 sk = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main()
88 sk1 = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main()
91 lstn_sk = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main()
95 clnt_sk[i] = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main()
97 clnt2_sk = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main()
Dtest_1_to_1_accept_close.c94 sk = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main()
97 new_sk[i] = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main()
101 clnt_sk[i] = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main()
104 clnt2_sk[i] = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main()
107 lstn_sk = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main()
Dtest_1_to_1_send.c85 sk = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main()
87 sk1 = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main()
89 lstn_sk = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main()
178 sk = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main()
180 lstn_sk = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main()
Dtest_1_to_1_sendmsg.c100 sk = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main()
102 sk1 = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main()
104 lstn_sk = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main()
259 sk = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main()
261 lstn_sk = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main()
344 sk1 = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main()
Dtest_1_to_1_sendto.c80 sk = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main()
82 lstn_sk = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main()
135 sk1 = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main()
Dtest_sockopt.c149 udp_svr_sk = test_socket(pf_class, SOCK_SEQPACKET, IPPROTO_SCTP); in main()
150 udp_clt_sk = test_socket(pf_class, SOCK_SEQPACKET, IPPROTO_SCTP); in main()
283 udp_svr_sk = test_socket(pf_class, SOCK_SEQPACKET, IPPROTO_SCTP); in main()
284 udp_clt_sk = test_socket(pf_class, SOCK_SEQPACKET, IPPROTO_SCTP); in main()
362 udp_svr_sk = test_socket(pf_class, SOCK_SEQPACKET, IPPROTO_SCTP); in main()
363 udp_clt_sk = test_socket(pf_class, SOCK_SEQPACKET, IPPROTO_SCTP); in main()
446 udp_svr_sk = test_socket(pf_class, SOCK_SEQPACKET, IPPROTO_SCTP); in main()
477 udp_svr_sk = test_socket(pf_class, SOCK_SEQPACKET, IPPROTO_SCTP); in main()
529 udp_clt_sk = test_socket(pf_class, SOCK_SEQPACKET, IPPROTO_SCTP); in main()
742 udp_svr_sk = test_socket(pf_class, SOCK_SEQPACKET, IPPROTO_SCTP); in main()
[all …]
Dtest_1_to_1_shutdown.c89 sk = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main()
90 lstn_sk = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main()
97 clnt_sk[i] = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main()
Dtest_connect.c90 svr_sk = test_socket(AF_INET, SOCK_SEQPACKET, IPPROTO_SCTP); in main()
97 clt_sk1 = test_socket(AF_INET, SOCK_SEQPACKET, IPPROTO_SCTP); in main()
99 clt_sk2 = test_socket(AF_INET, SOCK_SEQPACKET, IPPROTO_SCTP); in main()
Dtest_1_to_1_initmsg_connect.c76 sk1 = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main()
77 sk3 = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main()
Dtest_recvmsg.c87 svr_sk = test_socket(AF_INET, SOCK_SEQPACKET, IPPROTO_SCTP); in main()
94 clt_sk = test_socket(AF_INET, SOCK_SEQPACKET, IPPROTO_SCTP); in main()
Dtest_autoclose.c87 sk1 = test_socket(AF_INET, SOCK_SEQPACKET, IPPROTO_SCTP); in main()
88 sk2 = test_socket(AF_INET, SOCK_SEQPACKET, IPPROTO_SCTP); in main()
Dtest_connectx.c123 svr_sk = test_socket(AF_INET, SOCK_SEQPACKET, IPPROTO_SCTP); in main()
131 clt_sk1 = test_socket(AF_INET, SOCK_SEQPACKET, IPPROTO_SCTP); in main()
134 clt_sk2 = test_socket(AF_INET, SOCK_SEQPACKET, IPPROTO_SCTP); in main()
Dtest_tcp_style.c119 listen_sk = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main()
127 clt_sk[i] = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main()
130 clt2_sk = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main()
394 clt2_sk = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main()
Dtest_1_to_1_recvfrom.c87 sk = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main()
89 lstn_sk = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main()
Dtest_1_to_1_threads.c152 server_sk = test_socket(PF_INET, SOCK_STREAM, IPPROTO_SCTP); in main()
153 client_sk = test_socket(PF_INET, SOCK_STREAM, IPPROTO_SCTP); in main()
Dtest_1_to_1_events.c86 svr_sk = test_socket(AF_INET, SOCK_STREAM, IPPROTO_SCTP); in main()
93 clt_sk = test_socket(AF_INET, SOCK_STREAM, IPPROTO_SCTP); in main()
Dtest_1_to_1_recvmsg.c90 sk = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main()
92 lstn_sk = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main()
Dtest_1_to_1_nonblock.c90 sk = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main()
92 lstn_sk = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main()
Dtest_1_to_1_sockopt.c112 sk = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main()
222 sk1 = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main()
223 sk2 = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main()
Dtest_assoc_shutdown.c92 svr_sk = test_socket(AF_INET, SOCK_SEQPACKET, IPPROTO_SCTP); in main()
107 clt_sk[i] = test_socket(AF_INET, SOCK_SEQPACKET, IPPROTO_SCTP); in main()
Dtest_assoc_abort.c93 svr_sk = test_socket(AF_INET, SOCK_SEQPACKET, IPPROTO_SCTP); in main()
107 clt_sk[i] = test_socket(AF_INET, SOCK_SEQPACKET, IPPROTO_SCTP); in main()
Dtest_inaddr_any.c116 sk1 = test_socket(pf_class, SOCK_SEQPACKET, IPPROTO_SCTP); in main()
117 sk2 = test_socket(pf_class, SOCK_SEQPACKET, IPPROTO_SCTP); in main()
/external/python/cpython2/Lib/test/
Dpythoninfo.py477 from test import test_socket
482 attributes = [name for name in dir(test_socket)
484 copy_attributes(info_add, test_socket, 'test_socket.%s', attributes)
/external/python/cpython3/Lib/test/
Dpythoninfo.py524 from test import test_socket
529 attributes = [name for name in dir(test_socket)
531 copy_attributes(info_add, test_socket, 'test_socket.%s', attributes)

123