diff options
author | Mike Frantzen <frantzen@cvs.openbsd.org> | 2001-06-26 04:17:12 +0000 |
---|---|---|
committer | Mike Frantzen <frantzen@cvs.openbsd.org> | 2001-06-26 04:17:12 +0000 |
commit | 619c2ac4b26055606d0dcb41f664275dc66e7edd (patch) | |
tree | 33aceefa2162ce6eae26ed861c27c324dda43a88 /sys/net/pfvar.h | |
parent | 26d1a0180e916a4ade29167ce8202f17c00bd8b9 (diff) |
Replicated TCP sequence tracking code in PF from Guido's IPF paper.
Diffstat (limited to 'sys/net/pfvar.h')
-rw-r--r-- | sys/net/pfvar.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/net/pfvar.h b/sys/net/pfvar.h index a709bffcd92..f420dbcee4d 100644 --- a/sys/net/pfvar.h +++ b/sys/net/pfvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pfvar.h,v 1.12 2001/06/25 22:53:39 dhartmei Exp $ */ +/* $OpenBSD: pfvar.h,v 1.13 2001/06/26 04:17:11 frantzen Exp $ */ /* * Copyright (c) 2001, Daniel Hartmeier @@ -74,8 +74,9 @@ struct pf_state_host { }; struct pf_state_peer { - u_int32_t seqlo; - u_int32_t seqhi; + u_int32_t seqlo; /* Max sequence number sent */ + u_int32_t seqhi; /* Max the other end ACKd + win */ + u_int16_t max_win; u_int8_t state; }; |