Lines Matching refs:sacp
129 struct sctp_assoc_change *sacp;
139 if ((mp = allocb(sizeof (*sacp) + ch_len, BPRI_MED)) == NULL) {
143 sacp = (struct sctp_assoc_change *)mp->b_rptr;
144 sacp->sac_type = SCTP_ASSOC_CHANGE;
145 sacp->sac_flags = sctp->sctp_prsctp_aware ? SCTP_PRSCTP_CAPABLE : 0;
146 sacp->sac_length = sizeof (*sacp) + ch_len;
147 sacp->sac_state = state;
148 sacp->sac_error = error;
149 sacp->sac_outbound_streams = sctp->sctp_num_ostr;
150 sacp->sac_inbound_streams = sctp->sctp_num_istr;
151 sacp->sac_assoc_id = 0;
154 bcopy(ch, sacp + 1, ch_len);
155 mp->b_wptr += sacp->sac_length;
156 sctp_notify(sctp, mp, sacp->sac_length);