Lines Matching refs:chlen
4349 unsigned int chlen;
4354 chlen = ntohs(cp->ch.chunk_length);
4355 chlen -= sizeof(struct sctp_pktdrop_chunk);
4356 /* XXX possible chlen underflow */
4357 if (chlen == 0) {
4363 chlen -= sizeof(struct sctphdr);
4364 /* XXX possible chlen underflow */
4372 while ((ch != NULL) && (chlen >= sizeof(struct sctp_chunkhdr))) {
4383 if (at > chlen) {
4391 if (chlen < (sizeof(struct sctp_data_chunk) +
4396 if (chlen < sizeof(struct sctp_chunkhdr)) {
4406 if (chlen >= (sizeof(struct sctp_data_chunk) + sizeof(uint32_t))) {
4432 if (SCTP_SIZE32(at) > chlen) {
4435 chlen -= SCTP_SIZE32(at);
4436 if (chlen < sizeof(struct sctp_chunkhdr)) {