Searched refs:lcp_wantoptions (Results 1 – 10 of 10) sorted by relevance
/external/ppp/pppd/plugins/rp-pppoe/ |
D | plugin.c | 148 lcp_wantoptions[0].mru = conn->mru; in PPPOEConnectDevice() 166 if (lcp_wantoptions[0].mru > ifr.ifr_mtu - TOTAL_OVERHEAD) in PPPOEConnectDevice() 167 lcp_wantoptions[0].mru = ifr.ifr_mtu - TOTAL_OVERHEAD; in PPPOEConnectDevice() 402 lcp_wantoptions[0].neg_accompression = 0; in pppoe_check_options() 405 lcp_wantoptions[0].neg_asyncmap = 0; in pppoe_check_options() 408 lcp_wantoptions[0].neg_pcompression = 0; in pppoe_check_options() 412 if (lcp_wantoptions[0].mru > MAX_PPPOE_MTU) in pppoe_check_options() 413 lcp_wantoptions[0].mru = MAX_PPPOE_MTU; in pppoe_check_options() 417 conn->mru = lcp_wantoptions[0].mru; in pppoe_check_options()
|
D | discovery.c | 177 if (lcp_wantoptions[0].mru > mru) in parsePADOTags() 178 lcp_wantoptions[0].mru = mru; in parsePADOTags() 227 if (lcp_wantoptions[0].mru > mru) in parsePADSTags() 228 lcp_wantoptions[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() 669 if (lcp_wantoptions[0].mru > ETH_PPPOE_MTU) in discovery() 670 lcp_wantoptions[0].mru = ETH_PPPOE_MTU; in discovery()
|
/external/ppp/pppd/plugins/pppoatm/ |
D | pppoatm.c | 90 lcp_wantoptions[0].neg_accompression = 0; in setdevname_pppoatm() 92 lcp_wantoptions[0].neg_asyncmap = 0; in setdevname_pppoatm() 94 lcp_wantoptions[0].neg_pcompression = 0; in setdevname_pppoatm() 148 qos.rxtp.max_sdu = lcp_wantoptions[0].mru + pppoatm_overhead(); in connect_pppoatm() 157 pppoatm_max_mru = lcp_wantoptions[0].mru; in connect_pppoatm()
|
/external/ppp/pppd/ |
D | lcp.c | 92 { "noaccomp", o_bool, &lcp_wantoptions[0].neg_accompression, 95 { "-ac", o_bool, &lcp_wantoptions[0].neg_accompression, 99 { "asyncmap", o_uint32, &lcp_wantoptions[0].asyncmap, 101 OPT_OR, &lcp_wantoptions[0].neg_asyncmap }, 102 { "-as", o_uint32, &lcp_wantoptions[0].asyncmap, 104 OPT_ALIAS | OPT_OR, &lcp_wantoptions[0].neg_asyncmap }, 105 { "default-asyncmap", o_uint32, &lcp_wantoptions[0].asyncmap, 109 { "-am", o_uint32, &lcp_wantoptions[0].asyncmap, 114 { "nomagic", o_bool, &lcp_wantoptions[0].neg_magicnumber, 117 { "-mn", o_bool, &lcp_wantoptions[0].neg_magicnumber, [all …]
|
D | auth.c | 286 { "require-pap", o_bool, &lcp_wantoptions[0].neg_upap, 289 { "+pap", o_bool, &lcp_wantoptions[0].neg_upap, 295 &lcp_wantoptions[0].chap_mdtype }, 299 &lcp_wantoptions[0].chap_mdtype }, 304 &lcp_wantoptions[0].chap_mdtype }, 308 &lcp_wantoptions[0].chap_mdtype }, 312 &lcp_wantoptions[0].chap_mdtype }, 316 &lcp_wantoptions[0].chap_mdtype }, 350 { "require-eap", o_bool, &lcp_wantoptions[0].neg_eap, 730 lcp_options *wo = &lcp_wantoptions[unit]; [all …]
|
D | lcp.h | 116 extern lcp_options lcp_wantoptions[];
|
D | cbcp.c | 108 lcp_wantoptions[0].neg_cbcp = 1;
|
D | tty.c | 339 lcp_wantoptions[0].asyncmap |= 0x000A0000; /* escape ^S and ^Q */ 340 lcp_wantoptions[0].neg_asyncmap = 1;
|
D | sys-solaris.c | 913 if ((!lcp_wantoptions[0].neg_accompression) && in any_compressions() 914 (!lcp_wantoptions[0].neg_pcompression) && in any_compressions()
|
/external/ppp/pppd/plugins/pppol2tp-android/ |
D | pppol2tp-android.c | 88 int new_mru = lcp_wantoptions[0].mru; /* "mru" pppd option */ in pppol2tp_recv_config()
|