Home
last modified time | relevance | path

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

/external/usrsctp/programs/
Dhttp_client_upcall.c152 struct sctp_initmsg initmsg; local
220 initmsg.sinit_num_ostreams = 1;
221 initmsg.sinit_max_instreams = 1;
222 initmsg.sinit_max_attempts = 5;
223 initmsg.sinit_max_init_timeo = 4000;
224 …if (usrsctp_setsockopt(sock, IPPROTO_SCTP, SCTP_INITMSG, (const void *)&initmsg, (socklen_t)sizeof…
Dhttp_client.c113 struct sctp_initmsg initmsg; local
200 initmsg.sinit_num_ostreams = 1;
201 initmsg.sinit_max_instreams = 1;
202 initmsg.sinit_max_attempts = 5;
203 initmsg.sinit_max_init_timeo = 4000;
204 …if (usrsctp_setsockopt(sock, IPPROTO_SCTP, SCTP_INITMSG, (const void *)&initmsg, (socklen_t)sizeof…
Drtcweb.c1324 struct sctp_initmsg initmsg; local
1380 memset(&initmsg, 0, sizeof(struct sctp_initmsg));
1381 initmsg.sinit_num_ostreams = 5;
1382 initmsg.sinit_max_instreams = 65535;
1383 …if (usrsctp_setsockopt(sock, IPPROTO_SCTP, SCTP_INITMSG, &initmsg, sizeof(struct sctp_initmsg)) < …
/external/ltp/utils/sctp/func_tests/
Dtest_sockopt.c88 struct sctp_initmsg initmsg; in main() local
455 optlen = sizeof(initmsg); in main()
456 test_getsockopt(udp_svr_sk, SCTP_INITMSG, &initmsg, &optlen); in main()
461 initmsg.sinit_num_ostreams = 5; in main()
462 initmsg.sinit_max_instreams = 5; in main()
463 initmsg.sinit_max_attempts = 3; in main()
464 initmsg.sinit_max_init_timeo = 30; in main()
465 test_setsockopt(udp_svr_sk, SCTP_INITMSG, &initmsg, sizeof(initmsg)); in main()
470 optlen = sizeof(initmsg); in main()
471 test_getsockopt(udp_svr_sk, SCTP_INITMSG, &initmsg, &optlen); in main()
/external/usrsctp/fuzzer/
Dfuzzer_connect.c197 struct sctp_initmsg initmsg; in LLVMFuzzerTestOneInput() local
290 memset(&initmsg, 1, sizeof(struct sctp_initmsg)); in LLVMFuzzerTestOneInput()
291 …result = usrsctp_setsockopt(socket_client, IPPROTO_SCTP, SCTP_INITMSG, &initmsg, sizeof(struct sct… in LLVMFuzzerTestOneInput()
/external/iperf3/src/
Diperf_sctp.c463 struct sctp_initmsg initmsg; in iperf_sctp_connect() local
465 memset(&initmsg, 0, sizeof(struct sctp_initmsg)); in iperf_sctp_connect()
466 initmsg.sinit_num_ostreams = test->settings->num_ostreams; in iperf_sctp_connect()
468 if (setsockopt(s, IPPROTO_SCTP, SCTP_INITMSG, &initmsg, sizeof(struct sctp_initmsg)) < 0) { in iperf_sctp_connect()
/external/tcpdump/
Dprint-decnet.c188 struct initmsg /* initialization message */ struct
263 struct initmsg cm_init; /* initialization message */
629 if (length < sizeof(struct initmsg)) in print_decnet_ctlmsg()
/external/usrsctp/usrsctplib/netinet/
Dsctp_output.c3687 struct sctp_initmsg initmsg; local
3724 m_copydata(control, cmsg_data_off, sizeof(struct sctp_initmsg), (caddr_t)&initmsg);
3725 if (initmsg.sinit_max_attempts)
3726 stcb->asoc.max_init_times = initmsg.sinit_max_attempts;
3727 if (initmsg.sinit_num_ostreams)
3728 stcb->asoc.pre_open_streams = initmsg.sinit_num_ostreams;
3729 if (initmsg.sinit_max_instreams)
3730 stcb->asoc.max_inbound_streams = initmsg.sinit_max_instreams;
3731 if (initmsg.sinit_max_init_timeo)
3732 stcb->asoc.initial_init_rto_max = initmsg.sinit_max_init_timeo;