Home
last modified time | relevance | path

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

/f-stack/freebsd/netinet/
H A Dsctp.h384 struct sctp_error_cause { struct
391 struct sctp_error_cause cause; /* code=SCTP_CAUSE_INVALID_STREAM */ argument
397 struct sctp_error_cause cause; /* code=SCTP_CAUSE_MISSING_PARAM */
403 struct sctp_error_cause cause; /* code=SCTP_CAUSE_STALE_COOKIE */
408 struct sctp_error_cause cause; /* code=SCTP_CAUSE_OUT_OF_RESOURCES */
412 struct sctp_error_cause cause; /* code=SCTP_CAUSE_UNRESOLVABLE_ADDR */
416 struct sctp_error_cause cause; /* code=SCTP_CAUSE_UNRECOG_CHUNK */
421 struct sctp_error_cause cause; /* code=SCTP_CAUSE_NO_USER_DATA */
426 struct sctp_error_cause cause; /* code=SCTP_CAUSE_UNSUPPORTED_HMACID */
H A Dsctp_asconf.c106 struct sctp_error_cause *error; in sctp_asconf_error_response()
114 cause_length = sizeof(struct sctp_error_cause) + tlv_length; in sctp_asconf_error_response()
137 error = (struct sctp_error_cause *)(aph + 1); in sctp_asconf_error_response()
1566 struct sctp_error_cause *eh; in sctp_asconf_process_error()
1571 eh = (struct sctp_error_cause *)(aph + 1); in sctp_asconf_process_error()
1574 if (htons(eh->length) + sizeof(struct sctp_error_cause) > in sctp_asconf_process_error()
H A Dsctp_input.c790 if (len >= sizeof(struct sctp_chunkhdr) + sizeof(struct sctp_error_cause)) { in sctp_handle_abort()
795 struct sctp_error_cause *cause; in sctp_handle_abort()
797 cause = (struct sctp_error_cause *)(abort + 1); in sctp_handle_abort()
1102 struct sctp_error_cause *cause; in sctp_handle_error()
1109 cause = (struct sctp_error_cause *)((caddr_t)ch + in sctp_handle_error()
1121 while (remaining_length >= sizeof(struct sctp_error_cause)) { in sctp_handle_error()
1210 if (cause_length >= sizeof(struct sctp_error_cause) + sizeof(struct sctp_paramhdr)) { in sctp_handle_error()
1255 cause = (struct sctp_error_cause *)((caddr_t)cause + adjust); in sctp_handle_error()
/f-stack/tools/compat/include/netinet/
H A Dsctp.h384 struct sctp_error_cause { struct
391 struct sctp_error_cause cause; /* code=SCTP_CAUSE_INVALID_STREAM */ argument
397 struct sctp_error_cause cause; /* code=SCTP_CAUSE_MISSING_PARAM */
403 struct sctp_error_cause cause; /* code=SCTP_CAUSE_STALE_COOKIE */
408 struct sctp_error_cause cause; /* code=SCTP_CAUSE_OUT_OF_RESOURCES */
412 struct sctp_error_cause cause; /* code=SCTP_CAUSE_UNRESOLVABLE_ADDR */
416 struct sctp_error_cause cause; /* code=SCTP_CAUSE_UNRECOG_CHUNK */
421 struct sctp_error_cause cause; /* code=SCTP_CAUSE_NO_USER_DATA */
426 struct sctp_error_cause cause; /* code=SCTP_CAUSE_UNSUPPORTED_HMACID */
/f-stack/freebsd/netinet/libalias/
H A Dalias_sctp.c920 …ctp_size = sizeof(struct sctphdr) + sizeof(struct sctp_chunkhdr) + sizeof(struct sctp_error_cause); in TxAbortErrorM()
928 ip_size = ip_size - sizeof(struct sctp_error_cause); in TxAbortErrorM()
929 sctp_size = sctp_size - sizeof(struct sctp_error_cause); in TxAbortErrorM()
935 …struct sctp_error_cause* error_cause = (struct sctp_error_cause *) ((char *) chunk_hdr + sizeof(*c… in TxAbortErrorM()
956 error_cause->length = htons(sizeof(struct sctp_error_cause)); in TxAbortErrorM()
957 chunk_hdr->chunk_length = htons(sizeof(*chunk_hdr) + sizeof(struct sctp_error_cause)); in TxAbortErrorM()