diff options
author | Brian Somers <brian@FreeBSD.org> | 2001-06-18 14:59:36 +0000 |
---|---|---|
committer | Brian Somers <brian@FreeBSD.org> | 2001-06-18 14:59:36 +0000 |
commit | c8b9fb53a1353fb6bf7c5fe8e8f590a15511a898 (patch) | |
tree | 5bb2d9ee08d5ff16a973109f6f61899430eeb81e /usr.sbin/ppp/iface.h | |
parent | 29d19e86aecf8850f2dc0ab5df023d8e5b4de9ed (diff) | |
download | src-c8b9fb53a1353fb6bf7c5fe8e8f590a15511a898.tar.gz src-c8b9fb53a1353fb6bf7c5fe8e8f590a15511a898.zip |
Handle hardware-imposed MTU/MRU limitations. PPPoE will no longer
allow MRU/MTU negotiations to exceed 1492.
Add an optional ``max'' specifier to ``set m[rt]u'', ie.
set mtu max 1480
Bump the ppp version number.
Sponsored by: Monzoon Networks AG and FreeBSD Services Limited
Notes
Notes:
svn path=/head/; revision=78410
Diffstat (limited to 'usr.sbin/ppp/iface.h')
-rw-r--r-- | usr.sbin/ppp/iface.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/ppp/iface.h b/usr.sbin/ppp/iface.h index 6de1b50684b5..d520e84b0686 100644 --- a/usr.sbin/ppp/iface.h +++ b/usr.sbin/ppp/iface.h @@ -39,6 +39,7 @@ struct iface { char *name; /* Interface name (malloc'd) */ int index; /* Interface index */ int flags; /* Interface flags (IFF_*) */ + int mtu; /* struct tuninfo MTU */ int in_addrs; /* How many in_addr's */ struct iface_addr *in_addr; /* Array of addresses (malloc'd) */ |