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