Searched refs:stradd (Results 1 – 2 of 2) sorted by relevance
3811 struct sctp_stream_change_event *stradd; in sctp_notify_stream_reset_add() local3829 stradd = mtod(m_notify, struct sctp_stream_change_event *); in sctp_notify_stream_reset_add()3830 memset(stradd, 0, sizeof(struct sctp_stream_change_event)); in sctp_notify_stream_reset_add()3831 stradd->strchange_type = SCTP_STREAM_CHANGE_EVENT; in sctp_notify_stream_reset_add()3832 stradd->strchange_flags = flag; in sctp_notify_stream_reset_add()3833 stradd->strchange_length = sizeof(struct sctp_stream_change_event); in sctp_notify_stream_reset_add()3834 stradd->strchange_assoc_id = sctp_get_associd(stcb); in sctp_notify_stream_reset_add()3835 stradd->strchange_instrms = numberin; in sctp_notify_stream_reset_add()3836 stradd->strchange_outstrms = numberout; in sctp_notify_stream_reset_add()
4749 struct sctp_add_streams *stradd; local4754 SCTP_CHECK_AND_CAST(stradd, optval, struct sctp_add_streams, optsize);4755 SCTP_FIND_STCB(inp, stcb, stradd->sas_assoc_id);4782 if ((stradd->sas_outstrms == 0) &&4783 (stradd->sas_instrms == 0)) {4787 if (stradd->sas_outstrms) {4790 add_o_strmcnt = stradd->sas_outstrms;4797 if (stradd->sas_instrms) {4805 add_i_strmcnt = stradd->sas_instrms;