Home
last modified time | relevance | path

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

/freebsd-13.1/sys/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.c757 if (len >= sizeof(struct sctp_chunkhdr) + sizeof(struct sctp_error_cause)) { in sctp_handle_abort()
762 struct sctp_error_cause *cause; in sctp_handle_abort()
764 cause = (struct sctp_error_cause *)(abort + 1); in sctp_handle_abort()
1069 struct sctp_error_cause *cause; in sctp_handle_error()
1076 cause = (struct sctp_error_cause *)((caddr_t)ch + in sctp_handle_error()
1088 while (remaining_length >= sizeof(struct sctp_error_cause)) { in sctp_handle_error()
1177 if (cause_length >= sizeof(struct sctp_error_cause) + sizeof(struct sctp_paramhdr)) { in sctp_handle_error()
1222 cause = (struct sctp_error_cause *)((caddr_t)cause + adjust); in sctp_handle_error()
/freebsd-13.1/sys/netinet/libalias/
H A Dalias_sctp.c931 …ctp_size = sizeof(struct sctphdr) + sizeof(struct sctp_chunkhdr) + sizeof(struct sctp_error_cause); in TxAbortErrorM()
939 ip_size = ip_size - sizeof(struct sctp_error_cause); in TxAbortErrorM()
940 sctp_size = sctp_size - sizeof(struct sctp_error_cause); in TxAbortErrorM()
946 …struct sctp_error_cause* error_cause = (struct sctp_error_cause *) ((char *) chunk_hdr + sizeof(*c… in TxAbortErrorM()
967 error_cause->length = htons(sizeof(struct sctp_error_cause)); in TxAbortErrorM()
968 chunk_hdr->chunk_length = htons(sizeof(*chunk_hdr) + sizeof(struct sctp_error_cause)); in TxAbortErrorM()