Searched refs:cause_length (Results 1 – 2 of 2) sorted by relevance
1246 uint16_t code, cause_code, cause_length; in sctp_handle_error() local1268 cause_length = ntohs(cause->length); in sctp_handle_error()1269 if ((cause_length > remaining_length) || (cause_length == 0)) { in sctp_handle_error()1272 remaining_length, cause_length); in sctp_handle_error()1306 if ((cause_length >= sizeof(struct sctp_error_stale_cookie)) && in sctp_handle_error()1359 if (cause_length >= sizeof(struct sctp_error_unrecognized_chunk)) { in sctp_handle_error()1368 if (cause_length >= sizeof(struct sctp_error_cause) + sizeof(struct sctp_paramhdr)) { in sctp_handle_error()1407 adjust = SCTP_SIZE32(cause_length); in sctp_handle_error()
114 uint16_t i, param_length, cause_length, padding_length; in sctp_asconf_error_response() local120 cause_length = sizeof(struct sctp_error_cause) + tlv_length; in sctp_asconf_error_response()121 param_length = sizeof(struct sctp_asconf_paramhdr) + cause_length; in sctp_asconf_error_response()145 error->length = htons(cause_length); in sctp_asconf_error_response()