X-Git-Url: http://git.sameswireless.fr/l2tpns.git/blobdiff_plain/e4ea4838f832e5054593b86aae57e692f7864622..1d46a749ef2b64dadf9c34ef4f3757ef64350a24:/l2tpns.h?ds=inline diff --git a/l2tpns.h b/l2tpns.h index b4449b0..0c2cd30 100644 --- a/l2tpns.h +++ b/l2tpns.h @@ -1,5 +1,5 @@ // L2TPNS Global Stuff -// $Id: l2tpns.h,v 1.107 2005/12/14 02:19:15 bodea Exp $ +// $Id: l2tpns.h,v 1.109 2005/12/20 04:57:16 bodea Exp $ #ifndef __L2TPNS_H__ #define __L2TPNS_H__ @@ -14,7 +14,7 @@ #include #include -#define VERSION "2.1.15" +#define VERSION "2.1.16" // Limits #define MAXTUNNEL 500 // could be up to 65535 @@ -31,8 +31,8 @@ #define MAXCONTROL 1000 // max length control message we ever send... #define MINMTU 576 // minimum recommended MTU (rfc1063) -#define PPPMTU 1500 // default PPP MTU #define MAXMTU 2600 // arbitrary maximum MTU +#define PPPoE_MRU 1492 // maximum PPPoE MRU (rfc2516: 1500 less PPPoE header (6) and PPP protocol ID (2)) #define MAXETHER (MAXMTU+18) // max packet we try sending to tun #define MAXTEL 96 // telephone number #define MAXUSER 128 // username