Searched refs:udp_clt_sk (Results 1 – 1 of 1) sorted by relevance
/third_party/ltp/utils/sctp/func_tests/ |
D | test_sockopt.c | 68 int udp_svr_sk, udp_clt_sk, tcp_svr_sk, tcp_clt_sk; in main() local 154 udp_clt_sk = test_socket(pf_class, SOCK_SEQPACKET, IPPROTO_SCTP); in main() 158 test_enable_assoc_change(udp_clt_sk); in main() 162 test_bind(udp_clt_sk, &udp_clt_loop.sa, sizeof(udp_clt_loop)); in main() 203 test_sendmsg(udp_clt_sk, &outmessage, 0, strlen(message)+1); in main() 225 error = test_recvmsg(udp_clt_sk, &inmessage, MSG_WAITALL); in main() 242 test_getsockopt(udp_clt_sk, SCTP_STATUS, &status, &optlen); in main() 250 error = getsockopt(udp_clt_sk, SOL_SCTP, SCTP_STATUS, &status, in main() 271 close(udp_clt_sk); in main() 288 udp_clt_sk = test_socket(pf_class, SOCK_SEQPACKET, IPPROTO_SCTP); in main() [all …]
|