Home | History | Annotate | Download | only in func_tests

Lines Matching refs:sk1

64 	int sk1, sk2;
87 sk1 = test_socket(AF_INET, SOCK_SEQPACKET, IPPROTO_SCTP);
91 test_enable_assoc_change(sk1);
95 test_bind(sk1, &loop1.sa, sizeof(loop1));
101 /* Set the autoclose duration for the associations created on sk1
105 test_setsockopt(sk1, SCTP_AUTOCLOSE, &autoclose, sizeof(autoclose));
117 test_sendmsg(sk1, &outmessage, 0, strlen(message)+1);
134 /* Get the communication up message on sk1. */
135 error = test_recvmsg(sk1, &inmessage, MSG_WAITALL);
148 /* Get the shutdown complete notification from sk1. */
149 error = test_recvmsg(sk1, &inmessage, MSG_WAITALL);
163 close(sk1);