Searched refs:lcp_wantoptions (Results 1 – 13 of 13) 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/syslinux/core/lwip/src/netif/ppp/ |
D | auth.c | 235 { "require-pap", o_bool, &lcp_wantoptions[0].neg_upap, 237 { "+pap", o_bool, &lcp_wantoptions[0].neg_upap, 243 { "require-chap", o_bool, &lcp_wantoptions[0].neg_chap, 245 { "+chap", o_bool, &lcp_wantoptions[0].neg_chap, 448 lcp_options *wo = &lcp_wantoptions[unit]; in link_established() 786 lcp_options *wo = &lcp_wantoptions[0];
|
D | lcp.c | 99 lcp_options lcp_wantoptions[NUM_PPP]; /* Options that we want to request */ variable 243 lcp_options *wo = &lcp_wantoptions[unit]; in lcp_init() 308 lcp_options *wo = &lcp_wantoptions[unit]; in lcp_open() 355 lcp_options *wo = &lcp_wantoptions[unit]; in lcp_lowerup() 520 lcp_wantoptions[f->unit].magicnumber = magic(); in lcp_resetci() 521 lcp_wantoptions[f->unit].numloops = 0; in lcp_resetci() 522 lcp_gotoptions[f->unit] = lcp_wantoptions[f->unit]; in lcp_resetci() 762 lcp_options *wo = &lcp_wantoptions[f->unit]; in lcp_nakci() 1642 lcp_options *wo = &lcp_wantoptions[f->unit]; in lcp_up()
|
D | lcp.h | 131 extern lcp_options lcp_wantoptions[];
|
D | ppp.c | 625 lcp_wantoptions[pd].mru = PPPOE_MAXMTU; in pppOverEthernetOpen() 626 lcp_wantoptions[pd].neg_asyncmap = 0; in pppOverEthernetOpen() 627 lcp_wantoptions[pd].neg_pcompression = 0; in pppOverEthernetOpen() 628 lcp_wantoptions[pd].neg_accompression = 0; in pppOverEthernetOpen()
|