Home
last modified time | relevance | path

Searched refs:udp_svr_sk (Results 1 – 1 of 1) sorted by relevance

/external/ltp/utils/sctp/func_tests/
Dtest_sockopt.c67 int udp_svr_sk, udp_clt_sk, tcp_svr_sk, tcp_clt_sk; in main() local
149 udp_svr_sk = test_socket(pf_class, SOCK_SEQPACKET, IPPROTO_SCTP); in main()
153 test_enable_assoc_change(udp_svr_sk); in main()
157 test_bind(udp_svr_sk, &udp_svr_loop.sa, sizeof(udp_svr_loop)); in main()
161 test_listen(udp_svr_sk, 1); in main()
169 error = getsockopt(udp_svr_sk, SOL_SCTP, SCTP_STATUS, &status, in main()
212 error = test_recvmsg(udp_svr_sk, &inmessage, MSG_WAITALL); in main()
230 error = test_recvmsg(udp_svr_sk, &inmessage, MSG_WAITALL); in main()
258 error = getsockopt(udp_svr_sk, SOL_SCTP, SCTP_STATUS, &status, in main()
271 error = test_recvmsg(udp_svr_sk, &inmessage, MSG_WAITALL); in main()
[all …]