Home
last modified time | relevance | path

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

/external/ltp/utils/sctp/func_tests/
Dtest_sockopt.c309 test_setsockopt(udp_svr_sk, SCTP_EVENTS, &subscribe, in main()
311 test_setsockopt(udp_clt_sk, SCTP_EVENTS, &subscribe, in main()
342 test_setsockopt(udp_svr_sk, SCTP_EVENTS, &subscribe, in main()
465 test_setsockopt(udp_svr_sk, SCTP_INITMSG, &initmsg, sizeof(initmsg)); in main()
493 test_setsockopt(udp_svr_sk, SCTP_PEER_ADDR_PARAMS, &paddrparams, in main()
516 test_setsockopt(udp_svr_sk, SCTP_DELAYED_ACK_TIME, &value, in main()
578 test_setsockopt(udp_svr_sk, SCTP_PEER_ADDR_PARAMS, &paddrparams, in main()
767 test_setsockopt(udp_svr_sk, SCTP_DEFAULT_SEND_PARAM, in main()
771 test_setsockopt(udp_clt_sk, SCTP_DEFAULT_SEND_PARAM, in main()
865 test_setsockopt(udp_svr_sk, SCTP_DEFAULT_SEND_PARAM, in main()
[all …]
Dtest_1_to_1_initmsg_connect.c94 test_setsockopt(sk1, SCTP_INITMSG, &sinmsg, len); in main()
97 test_setsockopt(sk3, SCTP_INITMSG, &sinmsg, len); in main()
Dtest_autoclose.c105 test_setsockopt(sk1, SCTP_AUTOCLOSE, &autoclose, sizeof(autoclose)); in main()
106 test_setsockopt(sk2, SCTP_AUTOCLOSE, &autoclose, sizeof(autoclose)); in main()
Dtest_1_to_1_events.c99 test_setsockopt(svr_sk, SCTP_EVENTS, &event, len); in main()
100 test_setsockopt(clt_sk, SCTP_EVENTS, &event, len); in main()
Dtest_sctp_sendrecvmsg.c130 test_setsockopt(sk1, SCTP_MAXSEG, &val, sizeof(val)); in main()
137 test_setsockopt(sk1, SCTP_EVENTS, &subscribe, sizeof(subscribe)); in main()
138 test_setsockopt(sk2, SCTP_EVENTS, &subscribe, sizeof(subscribe)); in main()
Dtest_timetolive.c158 test_setsockopt(sk1, SCTP_MAXSEG, &val, sizeof(val)); in main()
165 test_setsockopt(sk1, SCTP_EVENTS, &subscribe, sizeof(subscribe)); in main()
166 test_setsockopt(sk2, SCTP_EVENTS, &subscribe, sizeof(subscribe)); in main()
Dtest_fragments.c205 test_setsockopt(sk1, SCTP_DISABLE_FRAGMENTS, &disable_frag, in main()
238 test_setsockopt(sk1, SCTP_DISABLE_FRAGMENTS, &disable_frag, in main()
Dtest_1_to_1_sockopt.c245 test_setsockopt(sk1, SCTP_INITMSG, &sinmsg, sizeof(sinmsg)); in main()
/external/ltp/utils/sctp/testlib/
Dsctputil.h252 static inline int test_setsockopt(int sk, int optname, const void *optval, in test_setsockopt() function
Dsctputil.c342 test_setsockopt(fd, SCTP_EVENTS, (char *)&subscribe, in test_enable_assoc_change()