Home
last modified time | relevance | path

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

/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/iperf3/src/
Diperf_sctp.c419 struct sctp_initmsg initmsg; in iperf_sctp_connect() local
421 memset(&initmsg, 0, sizeof(struct sctp_initmsg)); in iperf_sctp_connect()
422 initmsg.sinit_num_ostreams = test->settings->num_ostreams; in iperf_sctp_connect()
424 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()