Home
last modified time | relevance | path

Searched refs:sre (Results 1 – 1 of 1) sorted by relevance

/net/sctp/
Dulpevent.c378 struct sctp_remote_error *sre; in sctp_ulpevent_make_remote_error() local
395 skb = skb_copy_expand(chunk->skb, sizeof(*sre), 0, gfp); in sctp_ulpevent_make_remote_error()
406 sre = skb_push(skb, sizeof(*sre)); in sctp_ulpevent_make_remote_error()
409 skb_trim(skb, sizeof(*sre) + elen); in sctp_ulpevent_make_remote_error()
412 memset(sre, 0, sizeof(*sre)); in sctp_ulpevent_make_remote_error()
413 sre->sre_type = SCTP_REMOTE_ERROR; in sctp_ulpevent_make_remote_error()
414 sre->sre_flags = 0; in sctp_ulpevent_make_remote_error()
415 sre->sre_length = skb->len; in sctp_ulpevent_make_remote_error()
416 sre->sre_error = cause; in sctp_ulpevent_make_remote_error()
418 sre->sre_assoc_id = sctp_assoc2id(asoc); in sctp_ulpevent_make_remote_error()