Home
last modified time | relevance | path

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

/freebsd-11-stable/sys/netinet/
HDsctputil.c3513 struct sctp_stream_change_event *stradd; in sctp_notify_stream_reset_add() local
3531 stradd = mtod(m_notify, struct sctp_stream_change_event *); in sctp_notify_stream_reset_add()
3532 memset(stradd, 0, sizeof(struct sctp_stream_change_event)); in sctp_notify_stream_reset_add()
3533 stradd->strchange_type = SCTP_STREAM_CHANGE_EVENT; in sctp_notify_stream_reset_add()
3534 stradd->strchange_flags = flag; in sctp_notify_stream_reset_add()
3535 stradd->strchange_length = sizeof(struct sctp_stream_change_event); in sctp_notify_stream_reset_add()
3536 stradd->strchange_assoc_id = sctp_get_associd(stcb); in sctp_notify_stream_reset_add()
3537 stradd->strchange_instrms = numberin; in sctp_notify_stream_reset_add()
3538 stradd->strchange_outstrms = numberout; in sctp_notify_stream_reset_add()
HDsctp_usrreq.c4777 struct sctp_add_streams *stradd; local
4782 SCTP_CHECK_AND_CAST(stradd, optval, struct sctp_add_streams, optsize);
4783 SCTP_FIND_STCB(inp, stcb, stradd->sas_assoc_id);
4810 if ((stradd->sas_outstrms == 0) &&
4811 (stradd->sas_instrms == 0)) {
4815 if (stradd->sas_outstrms) {
4818 add_o_strmcnt = stradd->sas_outstrms;
4825 if (stradd->sas_instrms) {
4833 add_i_strmcnt = stradd->sas_instrms;