Home
last modified time | relevance | path

Searched refs:peeloff_sk (Results 1 – 4 of 4) sorted by relevance

/external/ltp/utils/sctp/func_tests/
Dtest_peeloff.c64 int svr_sk, clt_sk[MAX_CLIENTS], peeloff_sk[MAX_CLIENTS]; in main() local
199 peeloff_sk[i] = test_sctp_peeloff(svr_sk, svr_associd[i]); in main()
205 error = listen(peeloff_sk[0], 1); in main()
216 if ((-1 != sctp_peeloff(peeloff_sk[0], svr_associd[0])) || in main()
231 error = test_recvmsg(peeloff_sk[i], &inmessage, MSG_WAITALL); in main()
244 test_sendmsg(peeloff_sk[i], &outmessage, 0, strlen(message)+1); in main()
268 test_sendmsg(peeloff_sk[0], &outmessage, 0, strlen(message)+1); in main()
281 close(peeloff_sk[i]); in main()
Dtest_connect.c60 int svr_sk, clt_sk1, clt_sk2, peeloff_sk; in main() local
190 peeloff_sk = test_sctp_peeloff(svr_sk, svr_associd1); in main()
193 error = connect(peeloff_sk, &clt_loop3.sa, sizeof(clt_loop3)); in main()
215 close(peeloff_sk); in main()
Dtest_connectx.c69 int svr_sk, clt_sk1, clt_sk2, peeloff_sk; in main() local
231 peeloff_sk = test_sctp_peeloff(svr_sk, svr_associd1); in main()
234 error = sctp_connectx(peeloff_sk, (struct sockaddr *)clt_loop3, NUMADDR, in main()
255 test_peer_addr(peeloff_sk, svr_associd1, clt_test1, NUMADDR); in main()
266 close(peeloff_sk); in main()
Dtest_sockopt.c68 int accept_sk, peeloff_sk; in main() local
909 peeloff_sk = test_sctp_peeloff(udp_svr_sk, udp_svr_associd); in main()
919 test_getsockopt(peeloff_sk, SCTP_DEFAULT_SEND_PARAM, in main()
1122 test_getsockopt(peeloff_sk, SCTP_GET_PEER_ADDR_INFO, &pinfo, &optlen); in main()
1143 close(peeloff_sk); in main()