Lines Matching refs:sk2
77 int sk1, sk2; in main() local
128 sk2 = test_socket(pf_class, SOCK_SEQPACKET, IPPROTO_SCTP); in main()
132 test_enable_assoc_change(sk2); in main()
136 test_bind(sk2, &loop2.sa, sizeof(loop2)); in main()
139 test_listen(sk2, 1); in main()
178 error = test_recvmsg(sk2, &inmessage, MSG_WAITALL); in main()
198 error = test_recvmsg(sk2, &inmessage, MSG_WAITALL); in main()
257 error = test_recvmsg(sk2, &inmessage, MSG_WAITALL); in main()
272 remain = test_recvmsg(sk2, &inmessage, MSG_WAITALL); in main()
289 error = test_recvmsg(sk2, &inmessage, MSG_WAITALL); in main()
294 close(sk2); in main()