Searched refs:cause_length (Results 1 – 2 of 2) sorted by relevance
1237 uint16_t code, cause_code, cause_length; in sctp_handle_error() local1259 cause_length = ntohs(cause->length); in sctp_handle_error()1260 if ((cause_length > remaining_length) || (cause_length == 0)) { in sctp_handle_error()1263 remaining_length, cause_length); in sctp_handle_error()1297 if ((cause_length >= sizeof(struct sctp_error_stale_cookie)) && in sctp_handle_error()1350 if (cause_length >= sizeof(struct sctp_error_unrecognized_chunk)) { in sctp_handle_error()1359 if (cause_length >= sizeof(struct sctp_error_cause) + sizeof(struct sctp_paramhdr)) { in sctp_handle_error()1398 adjust = SCTP_SIZE32(cause_length); in sctp_handle_error()
110 uint16_t i, param_length, cause_length, padding_length; in sctp_asconf_error_response() local116 cause_length = sizeof(struct sctp_error_cause) + tlv_length; in sctp_asconf_error_response()117 param_length = sizeof(struct sctp_asconf_paramhdr) + cause_length; in sctp_asconf_error_response()141 error->length = htons(cause_length); in sctp_asconf_error_response()