Lines Matching refs:sk1
77 int sk1, sk2;
127 sk1 = test_socket(pf_class, SOCK_SEQPACKET, IPPROTO_SCTP);
131 test_enable_assoc_change(sk1);
135 test_bind(sk1, &loop1.sa, sizeof(loop1));
164 test_sendmsg(sk1, &outmessage, 0, msg_len);
186 /* Get the communication up message on sk1. */
188 error = test_recvmsg(sk1, &inmessage, MSG_WAITALL);
205 test_setsockopt(sk1, SCTP_DISABLE_FRAGMENTS, &disable_frag,
213 error = test_getsockopt(sk1, SCTP_DISABLE_FRAGMENTS, &disable_frag,
229 error = sendmsg(sk1, &outmessage, 0);
238 test_setsockopt(sk1, SCTP_DISABLE_FRAGMENTS, &disable_frag,
252 bytes_sent = test_sendmsg(sk1, &outmessage, 0, msg_len);
285 close(sk1);