u_int32_t seq, ack, thseq, thack;
u_int utoval;
u_int16_t magic;
- int threv;
+ register int rev;
#ifdef INET6
register const struct ip6_hdr *ip6;
#endif
if (!Sflag && (flags & TH_ACK)) {
register struct tcp_seq_hash *th;
const void *src, *dst;
- register int rev;
struct tha tha;
/*
* Find (or record) the initial sequence numbers for
}
#endif
- threv = rev;
for (th = &tcp_seq_hash[tha.port % TSEQ_HASHSIZE];
th->nxt; th = th->nxt)
if (memcmp((char *)&tha, (char *)&th->addr,
thack = th->ack;
} else {
/*fool gcc*/
- thseq = thack = threv = 0;
+ thseq = thack = rev = 0;
}
if (hlen > length) {
(void)printf(" [bad hdr length %u - too long, > %u]",
s = EXTRACT_32BITS(cp + i);
LENCHECK(i + 8);
e = EXTRACT_32BITS(cp + i + 4);
- if (threv) {
+ if (rev) {
s -= thseq;
e -= thseq;
} else {