/third_party/ltp/utils/sctp/func_tests/ |
D | test_1_to_1_connectx.c | 74 int sk,lstn_sk,clnt_sk[SK_MAX],acpt_sk[SK_MAX],pf_class; in main() local 89 pf_class = PF_INET; in main() 91 sk = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main() 92 sk1 = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main() 95 lstn_sk = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main() 99 clnt_sk[i] = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main() 101 clnt2_sk = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main()
|
D | test_1_to_1_accept_close.c | 79 int sk,lstn_sk,clnt_sk[SK_MAX],acpt_sk,pf_class; in main() local 96 pf_class = PF_INET; in main() 98 sk = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main() 101 new_sk[i] = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main() 105 clnt_sk[i] = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main() 108 clnt2_sk[i] = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main() 111 lstn_sk = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main()
|
D | test_1_to_1_connect.c | 74 int sk,lstn_sk,clnt_sk[SK_MAX],acpt_sk[SK_MAX],pf_class; in main() local 90 pf_class = PF_INET; in main() 92 sk = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main() 93 sk1 = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main() 96 lstn_sk = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main() 100 clnt_sk[i] = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main() 102 clnt2_sk = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main()
|
D | test_1_to_1_socket_bind_listen.c | 86 int sk,pf_class; in main() local 103 pf_class = PF_INET; in main() 114 sk = socket(pf_class, -1, IPPROTO_SCTP); in main() 122 sk = socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main() 193 sk = socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main() 225 sk = socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main() 242 sk = socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main()
|
D | test_1_to_1_send.c | 70 int sk,sk1,pf_class,lstn_sk,acpt_sk,acpt1_sk, flag, count; in main() local 87 pf_class = PF_INET; in main() 89 sk = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main() 91 sk1 = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main() 93 lstn_sk = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main() 182 sk = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main() 184 lstn_sk = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main()
|
D | test_1_to_1_sendto.c | 66 int sk,sk1,pf_class,lstn_sk,acpt_sk,flag; in main() local 82 pf_class = PF_INET; in main() 84 sk = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main() 86 lstn_sk = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main() 139 sk1 = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main()
|
D | test_1_to_1_shutdown.c | 73 int pf_class; in main() local 87 pf_class = PF_INET; in main() 93 sk = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main() 94 lstn_sk = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main() 101 clnt_sk[i] = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main()
|
D | test_1_to_1_sendmsg.c | 77 int sk,sk1,pf_class,lstn_sk,acpt_sk,acpt1_sk, flag; in main() local 102 pf_class = PF_INET; in main() 104 sk = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main() 106 sk1 = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main() 108 lstn_sk = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main() 263 sk = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main() 265 lstn_sk = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main() 348 sk1 = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main()
|
D | test_1_to_1_recvfrom.c | 69 int sk,pf_class,lstn_sk,acpt_sk, flag; in main() local 89 pf_class = PF_INET; in main() 91 sk = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main() 93 lstn_sk = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main()
|
D | test_1_to_1_recvmsg.c | 69 int sk,pf_class,lstn_sk,acpt_sk; in main() local 92 pf_class = PF_INET; in main() 94 sk = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main() 96 lstn_sk = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main()
|
D | test_sockopt.c | 82 int pf_class; in main() local 115 pf_class = PF_INET6; in main() 133 pf_class = PF_INET; in main() 153 udp_svr_sk = test_socket(pf_class, SOCK_SEQPACKET, IPPROTO_SCTP); in main() 154 udp_clt_sk = test_socket(pf_class, SOCK_SEQPACKET, IPPROTO_SCTP); in main() 287 udp_svr_sk = test_socket(pf_class, SOCK_SEQPACKET, IPPROTO_SCTP); in main() 288 udp_clt_sk = test_socket(pf_class, SOCK_SEQPACKET, IPPROTO_SCTP); in main() 365 udp_svr_sk = test_socket(pf_class, SOCK_SEQPACKET, IPPROTO_SCTP); in main() 366 udp_clt_sk = test_socket(pf_class, SOCK_SEQPACKET, IPPROTO_SCTP); in main() 449 udp_svr_sk = test_socket(pf_class, SOCK_SEQPACKET, IPPROTO_SCTP); in main() [all …]
|
D | test_inaddr_any.c | 83 int pf_class; in main() local 98 pf_class = PF_INET6; in main() 108 pf_class = PF_INET; in main() 120 sk1 = test_socket(pf_class, SOCK_SEQPACKET, IPPROTO_SCTP); in main() 121 sk2 = test_socket(pf_class, SOCK_SEQPACKET, IPPROTO_SCTP); in main()
|
D | test_1_to_1_addrs.c | 83 int lstn_sk,clnt_sk,acpt_sk,pf_class,sk1; in main() local 111 pf_class = PF_INET; in main() 114 clnt_sk = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main() 117 lstn_sk = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main() 203 sk1 = socket(pf_class, SOCK_STREAM, IPPROTO_IP); in main()
|
D | test_getname.c | 69 int pf_class; in main() local 83 pf_class = PF_INET6; in main() 88 pf_class = PF_INET; in main() 95 svr_sk = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main() 121 clt_sk = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main()
|
D | test_1_to_1_nonblock.c | 69 int sk,pf_class,lstn_sk,acpt_sk,flag,cflag,sflag; in main() local 92 pf_class = PF_INET; in main() 94 sk = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main() 96 lstn_sk = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main()
|
D | test_fragments.c | 90 int pf_class; in main() local 109 pf_class = PF_INET6; in main() 119 pf_class = PF_INET; in main() 131 sk1 = test_socket(pf_class, SOCK_SEQPACKET, IPPROTO_SCTP); in main() 132 sk2 = test_socket(pf_class, SOCK_SEQPACKET, IPPROTO_SCTP); in main()
|
D | test_tcp_style.c | 72 int pf_class; in main() local 95 pf_class = PF_INET6; in main() 108 pf_class = PF_INET; in main() 123 listen_sk = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main() 131 clt_sk[i] = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main() 134 clt2_sk = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main() 398 clt2_sk = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main()
|
D | test_peeloff.c | 83 int pf_class; in main() local 94 pf_class = PF_INET6; in main() 99 pf_class = PF_INET; in main() 106 svr_sk = test_socket(pf_class, SOCK_SEQPACKET, IPPROTO_SCTP); in main() 117 clt_sk[i] = test_socket(pf_class, SOCK_SEQPACKET, IPPROTO_SCTP); in main()
|
D | test_1_to_1_sockopt.c | 86 int sk, sk1, sk2, acpt_sk, pf_class; in main() local 114 pf_class = PF_INET; in main() 116 sk = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main() 226 sk1 = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main() 227 sk2 = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main()
|
D | test_sctp_sendrecvmsg.c | 81 int pf_class; in main() local 106 pf_class = PF_INET6; in main() 116 pf_class = PF_INET; in main() 128 sk1 = test_socket(pf_class, SOCK_SEQPACKET, IPPROTO_SCTP); in main() 129 sk2 = test_socket(pf_class, SOCK_SEQPACKET, IPPROTO_SCTP); in main()
|
D | test_timetolive.c | 105 int pf_class; in main() local 128 pf_class = PF_INET6; in main() 138 pf_class = PF_INET; in main() 150 sk1 = test_socket(pf_class, SOCK_SEQPACKET, IPPROTO_SCTP); in main() 151 sk2 = test_socket(pf_class, SOCK_SEQPACKET, IPPROTO_SCTP); in main()
|
D | test_basic.c | 83 int pf_class; in main() local 106 pf_class = PF_INET6; in main() 116 pf_class = PF_INET; in main() 128 sk1 = test_socket(pf_class, SOCK_SEQPACKET, IPPROTO_SCTP); in main() 129 sk2 = test_socket(pf_class, SOCK_SEQPACKET, IPPROTO_SCTP); in main()
|