Searched refs:udp_clt_sk (Results 1 – 1 of 1) sorted by relevance
/external/ltp/utils/sctp/func_tests/ |
D | test_sockopt.c | 67 int udp_svr_sk, udp_clt_sk, tcp_svr_sk, tcp_clt_sk; in main() local 150 udp_clt_sk = test_socket(pf_class, SOCK_SEQPACKET, IPPROTO_SCTP); in main() 154 test_enable_assoc_change(udp_clt_sk); in main() 158 test_bind(udp_clt_sk, &udp_clt_loop.sa, sizeof(udp_clt_loop)); in main() 199 test_sendmsg(udp_clt_sk, &outmessage, 0, strlen(message)+1); in main() 221 error = test_recvmsg(udp_clt_sk, &inmessage, MSG_WAITALL); in main() 238 test_getsockopt(udp_clt_sk, SCTP_STATUS, &status, &optlen); in main() 246 error = getsockopt(udp_clt_sk, SOL_SCTP, SCTP_STATUS, &status, in main() 267 close(udp_clt_sk); in main() 284 udp_clt_sk = test_socket(pf_class, SOCK_SEQPACKET, IPPROTO_SCTP); in main() [all …]
|