Home
last modified time | relevance | path

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

/freebsd-12.1/sys/netinet/
H A Dsctputil.c3458 struct sctp_stream_change_event *stradd; in sctp_notify_stream_reset_add() local
3476 stradd = mtod(m_notify, struct sctp_stream_change_event *); in sctp_notify_stream_reset_add()
3477 memset(stradd, 0, sizeof(struct sctp_stream_change_event)); in sctp_notify_stream_reset_add()
3478 stradd->strchange_type = SCTP_STREAM_CHANGE_EVENT; in sctp_notify_stream_reset_add()
3479 stradd->strchange_flags = flag; in sctp_notify_stream_reset_add()
3480 stradd->strchange_length = sizeof(struct sctp_stream_change_event); in sctp_notify_stream_reset_add()
3481 stradd->strchange_assoc_id = sctp_get_associd(stcb); in sctp_notify_stream_reset_add()
3482 stradd->strchange_instrms = numberin; in sctp_notify_stream_reset_add()
3483 stradd->strchange_outstrms = numberout; in sctp_notify_stream_reset_add()
H A Dsctp_usrreq.c4723 struct sctp_add_streams *stradd; local
4728 SCTP_CHECK_AND_CAST(stradd, optval, struct sctp_add_streams, optsize);
4729 SCTP_FIND_STCB(inp, stcb, stradd->sas_assoc_id);
4756 if ((stradd->sas_outstrms == 0) &&
4757 (stradd->sas_instrms == 0)) {
4761 if (stradd->sas_outstrms) {
4764 add_o_strmcnt = stradd->sas_outstrms;
4771 if (stradd->sas_instrms) {
4779 add_i_strmcnt = stradd->sas_instrms;