Searched refs:cause_length (Results 1 – 2 of 2) sorted by relevance
1066 uint16_t code, cause_code, cause_length; in sctp_handle_error() local1085 cause_length = ntohs(cause->length); in sctp_handle_error()1086 if ((cause_length > remaining_length) || (cause_length == 0)) { in sctp_handle_error()1089 remaining_length, cause_length); in sctp_handle_error()1123 if ((cause_length >= sizeof(struct sctp_error_stale_cookie)) && in sctp_handle_error()1183 if (cause_length >= sizeof(struct sctp_error_unrecognized_chunk)) { in sctp_handle_error()1192 if (cause_length >= sizeof(struct sctp_error_cause) + sizeof(struct sctp_paramhdr)) { in sctp_handle_error()1231 adjust = SCTP_SIZE32(cause_length); in sctp_handle_error()
105 uint16_t i, param_length, cause_length, padding_length; in sctp_asconf_error_response() local111 cause_length = sizeof(struct sctp_error_cause) + tlv_length; in sctp_asconf_error_response()112 param_length = sizeof(struct sctp_asconf_paramhdr) + cause_length; in sctp_asconf_error_response()136 error->length = htons(cause_length); in sctp_asconf_error_response()