diff options
author | brian <brian@FreeBSD.org> | 2000-11-28 13:18:35 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 2000-11-28 13:18:35 +0000 |
commit | 36c3bc9fdd02adc5f96a3e76e563a04a7c574260 (patch) | |
tree | b961d5c39b6396fc1d98e9e69cf6ede026166c4d /usr.sbin/ppp/bundle.h | |
parent | 288e8299bbed979c25cb497be766dfaada3da557 (diff) | |
download | FreeBSD-src-36c3bc9fdd02adc5f96a3e76e563a04a7c574260.zip FreeBSD-src-36c3bc9fdd02adc5f96a3e76e563a04a7c574260.tar.gz |
Add ``enable/disable tcpmssfixup'', defaulting to enabled.
Suggested by: julian
Hijacked from: ru (ports/net/tcpmssd)
Diffstat (limited to 'usr.sbin/ppp/bundle.h')
-rw-r--r-- | usr.sbin/ppp/bundle.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/usr.sbin/ppp/bundle.h b/usr.sbin/ppp/bundle.h index 9ea2971..96acab1 100644 --- a/usr.sbin/ppp/bundle.h +++ b/usr.sbin/ppp/bundle.h @@ -42,8 +42,9 @@ #define OPT_PROXY 0x0040 #define OPT_PROXYALL 0x0080 #define OPT_SROUTES 0x0100 -#define OPT_THROUGHPUT 0x0200 -#define OPT_UTMP 0x0400 +#define OPT_TCPMSSFIXUP 0x0200 +#define OPT_THROUGHPUT 0x0400 +#define OPT_UTMP 0x0800 #define MAX_ENDDISC_CLASS 5 @@ -72,6 +73,7 @@ struct bundle { } dev; u_long bandwidth; /* struct tuninfo speed */ + int mtu; /* struct tuninfo MTU */ struct iface *iface; /* Interface information */ int routing_seq; /* The current routing sequence number */ @@ -101,7 +103,7 @@ struct bundle { } auth; unsigned opt; /* Uses OPT_ bits from above */ char label[50]; /* last thing `load'ed */ - u_short mtu; /* Interface mtu */ + u_short mtu; /* Required interface MTU */ u_short ifqueue; /* Interface queue size */ struct { |