Searched refs:stradd (Results 1 – 2 of 2) sorted by relevance
3818 struct sctp_stream_change_event *stradd; in sctp_notify_stream_reset_add() local3836 stradd = mtod(m_notify, struct sctp_stream_change_event *); in sctp_notify_stream_reset_add()3837 memset(stradd, 0, sizeof(struct sctp_stream_change_event)); in sctp_notify_stream_reset_add()3838 stradd->strchange_type = SCTP_STREAM_CHANGE_EVENT; in sctp_notify_stream_reset_add()3839 stradd->strchange_flags = flag; in sctp_notify_stream_reset_add()3840 stradd->strchange_length = sizeof(struct sctp_stream_change_event); in sctp_notify_stream_reset_add()3841 stradd->strchange_assoc_id = sctp_get_associd(stcb); in sctp_notify_stream_reset_add()3842 stradd->strchange_instrms = numberin; in sctp_notify_stream_reset_add()3843 stradd->strchange_outstrms = numberout; in sctp_notify_stream_reset_add()
4741 struct sctp_add_streams *stradd; local4746 SCTP_CHECK_AND_CAST(stradd, optval, struct sctp_add_streams, optsize);4747 SCTP_FIND_STCB(inp, stcb, stradd->sas_assoc_id);4774 if ((stradd->sas_outstrms == 0) &&4775 (stradd->sas_instrms == 0)) {4779 if (stradd->sas_outstrms) {4782 add_o_strmcnt = stradd->sas_outstrms;4789 if (stradd->sas_instrms) {4797 add_i_strmcnt = stradd->sas_instrms;