diff options
author | Daniel Hartmeier <dhartmei@cvs.openbsd.org> | 2003-01-21 22:23:50 +0000 |
---|---|---|
committer | Daniel Hartmeier <dhartmei@cvs.openbsd.org> | 2003-01-21 22:23:50 +0000 |
commit | b30c820cc8d9e19cd4247a454daf3ba3c05932c7 (patch) | |
tree | d65afce3131dfedb0dec8989faa682391628aec7 /sys/net/pfvar.h | |
parent | 7a17f09fb25806b9fc2a0cc090faa94806609360 (diff) |
Support for TCP window scaling (RFC 1323). ok frantzen@
Diffstat (limited to 'sys/net/pfvar.h')
-rw-r--r-- | sys/net/pfvar.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/net/pfvar.h b/sys/net/pfvar.h index 3c1b9fca777..6e6b9f94d52 100644 --- a/sys/net/pfvar.h +++ b/sys/net/pfvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pfvar.h,v 1.133 2003/01/15 16:28:56 cedric Exp $ */ +/* $OpenBSD: pfvar.h,v 1.134 2003/01/21 22:23:49 dhartmei Exp $ */ /* * Copyright (c) 2001 Daniel Hartmeier @@ -66,6 +66,8 @@ enum { PF_ADDR_ADDRMASK, PF_ADDR_NOROUTE, PF_ADDR_DYNIFTL, PF_ADDR_TABLE }; #define PF_POOL_TYPEMASK 0x0f #define PF_POOL_STATICPORT 0x10 +#define PF_WSCALE_FLAG 0x80 +#define PF_WSCALE_MASK 0x0f struct pf_addr { union { @@ -406,7 +408,7 @@ struct pf_state_peer { u_int32_t seqdiff; /* Sequence number modulator */ u_int16_t max_win; u_int8_t state; - u_int8_t pad; + u_int8_t wscale; }; struct pf_state { |