PPP_MRU
if (framemax < PPP_MRU)
framemax = PPP_MRU;
if (inp >= outpacket_buf && inp < outpacket_buf+PPP_MRU+PPP_HDRLEN)
ACKCISHORT(CI_MRU, go->neg_mru && go->mru != PPP_MRU, go->mru);
if (go->neg_mru && go->mru != PPP_MRU) {
(cishort <= PPP_MRU && cishort <= absmax_mru))
if ((go->neg_mru && go->mru != PPP_MRU)
if (cishort < PPP_MRU && cishort < absmax_mru) {
mtu = (ho->neg_mru ? ho->mru: PPP_MRU);
mru = (go->neg_mru? MAX(wo->mru, go->mru): PPP_MRU);
ppp_recv_config(f->unit, (PPP_MRU > absmax_mru ? absmax_mru : PPP_MRU),
wo->mru = PPP_MRU;
mru = PPP_MRU > absmax_mru ? absmax_mru : PPP_MRU;
return (LENCISHORT(go->neg_mru && go->mru != PPP_MRU) +
ADDCISHORT(CI_MRU, go->neg_mru && go->mru != PPP_MRU, go->mru);
u_char outpacket_buf[PPP_MRU+PPP_HDRLEN]; /* buffer for outgoing packet */
u_char inpacket_buf[PPP_MRU+PPP_HDRLEN]; /* buffer for incoming packet */
u_char nak_buffer[PPP_MRU]; /* where we construct a nak packet */
data.maxlen = PPP_MRU + PPP_HDRLEN;
if (mru < PPP_MRU) {
mru = PPP_MRU;
if ((maxlen = state->sa_mru) < PPP_MRU)
maxlen = PPP_MRU;
state->sa_mru = PPP_MRU; /* default of 1500 bytes */
cp->cp_mru = PPP_MRU;