Searched refs:sinmsg (Results 1 – 2 of 2) sorted by relevance
/third_party/ltp/utils/sctp/func_tests/ |
D | test_1_to_1_initmsg_connect.c | 46 struct sctp_initmsg sinmsg; in test_sctp() local 62 sinmsg.sinit_num_ostreams = tc->streams; in test_sctp() 63 sinmsg.sinit_max_instreams = 10; in test_sctp() 64 sinmsg.sinit_max_attempts = 1; in test_sctp() 65 sinmsg.sinit_max_init_timeo = 0; in test_sctp() 66 SAFE_SETSOCKOPT(sk1, SOL_SCTP, SCTP_INITMSG, &sinmsg, len); in test_sctp() 67 sinmsg.sinit_num_ostreams = 10; in test_sctp() 68 sinmsg.sinit_max_instreams = tc->streams; in test_sctp() 69 SAFE_SETSOCKOPT(sk3, SOL_SCTP, SCTP_INITMSG, &sinmsg, len); in test_sctp()
|
D | test_1_to_1_sockopt.c | 89 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 …]
|