Home
last modified time | relevance | path

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

/freebsd/sys/netinet/
H A Dsctputil.c3830 struct sctp_stream_change_event *stradd; in sctp_notify_stream_reset_add() local
3852 stradd = mtod(m_notify, struct sctp_stream_change_event *); in sctp_notify_stream_reset_add()
3853 memset(stradd, 0, sizeof(struct sctp_stream_change_event)); in sctp_notify_stream_reset_add()
3854 stradd->strchange_type = SCTP_STREAM_CHANGE_EVENT; in sctp_notify_stream_reset_add()
3855 stradd->strchange_flags = flag; in sctp_notify_stream_reset_add()
3856 stradd->strchange_length = sizeof(struct sctp_stream_change_event); in sctp_notify_stream_reset_add()
3857 stradd->strchange_assoc_id = sctp_get_associd(stcb); in sctp_notify_stream_reset_add()
3858 stradd->strchange_instrms = stcb->asoc.streamincnt; in sctp_notify_stream_reset_add()
3859 stradd->strchange_outstrms = stcb->asoc.streamoutcnt; in sctp_notify_stream_reset_add()
H A Dsctp_usrreq.c4730 struct sctp_add_streams *stradd; local
4735 SCTP_CHECK_AND_CAST(stradd, optval, struct sctp_add_streams, optsize);
4736 SCTP_FIND_STCB(inp, stcb, stradd->sas_assoc_id);
4763 if ((stradd->sas_outstrms == 0) &&
4764 (stradd->sas_instrms == 0)) {
4768 if (stradd->sas_outstrms) {
4771 add_o_strmcnt = stradd->sas_outstrms;
4778 if (stradd->sas_instrms) {
4786 add_i_strmcnt = stradd->sas_instrms;