Home
last modified time | relevance | path

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

/external/ltp/utils/sctp/func_tests/
Dtest_1_to_1_initmsg_connect.c63 struct sctp_initmsg sinmsg; in main() local
90 sinmsg.sinit_num_ostreams = 65535; in main()
91 sinmsg.sinit_max_instreams = 10; in main()
92 sinmsg.sinit_max_attempts = 1; in main()
93 sinmsg.sinit_max_init_timeo = 0; in main()
94 test_setsockopt(sk1, SCTP_INITMSG, &sinmsg, len); in main()
95 sinmsg.sinit_num_ostreams = 10; in main()
96 sinmsg.sinit_max_instreams = 65535; in main()
97 test_setsockopt(sk3, SCTP_INITMSG, &sinmsg, len); in main()
Dtest_1_to_1_sockopt.c89 struct sctp_initmsg sinmsg; /*set the value for SCTP_INITMSG*/ in main() local
240 sinmsg.sinit_num_ostreams = 5; in main()
241 sinmsg.sinit_max_instreams = 5; in main()
242 sinmsg.sinit_max_attempts = 3; in main()
243 sinmsg.sinit_max_init_timeo = 30; in main()
245 test_setsockopt(sk1, SCTP_INITMSG, &sinmsg, sizeof(sinmsg)); in main()
249 if (sinmsg.sinit_num_ostreams != ginmsg.sinit_num_ostreams && in main()
250 sinmsg.sinit_max_instreams != ginmsg.sinit_max_instreams && in main()
251 sinmsg.sinit_max_attempts != ginmsg.sinit_max_attempts && in main()
252 sinmsg.sinit_max_init_timeo != ginmsg.sinit_max_init_timeo) in main()
[all …]