diff options
author | brian <brian@FreeBSD.org> | 2001-06-18 14:59:36 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 2001-06-18 14:59:36 +0000 |
commit | 14263ff751db1d878bad974a406737533ea6b70c (patch) | |
tree | 5bb2d9ee08d5ff16a973109f6f61899430eeb81e /usr.sbin/ppp/lcp.h | |
parent | fd0a00a7295105bd1c94ad22b13d090c15c702a4 (diff) | |
download | FreeBSD-src-14263ff751db1d878bad974a406737533ea6b70c.zip FreeBSD-src-14263ff751db1d878bad974a406737533ea6b70c.tar.gz |
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
Diffstat (limited to 'usr.sbin/ppp/lcp.h')
-rw-r--r-- | usr.sbin/ppp/lcp.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/usr.sbin/ppp/lcp.h b/usr.sbin/ppp/lcp.h index e86e3be..3e0e8b2 100644 --- a/usr.sbin/ppp/lcp.h +++ b/usr.sbin/ppp/lcp.h @@ -82,6 +82,9 @@ struct lcp { struct { u_short mru; /* Preferred MRU value */ + u_short max_mru; /* Preferred MRU value */ + u_short mtu; /* Preferred MTU */ + u_short max_mtu; /* Preferred MTU */ u_int32_t accmap; /* Initial ACCMAP value */ int openmode; /* when to start CFG REQs */ u_int32_t lqrperiod; /* LQR frequency (seconds) */ |