Home
last modified time | relevance | path

Searched refs:pf_class (Results 1 – 23 of 23) sorted by relevance

/external/ltp/utils/sctp/func_tests/
Dtest_1_to_1_connect.c73 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()
Dtest_1_to_1_connectx.c73 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()
Dtest_1_to_1_accept_close.c78 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()
Dtest_1_to_1_send.c69 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()
Dtest_1_to_1_socket_bind_listen.c85 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()
Dtest_1_to_1_sendto.c65 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()
Dtest_1_to_1_initmsg_connect.c58 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()
Dtest_1_to_1_sendmsg.c76 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()
Dtest_1_to_1_shutdown.c72 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()
Dtest_sockopt.c81 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 …]
Dtest_1_to_1_recvfrom.c68 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()
Dtest_1_to_1_recvmsg.c68 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()
Dtest_inaddr_any.c82 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()
Dtest_getname.c68 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()
Dtest_1_to_1_addrs.c82 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()
Dtest_1_to_1_nonblock.c68 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()
Dtest_tcp_style.c71 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()
Dtest_fragments.c89 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()
Dtest_peeloff.c82 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()
Dtest_sctp_sendrecvmsg.c80 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()
Dtest_1_to_1_sockopt.c85 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()
Dtest_timetolive.c104 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()
Dtest_basic.c82 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()