Home
last modified time | relevance | path

Searched refs:lcp_allowoptions (Results 1 – 8 of 8) sorted by relevance

/external/ppp/pppd/plugins/rp-pppoe/
Dplugin.c147 lcp_allowoptions[0].mru = conn->mtu; in PPPOEConnectDevice()
164 if (lcp_allowoptions[0].mru > ifr.ifr_mtu - TOTAL_OVERHEAD) in PPPOEConnectDevice()
165 lcp_allowoptions[0].mru = ifr.ifr_mtu - TOTAL_OVERHEAD; in PPPOEConnectDevice()
401 lcp_allowoptions[0].neg_accompression = 0; in pppoe_check_options()
404 lcp_allowoptions[0].neg_asyncmap = 0; in pppoe_check_options()
407 lcp_allowoptions[0].neg_pcompression = 0; in pppoe_check_options()
410 if (lcp_allowoptions[0].mru > MAX_PPPOE_MTU) in pppoe_check_options()
411 lcp_allowoptions[0].mru = MAX_PPPOE_MTU; in pppoe_check_options()
416 conn->mtu = lcp_allowoptions[0].mru; in pppoe_check_options()
Ddiscovery.c175 if (lcp_allowoptions[0].mru > mru) in parsePADOTags()
176 lcp_allowoptions[0].mru = mru; in parsePADOTags()
225 if (lcp_allowoptions[0].mru > mru) in parsePADSTags()
226 lcp_allowoptions[0].mru = mru; in parsePADSTags()
317 if (MIN(lcp_allowoptions[0].mru, lcp_wantoptions[0].mru) > ETH_PPPOE_MTU) { in sendPADI()
319 UINT16_t mru = htons(MIN(lcp_allowoptions[0].mru, lcp_wantoptions[0].mru)); in sendPADI()
494 if (MIN(lcp_allowoptions[0].mru, lcp_wantoptions[0].mru) > ETH_PPPOE_MTU) { in sendPADR()
496 UINT16_t mru = htons(MIN(lcp_allowoptions[0].mru, lcp_wantoptions[0].mru)); in sendPADR()
667 if (lcp_allowoptions[0].mru > ETH_PPPOE_MTU) in discovery()
668 lcp_allowoptions[0].mru = ETH_PPPOE_MTU; in discovery()
/external/ppp/pppd/plugins/pppoatm/
Dpppoatm.c91 lcp_allowoptions[0].neg_accompression = 0; in setdevname_pppoatm()
93 lcp_allowoptions[0].neg_asyncmap = 0; in setdevname_pppoatm()
147 qos.txtp.max_sdu = lcp_allowoptions[0].mru + pppoatm_overhead(); in connect_pppoatm()
156 pppoatm_max_mtu = lcp_allowoptions[0].mru; in connect_pppoatm()
/external/ppp/pppd/
Dlcp.c94 OPT_A2CLR, &lcp_allowoptions[0].neg_accompression },
97 OPT_ALIAS | OPT_A2CLR, &lcp_allowoptions[0].neg_accompression },
108 &lcp_allowoptions[0].neg_asyncmap },
112 &lcp_allowoptions[0].neg_asyncmap },
116 OPT_A2CLR, &lcp_allowoptions[0].neg_magicnumber },
119 OPT_ALIAS | OPT_A2CLR, &lcp_allowoptions[0].neg_magicnumber },
126 OPT_PRIOSUB | OPT_A2CLR, &lcp_allowoptions[0].neg_mru },
129 OPT_ALIAS | OPT_PRIOSUB | OPT_A2CLR, &lcp_allowoptions[0].neg_mru },
131 { "mtu", o_int, &lcp_allowoptions[0].mru,
136 OPT_A2CLR, &lcp_allowoptions[0].neg_pcompression },
[all …]
Dlcp.h118 extern lcp_options lcp_allowoptions[];
Dauth.c326 &lcp_allowoptions[0].chap_mdtype },
330 &lcp_allowoptions[0].chap_mdtype },
335 &lcp_allowoptions[0].chap_mdtype },
339 &lcp_allowoptions[0].chap_mdtype },
343 &lcp_allowoptions[0].chap_mdtype },
347 &lcp_allowoptions[0].chap_mdtype },
420 lcp_allowoptions[0].neg_upap = 1;
1321 lcp_options *ao = &lcp_allowoptions[unit];
Ddemand.c97 netif_set_mtu(0, MIN(lcp_allowoptions[0].mru, PPP_MRU)); in demand_conf()
Dtty.c374 lcp_allowoptions[0].asyncmap = xmit_accm[0];