Searched refs:lcp_allowoptions (Results 1 – 8 of 8) sorted by relevance
/external/ppp/pppd/plugins/rp-pppoe/ |
D | plugin.c | 147 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()
|
D | discovery.c | 175 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/ |
D | pppoatm.c | 91 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/ |
D | lcp.c | 94 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 …]
|
D | lcp.h | 118 extern lcp_options lcp_allowoptions[];
|
D | auth.c | 326 &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];
|
D | demand.c | 97 netif_set_mtu(0, MIN(lcp_allowoptions[0].mru, PPP_MRU)); in demand_conf()
|
D | tty.c | 374 lcp_allowoptions[0].asyncmap = xmit_accm[0];
|