Lines Matching defs:ssf
2932 struct sctp_send_failed *ssf;
2997 ssf = mtod(m_notify, struct sctp_send_failed *);
2998 memset(ssf, 0, notifhdr_len);
2999 ssf->ssf_type = SCTP_SEND_FAILED;
3001 ssf->ssf_flags = SCTP_DATA_SENT;
3003 ssf->ssf_flags = SCTP_DATA_UNSENT;
3005 ssf->ssf_length = (uint32_t) (notifhdr_len + payload_len);
3006 ssf->ssf_error = error;
3008 ssf->ssf_info.sinfo_stream = chk->rec.data.stream_number;
3009 ssf->ssf_info.sinfo_ssn = (uint16_t) chk->rec.data.stream_seq;
3010 ssf->ssf_info.sinfo_flags = chk->rec.data.rcv_flags;
3011 ssf->ssf_info.sinfo_ppid = chk->rec.data.payloadtype;
3012 ssf->ssf_info.sinfo_context = chk->rec.data.context;
3013 ssf->ssf_info.sinfo_assoc_id = sctp_get_associd(stcb);
3014 ssf->ssf_assoc_id = sctp_get_associd(stcb);
3064 struct sctp_send_failed *ssf;
3105 ssf = mtod(m_notify, struct sctp_send_failed *);
3106 memset(ssf, 0, notifhdr_len);
3107 ssf->ssf_type = SCTP_SEND_FAILED;
3108 ssf->ssf_flags = SCTP_DATA_UNSENT;
3109 ssf->ssf_length = (uint32_t) (notifhdr_len + sp->length);
3110 ssf->ssf_error = error;
3112 ssf->ssf_info.sinfo_stream = sp->stream;
3113 ssf->ssf_info.sinfo_ssn = 0;
3115 ssf->ssf_info.sinfo_flags = SCTP_DATA_LAST_FRAG;
3117 ssf->ssf_info.sinfo_flags = SCTP_DATA_NOT_FRAG;
3119 ssf->ssf_info.sinfo_ppid = sp->ppid;
3120 ssf->ssf_info.sinfo_context = sp->context;
3121 ssf->ssf_info.sinfo_assoc_id = sctp_get_associd(stcb);
3122 ssf->ssf_assoc_id = sctp_get_associd(stcb);