/external/ltp/utils/sctp/func_tests/ |
D | test_1_to_1_connect.c | 73 int sk,lstn_sk,clnt_sk[SK_MAX],acpt_sk[SK_MAX],pf_class; in main() local 86 pf_class = PF_INET; in main() 88 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()
|
D | test_1_to_1_connectx.c | 73 int sk,lstn_sk,clnt_sk[SK_MAX],acpt_sk[SK_MAX],pf_class; in main() local 85 pf_class = PF_INET; in main() 87 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()
|
D | test_1_to_1_accept_close.c | 78 int sk,lstn_sk,clnt_sk[SK_MAX],acpt_sk,pf_class; in main() local 92 pf_class = PF_INET; in main() 94 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()
|
D | test_1_to_1_send.c | 69 int sk,sk1,pf_class,lstn_sk,acpt_sk,acpt1_sk, flag, count; in main() local 83 pf_class = PF_INET; in main() 85 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()
|
D | test_1_to_1_socket_bind_listen.c | 85 int sk,pf_class; in main() local 99 pf_class = PF_INET; in main() 110 sk = socket(pf_class, -1, IPPROTO_SCTP); in main() 118 sk = socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main() 189 sk = socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main() 221 sk = socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main() 238 sk = socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main()
|
D | test_1_to_1_sendto.c | 65 int sk,sk1,pf_class,lstn_sk,acpt_sk,flag; in main() local 78 pf_class = PF_INET; in main() 80 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()
|
D | test_1_to_1_initmsg_connect.c | 58 int sk1, sk2, sk3, pf_class; in main() local 74 pf_class = PF_INET; in main() 76 sk1 = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main() 77 sk3 = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main()
|
D | test_1_to_1_sendmsg.c | 76 int sk,sk1,pf_class,lstn_sk,acpt_sk,acpt1_sk, flag; in main() local 98 pf_class = PF_INET; in main() 100 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()
|
D | test_1_to_1_shutdown.c | 72 int pf_class; in main() local 83 pf_class = PF_INET; in main() 89 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()
|
D | test_sockopt.c | 81 int pf_class; in main() local 111 pf_class = PF_INET6; in main() 129 pf_class = PF_INET; in main() 149 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() [all …]
|
D | test_1_to_1_recvfrom.c | 68 int sk,pf_class,lstn_sk,acpt_sk, flag; in main() local 85 pf_class = PF_INET; in main() 87 sk = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main() 89 lstn_sk = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main()
|
D | test_1_to_1_recvmsg.c | 68 int sk,pf_class,lstn_sk,acpt_sk; in main() local 88 pf_class = PF_INET; in main() 90 sk = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main() 92 lstn_sk = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main()
|
D | test_inaddr_any.c | 82 int pf_class; in main() local 94 pf_class = PF_INET6; in main() 104 pf_class = PF_INET; in main() 116 sk1 = test_socket(pf_class, SOCK_SEQPACKET, IPPROTO_SCTP); in main() 117 sk2 = test_socket(pf_class, SOCK_SEQPACKET, IPPROTO_SCTP); in main()
|
D | test_getname.c | 68 int pf_class; in main() local 79 pf_class = PF_INET6; in main() 84 pf_class = PF_INET; in main() 91 svr_sk = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main() 117 clt_sk = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main()
|
D | test_1_to_1_addrs.c | 82 int lstn_sk,clnt_sk,acpt_sk,pf_class,sk1; in main() local 107 pf_class = PF_INET; in main() 110 clnt_sk = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main() 113 lstn_sk = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main() 199 sk1 = socket(pf_class, SOCK_STREAM, IPPROTO_IP); in main()
|
D | test_1_to_1_nonblock.c | 68 int sk,pf_class,lstn_sk,acpt_sk,flag,cflag,sflag; in main() local 88 pf_class = PF_INET; in main() 90 sk = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main() 92 lstn_sk = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main()
|
D | test_tcp_style.c | 71 int pf_class; in main() local 91 pf_class = PF_INET6; in main() 104 pf_class = PF_INET; in main() 119 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()
|
D | test_fragments.c | 89 int pf_class; in main() local 105 pf_class = PF_INET6; in main() 115 pf_class = PF_INET; in main() 127 sk1 = test_socket(pf_class, SOCK_SEQPACKET, IPPROTO_SCTP); in main() 128 sk2 = test_socket(pf_class, SOCK_SEQPACKET, IPPROTO_SCTP); in main()
|
D | test_peeloff.c | 82 int pf_class; in main() local 90 pf_class = PF_INET6; in main() 95 pf_class = PF_INET; in main() 102 svr_sk = test_socket(pf_class, SOCK_SEQPACKET, IPPROTO_SCTP); in main() 113 clt_sk[i] = test_socket(pf_class, SOCK_SEQPACKET, IPPROTO_SCTP); in main()
|
D | test_sctp_sendrecvmsg.c | 80 int pf_class; in main() local 102 pf_class = PF_INET6; in main() 112 pf_class = PF_INET; in main() 124 sk1 = test_socket(pf_class, SOCK_SEQPACKET, IPPROTO_SCTP); in main() 125 sk2 = test_socket(pf_class, SOCK_SEQPACKET, IPPROTO_SCTP); in main()
|
D | test_1_to_1_sockopt.c | 85 int sk, sk1, sk2, acpt_sk, pf_class; in main() local 110 pf_class = PF_INET; in main() 112 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()
|
D | test_timetolive.c | 104 int pf_class; in main() local 124 pf_class = PF_INET6; in main() 134 pf_class = PF_INET; in main() 146 sk1 = test_socket(pf_class, SOCK_SEQPACKET, IPPROTO_SCTP); in main() 147 sk2 = test_socket(pf_class, SOCK_SEQPACKET, IPPROTO_SCTP); in main()
|
D | test_basic.c | 82 int pf_class; in main() local 102 pf_class = PF_INET6; in main() 112 pf_class = PF_INET; in main() 124 sk1 = test_socket(pf_class, SOCK_SEQPACKET, IPPROTO_SCTP); in main() 125 sk2 = test_socket(pf_class, SOCK_SEQPACKET, IPPROTO_SCTP); in main()
|