Lines Matching refs:sk1
66 int sk1, sk2; in main() local
124 sk1 = test_socket(pf_class, SOCK_SEQPACKET, IPPROTO_SCTP); in main()
130 test_bind(sk1, &loop1.sa, sizeof(loop1)); in main()
136 test_enable_assoc_change(sk1); in main()
187 test_sendmsg(sk1, &outmessage, 0, strlen(message)+1); in main()
238 error = test_recvmsg(sk1, &inmessage, MSG_WAITALL); in main()
304 bytes_sent = sendmsg(sk1, &outmessage, MSG_NOSIGNAL); in main()
313 bytes_sent = sendmsg(sk1, &outmessage, MSG_NOSIGNAL); in main()
323 test_sendmsg(sk1, &outmessage, 0, strlen(telephone)+1); in main()
329 test_sendmsg(sk1, &outmessage, 0, strlen(telephone_resp)+1); in main()
346 n_laddrs = sctp_getladdrs(sk1, associd1, &laddrs); in main()
376 n_paddrs = sctp_getpaddrs(sk1, associd1, &paddrs); in main()
407 close(sk1); in main()