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