diff options
author | brian <brian@FreeBSD.org> | 1999-12-30 13:27:15 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1999-12-30 13:27:15 +0000 |
commit | d229c8a13c2216189320fb983ddf4e7b04f026f0 (patch) | |
tree | f950fcf7aebcf5bdc191fd5cd417bf47da629e66 /usr.sbin/ppp/hdlc.h | |
parent | 1f35ac704665128c161bfcf29edfe93dd494f924 (diff) | |
download | FreeBSD-src-d229c8a13c2216189320fb983ddf4e7b04f026f0.zip FreeBSD-src-d229c8a13c2216189320fb983ddf4e7b04f026f0.tar.gz |
Increase M_MAXLEN from 2048 - sizeof struct mbuf to
4096 - sizeof struct mbuf, and set MAX_MRU and MAX_MTU
back to 2048.
2048 is big enough as an MTU/MRU, but we need to be able
to allocate larger mbufs after reassembling IP fragments.
Diffstat (limited to 'usr.sbin/ppp/hdlc.h')
-rw-r--r-- | usr.sbin/ppp/hdlc.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ppp/hdlc.h b/usr.sbin/ppp/hdlc.h index a370469..25398a4 100644 --- a/usr.sbin/ppp/hdlc.h +++ b/usr.sbin/ppp/hdlc.h @@ -36,11 +36,11 @@ #define GOODFCS 0xf0b8 /* Good FCS value */ #define DEF_MRU 1500 -#define MAX_MRU M_MAXLEN +#define MAX_MRU 2048 #define MIN_MRU 296 #define DEF_MTU 0 /* whatever peer says */ -#define MAX_MTU M_MAXLEN +#define MAX_MTU 2048 #define MIN_MTU 296 struct physical; |