Lines Matching defs:length
267 * "len" is invariant segment length, including TCP header.
279 * tcp header plus fixed timestamp option length.
4042 /* Valid only in SYN or SYN-ACK with an even length. */
4079 int length = (th->doff * 4) - sizeof(struct tcphdr);
4082 while (length > 0) {
4090 length--;
4093 if (length < 2)
4098 if (opsize > length)
4110 length -= opsize;
4128 int length = (th->doff * 4) - sizeof(struct tcphdr);
4134 while (length > 0) {
4142 length--;
4145 if (length < 2)
4150 if (opsize > length)
4239 length -= opsize;
4297 int length = (th->doff << 2) - sizeof(*th);
4308 while (length >= minlen) {
4316 length--;
4320 if (opsize < 2 || opsize > length)
4337 length -= opsize;