mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2025-03-21 13:20:55 +00:00
reduced MTU/MRU variables
This commit is contained in:
parent
b7be03801c
commit
7ecfe6304a
@ -298,7 +298,10 @@ struct ppp_pcb_s {
|
|||||||
u8_t phase; /* where the link is at */
|
u8_t phase; /* where the link is at */
|
||||||
u8_t err_code; /* Code indicating why interface is down. */
|
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 mtu; /* Peer's mru */
|
||||||
|
u16_t peer_mru; /* currently negotiated peer MRU */
|
||||||
|
|
||||||
u32_t last_xmit; /* Time of last transmission. */
|
u32_t last_xmit; /* Time of last transmission. */
|
||||||
|
|
||||||
struct ppp_addrs addrs; /* PPP addresses */
|
struct ppp_addrs addrs; /* PPP addresses */
|
||||||
@ -333,8 +336,6 @@ struct ppp_pcb_s {
|
|||||||
eap_state eap;
|
eap_state eap;
|
||||||
#endif /* EAP_SUPPORT */
|
#endif /* EAP_SUPPORT */
|
||||||
|
|
||||||
int peer_mru; /* currently negotiated peer MRU */
|
|
||||||
|
|
||||||
fsm lcp_fsm; /* LCP fsm structure */
|
fsm lcp_fsm; /* LCP fsm structure */
|
||||||
lcp_options lcp_wantoptions; /* Options that we want to request */
|
lcp_options lcp_wantoptions; /* Options that we want to request */
|
||||||
lcp_options lcp_gotoptions; /* Options that peer ack'd */
|
lcp_options lcp_gotoptions; /* Options that peer ack'd */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user