summaryrefslogtreecommitdiff
path: root/chat
diff options
context:
space:
mode:
authorSimon Arlott <simon.arlott.org.uk>2010-05-04 20:06:06 +0100
committerPaul Mackerras <paulus@samba.org>2010-08-24 10:55:32 +1000
commitfd1dcdf758418f040da3ed801ab001b5e46854e7 (patch)
treedfd76311a2eb29fbab3a92cbe31f4b60241f5670 /chat
parent3089132cdf5b58dbdfc2daf08ec5c08eb47f8aca (diff)
downloadppp-fd1dcdf758418f040da3ed801ab001b5e46854e7.tar.gz
rp-pppoe: allow MTU to be increased up to 1500
The ethernet data limit on rp-pppoe has been increased to 1508 to allow an MTU of 1500 to be used. To prevent problems the interface MTU is checked and used to lower the configured MTU/MRU. If MIN(MTU/MRU) is > 1492, PPP-Max-Payload is added to PADI and PADR. If PPP-Max-Payload is received in PADO or PADS, it will be used to lower the configured MTU/MRU as required. The MTU/MRU settings are stored and reloaded whenever a connection is made, to allow for the peer or interface MTU/MRU to increase if used with persist option. Conforming to RFC4638, if no PPP-Max-Payload is received, the negotiated MRU will be limited to 1492.
Diffstat (limited to 'chat')
0 files changed, 0 insertions, 0 deletions