Lines Matching full:ssf
3375 struct sctp_send_failed *ssf; in sctp_notify_send_failed() local
3444 ssf = mtod(m_notify, struct sctp_send_failed *); in sctp_notify_send_failed()
3445 memset(ssf, 0, notifhdr_len); in sctp_notify_send_failed()
3446 ssf->ssf_type = SCTP_SEND_FAILED; in sctp_notify_send_failed()
3448 ssf->ssf_flags = SCTP_DATA_SENT; in sctp_notify_send_failed()
3450 ssf->ssf_flags = SCTP_DATA_UNSENT; in sctp_notify_send_failed()
3452 ssf->ssf_length = (uint32_t)(notifhdr_len + payload_len); in sctp_notify_send_failed()
3453 ssf->ssf_error = error; in sctp_notify_send_failed()
3455 ssf->ssf_info.sinfo_stream = chk->rec.data.sid; in sctp_notify_send_failed()
3456 ssf->ssf_info.sinfo_ssn = (uint16_t)chk->rec.data.mid; in sctp_notify_send_failed()
3457 ssf->ssf_info.sinfo_flags = chk->rec.data.rcv_flags; in sctp_notify_send_failed()
3458 ssf->ssf_info.sinfo_ppid = chk->rec.data.ppid; in sctp_notify_send_failed()
3459 ssf->ssf_info.sinfo_context = chk->rec.data.context; in sctp_notify_send_failed()
3460 ssf->ssf_info.sinfo_assoc_id = sctp_get_associd(stcb); in sctp_notify_send_failed()
3461 ssf->ssf_assoc_id = sctp_get_associd(stcb); in sctp_notify_send_failed()
3507 struct sctp_send_failed *ssf; in sctp_notify_send_failed2() local
3552 ssf = mtod(m_notify, struct sctp_send_failed *); in sctp_notify_send_failed2()
3553 memset(ssf, 0, notifhdr_len); in sctp_notify_send_failed2()
3554 ssf->ssf_type = SCTP_SEND_FAILED; in sctp_notify_send_failed2()
3555 ssf->ssf_flags = SCTP_DATA_UNSENT; in sctp_notify_send_failed2()
3556 ssf->ssf_length = (uint32_t)(notifhdr_len + sp->length); in sctp_notify_send_failed2()
3557 ssf->ssf_error = error; in sctp_notify_send_failed2()
3559 ssf->ssf_info.sinfo_stream = sp->sid; in sctp_notify_send_failed2()
3560 ssf->ssf_info.sinfo_ssn = 0; in sctp_notify_send_failed2()
3562 ssf->ssf_info.sinfo_flags = SCTP_DATA_LAST_FRAG; in sctp_notify_send_failed2()
3564 ssf->ssf_info.sinfo_flags = SCTP_DATA_NOT_FRAG; in sctp_notify_send_failed2()
3566 ssf->ssf_info.sinfo_ppid = sp->ppid; in sctp_notify_send_failed2()
3567 ssf->ssf_info.sinfo_context = sp->context; in sctp_notify_send_failed2()
3568 ssf->ssf_info.sinfo_assoc_id = sctp_get_associd(stcb); in sctp_notify_send_failed2()
3569 ssf->ssf_assoc_id = sctp_get_associd(stcb); in sctp_notify_send_failed2()