Home
last modified time | relevance | path

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

/freebsd/sys/netinet/
H A Dsctp.h391 struct sctp_error_cause { struct
398 struct sctp_error_cause cause; /* code=SCTP_CAUSE_INVALID_STREAM */ argument
404 struct sctp_error_cause cause; /* code=SCTP_CAUSE_MISSING_PARAM */
410 struct sctp_error_cause cause; /* code=SCTP_CAUSE_STALE_COOKIE */
415 struct sctp_error_cause cause; /* code=SCTP_CAUSE_OUT_OF_RESOURCES */
419 struct sctp_error_cause cause; /* code=SCTP_CAUSE_UNRESOLVABLE_ADDR */
423 struct sctp_error_cause cause; /* code=SCTP_CAUSE_UNRECOG_CHUNK */
428 struct sctp_error_cause cause; /* code=SCTP_CAUSE_NO_USER_DATA */
433 struct sctp_error_cause cause; /* code=SCTP_CAUSE_UNSUPPORTED_HMACID */
H A Dsctp_asconf.c103 struct sctp_error_cause *error; in sctp_asconf_error_response()
111 cause_length = sizeof(struct sctp_error_cause) + tlv_length; in sctp_asconf_error_response()
134 error = (struct sctp_error_cause *)(aph + 1); in sctp_asconf_error_response()
1563 struct sctp_error_cause *eh; in sctp_asconf_process_error()
1568 eh = (struct sctp_error_cause *)(aph + 1); in sctp_asconf_process_error()
1571 if (htons(eh->length) + sizeof(struct sctp_error_cause) > in sctp_asconf_process_error()
H A Dsctp_input.c759 if (len >= sizeof(struct sctp_chunkhdr) + sizeof(struct sctp_error_cause)) { in sctp_handle_abort()
764 struct sctp_error_cause *cause; in sctp_handle_abort()
766 cause = (struct sctp_error_cause *)(abort + 1); in sctp_handle_abort()
1063 struct sctp_error_cause *cause; in sctp_handle_error()
1070 cause = (struct sctp_error_cause *)((caddr_t)ch + in sctp_handle_error()
1082 while (remaining_length >= sizeof(struct sctp_error_cause)) { in sctp_handle_error()
1192 if (cause_length >= sizeof(struct sctp_error_cause) + sizeof(struct sctp_paramhdr)) { in sctp_handle_error()
1237 cause = (struct sctp_error_cause *)((caddr_t)cause + adjust); in sctp_handle_error()
/freebsd/sys/netinet/libalias/
H A Dalias_sctp.c933 …ctp_size = sizeof(struct sctphdr) + sizeof(struct sctp_chunkhdr) + sizeof(struct sctp_error_cause); in TxAbortErrorM()
941 ip_size = ip_size - sizeof(struct sctp_error_cause); in TxAbortErrorM()
942 sctp_size = sctp_size - sizeof(struct sctp_error_cause); in TxAbortErrorM()
948 …struct sctp_error_cause* error_cause = (struct sctp_error_cause *) ((char *) chunk_hdr + sizeof(*c… in TxAbortErrorM()
969 error_cause->length = htons(sizeof(struct sctp_error_cause)); in TxAbortErrorM()
970 chunk_hdr->chunk_length = htons(sizeof(*chunk_hdr) + sizeof(struct sctp_error_cause)); in TxAbortErrorM()