From 7ecfe6304a5b9dc01b1e590b8768683ce6f0a04f Mon Sep 17 00:00:00 2001 From: Sylvain Rochet Date: Tue, 19 Jun 2012 23:03:47 +0200 Subject: [PATCH] reduced MTU/MRU variables --- src/netif/ppp/ppp.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/netif/ppp/ppp.h b/src/netif/ppp/ppp.h index 0150acd3..fd67fd97 100644 --- a/src/netif/ppp/ppp.h +++ b/src/netif/ppp/ppp.h @@ -298,7 +298,10 @@ struct ppp_pcb_s { u8_t phase; /* where the link is at */ u8_t err_code; /* Code indicating why interface is down. */ + /* FIXME: maybe we should cleanup one of those MTU variables */ u16_t mtu; /* Peer's mru */ + u16_t peer_mru; /* currently negotiated peer MRU */ + u32_t last_xmit; /* Time of last transmission. */ struct ppp_addrs addrs; /* PPP addresses */ @@ -333,8 +336,6 @@ struct ppp_pcb_s { eap_state eap; #endif /* EAP_SUPPORT */ - int peer_mru; /* currently negotiated peer MRU */ - fsm lcp_fsm; /* LCP fsm structure */ lcp_options lcp_wantoptions; /* Options that we want to request */ lcp_options lcp_gotoptions; /* Options that peer ack'd */