Lines Matching defs:sk1
65 int sk1, sk2;
91 sk1 = test_socket(AF_INET, SOCK_SEQPACKET, IPPROTO_SCTP);
95 test_enable_assoc_change(sk1);
99 test_bind(sk1, &loop1.sa, sizeof(loop1));
105 /* Set the autoclose duration for the associations created on sk1
109 test_setsockopt(sk1, SCTP_AUTOCLOSE, &autoclose, sizeof(autoclose));
121 test_sendmsg(sk1, &outmessage, 0, strlen(message)+1);
138 /* Get the communication up message on sk1. */
139 error = test_recvmsg(sk1, &inmessage, MSG_WAITALL);
152 /* Get the shutdown complete notification from sk1. */
153 error = test_recvmsg(sk1, &inmessage, MSG_WAITALL);
167 close(sk1);