Lines Matching refs:ssf
435 struct sctp_send_failed *ssf;
457 ssf = skb_push(skb, sizeof(struct sctp_send_failed));
465 ssf->ssf_type = SCTP_SEND_FAILED;
480 ssf->ssf_flags = flags;
489 ssf->ssf_length = sizeof(struct sctp_send_failed) + len;
490 skb_trim(skb, ssf->ssf_length);
500 ssf->ssf_error = error;
509 memcpy(&ssf->ssf_info, &chunk->sinfo, sizeof(struct sctp_sndrcvinfo));
514 ssf->ssf_info.sinfo_flags = chunk->chunk_hdr->flags;
526 ssf->ssf_assoc_id = sctp_assoc2id(asoc);
537 struct sctp_send_failed_event *ssf;
542 skb = skb_copy_expand(chunk->skb, sizeof(*ssf), 0, gfp);
553 ssf = skb_push(skb, sizeof(*ssf));
554 ssf->ssf_type = SCTP_SEND_FAILED_EVENT;
555 ssf->ssf_flags = flags;
556 ssf->ssf_length = sizeof(*ssf) + len;
557 skb_trim(skb, ssf->ssf_length);
558 ssf->ssf_error = error;
560 ssf->ssfe_info.snd_sid = chunk->sinfo.sinfo_stream;
561 ssf->ssfe_info.snd_ppid = chunk->sinfo.sinfo_ppid;
562 ssf->ssfe_info.snd_context = chunk->sinfo.sinfo_context;
563 ssf->ssfe_info.snd_assoc_id = chunk->sinfo.sinfo_assoc_id;
564 ssf->ssfe_info.snd_flags = chunk->chunk_hdr->flags;
567 ssf->ssf_assoc_id = sctp_assoc2id(asoc);