Lines Matching refs:ssf
2904 struct sctp_send_failed *ssf; in sctp_notify_send_failed() local
2947 ssf = mtod(m_notify, struct sctp_send_failed *); in sctp_notify_send_failed()
2948 memset(ssf, 0, length); in sctp_notify_send_failed()
2949 ssf->ssf_type = SCTP_SEND_FAILED; in sctp_notify_send_failed()
2951 ssf->ssf_flags = SCTP_DATA_SENT; in sctp_notify_send_failed()
2953 ssf->ssf_flags = SCTP_DATA_UNSENT; in sctp_notify_send_failed()
2957 ssf->ssf_length = length; in sctp_notify_send_failed()
2958 ssf->ssf_error = error; in sctp_notify_send_failed()
2960 bzero(&ssf->ssf_info, sizeof(ssf->ssf_info)); in sctp_notify_send_failed()
2961 ssf->ssf_info.sinfo_stream = chk->rec.data.stream_number; in sctp_notify_send_failed()
2962 ssf->ssf_info.sinfo_ssn = chk->rec.data.stream_seq; in sctp_notify_send_failed()
2963 ssf->ssf_info.sinfo_flags = chk->rec.data.rcv_flags; in sctp_notify_send_failed()
2964 ssf->ssf_info.sinfo_ppid = chk->rec.data.payloadtype; in sctp_notify_send_failed()
2965 ssf->ssf_info.sinfo_context = chk->rec.data.context; in sctp_notify_send_failed()
2966 ssf->ssf_info.sinfo_assoc_id = sctp_get_associd(stcb); in sctp_notify_send_failed()
2967 ssf->ssf_assoc_id = sctp_get_associd(stcb); in sctp_notify_send_failed()
3019 struct sctp_send_failed *ssf; in sctp_notify_send_failed2() local
3062 ssf = mtod(m_notify, struct sctp_send_failed *); in sctp_notify_send_failed2()
3063 memset(ssf, 0, length); in sctp_notify_send_failed2()
3064 ssf->ssf_type = SCTP_SEND_FAILED; in sctp_notify_send_failed2()
3065 ssf->ssf_flags = SCTP_DATA_UNSENT; in sctp_notify_send_failed2()
3067 ssf->ssf_length = length; in sctp_notify_send_failed2()
3068 ssf->ssf_error = error; in sctp_notify_send_failed2()
3070 ssf->ssf_info.sinfo_stream = sp->stream; in sctp_notify_send_failed2()
3071 ssf->ssf_info.sinfo_ssn = 0; in sctp_notify_send_failed2()
3073 ssf->ssf_info.sinfo_flags = SCTP_DATA_LAST_FRAG; in sctp_notify_send_failed2()
3075 ssf->ssf_info.sinfo_flags = SCTP_DATA_NOT_FRAG; in sctp_notify_send_failed2()
3077 ssf->ssf_info.sinfo_ppid = sp->ppid; in sctp_notify_send_failed2()
3078 ssf->ssf_info.sinfo_context = sp->context; in sctp_notify_send_failed2()
3079 ssf->ssf_info.sinfo_assoc_id = sctp_get_associd(stcb); in sctp_notify_send_failed2()
3080 ssf->ssf_assoc_id = sctp_get_associd(stcb); in sctp_notify_send_failed2()