Home
last modified time | relevance | path

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

/net/sctp/
Dulpevent.c359 struct sctp_remote_error *sre; in sctp_ulpevent_make_remote_error() local
376 skb = skb_copy_expand(chunk->skb, sizeof(*sre), 0, gfp); in sctp_ulpevent_make_remote_error()
387 sre = skb_push(skb, sizeof(*sre)); in sctp_ulpevent_make_remote_error()
390 skb_trim(skb, sizeof(*sre) + elen); in sctp_ulpevent_make_remote_error()
393 memset(sre, 0, sizeof(*sre)); in sctp_ulpevent_make_remote_error()
394 sre->sre_type = SCTP_REMOTE_ERROR; in sctp_ulpevent_make_remote_error()
395 sre->sre_flags = 0; in sctp_ulpevent_make_remote_error()
396 sre->sre_length = skb->len; in sctp_ulpevent_make_remote_error()
397 sre->sre_error = cause; in sctp_ulpevent_make_remote_error()
399 sre->sre_assoc_id = sctp_assoc2id(asoc); in sctp_ulpevent_make_remote_error()