Home
last modified time | relevance | path

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

/f-stack/freebsd/netinet/
H A Dsctp_input.c1105 uint16_t code, cause_code, cause_length; in sctp_handle_error() local
1124 cause_length = ntohs(cause->length); in sctp_handle_error()
1125 if ((cause_length > remaining_length) || (cause_length == 0)) { in sctp_handle_error()
1128 remaining_length, cause_length); in sctp_handle_error()
1162 if ((cause_length >= sizeof(struct sctp_error_stale_cookie)) && in sctp_handle_error()
1201 if (cause_length >= sizeof(struct sctp_error_unrecognized_chunk)) { in sctp_handle_error()
1210 if (cause_length >= sizeof(struct sctp_error_cause) + sizeof(struct sctp_paramhdr)) { in sctp_handle_error()
1249 adjust = SCTP_SIZE32(cause_length); in sctp_handle_error()
H A Dsctp_asconf.c108 uint16_t i, param_length, cause_length, padding_length; in sctp_asconf_error_response() local
114 cause_length = sizeof(struct sctp_error_cause) + tlv_length; in sctp_asconf_error_response()
115 param_length = sizeof(struct sctp_asconf_paramhdr) + cause_length; in sctp_asconf_error_response()
139 error->length = htons(cause_length); in sctp_asconf_error_response()