Lines Matching refs:chlen
4378 unsigned int chlen; in sctp_handle_packet_dropped() local
4383 chlen = ntohs(cp->ch.chunk_length); in sctp_handle_packet_dropped()
4384 chlen -= sizeof(struct sctp_pktdrop_chunk); in sctp_handle_packet_dropped()
4386 if (chlen == 0) { in sctp_handle_packet_dropped()
4392 chlen -= sizeof(struct sctphdr); in sctp_handle_packet_dropped()
4402 while ((ch != NULL) && (chlen >= sizeof(struct sctp_chunkhdr))) { in sctp_handle_packet_dropped()
4413 if (at > chlen) { in sctp_handle_packet_dropped()
4421 if (chlen < (sizeof(struct sctp_data_chunk) + in sctp_handle_packet_dropped()
4426 if (chlen < sizeof(struct sctp_chunkhdr)) { in sctp_handle_packet_dropped()
4436 if (chlen >= (sizeof(struct sctp_data_chunk) + sizeof(uint32_t))) { in sctp_handle_packet_dropped()
4462 if (SCTP_SIZE32(at) > chlen) { in sctp_handle_packet_dropped()
4465 chlen -= SCTP_SIZE32(at); in sctp_handle_packet_dropped()
4466 if (chlen < sizeof(struct sctp_chunkhdr)) { in sctp_handle_packet_dropped()