Searched refs:ppp_settings (Results 1 – 5 of 5) sorted by relevance
/external/syslinux/core/lwip/src/netif/ppp/ |
D | auth.c | 463 if (ppp_settings.auth_required && !(go->neg_chap || go->neg_upap)) { in link_established() 480 ChapAuthPeer(unit, ppp_settings.our_name, go->chap_mdtype); in link_established() 495 ChapAuthWithPeer(unit, ppp_settings.user, ho->chap_mdtype); in link_established() 504 if (ppp_settings.passwd[0] == 0) { in link_established() 506 if (!get_pap_passwd(unit, ppp_settings.user, ppp_settings.passwd)) { in link_established() 510 upap_authwithpeer(unit, ppp_settings.user, ppp_settings.passwd); in link_established() 635 BZERO(ppp_settings.passwd, MAXSECRETLEN); in auth_withpeer_fail() 662 BZERO(ppp_settings.passwd, MAXSECRETLEN); in auth_withpeer_success() 693 …UG(LOG_INFO, ("np_up: maxconnect=%d idle_time_limit=%d\n",ppp_settings.maxconnect,ppp_settings.idl… in np_up() 697 if (ppp_settings.idle_time_limit > 0) { in np_up() [all …]
|
D | ppp.c | 429 struct ppp_settings ppp_settings; variable 437 memset(&ppp_settings, 0, sizeof(ppp_settings)); in pppInit() 438 ppp_settings.usepeerdns = 1; in pppInit() 460 ppp_settings.refuse_pap = 1; in pppSetAuth() 463 ppp_settings.refuse_pap = 0; in pppSetAuth() 465 ppp_settings.refuse_chap = 1; in pppSetAuth() 488 ppp_settings.refuse_pap = 0; in pppSetAuth() 489 ppp_settings.refuse_chap = 0; in pppSetAuth() 493 ppp_settings.refuse_pap = 0; in pppSetAuth() 494 ppp_settings.refuse_chap = 1; in pppSetAuth() [all …]
|
D | ppp.h | 319 struct ppp_settings { struct 349 extern struct ppp_settings ppp_settings; argument
|
D | chap.c | 465 if (ppp_settings.remote_name[0] != 0 && (ppp_settings.explicit_remote || rhostname[0] == 0)) { in ChapReceiveChallenge() 466 strncpy(rhostname, ppp_settings.remote_name, sizeof(rhostname)); in ChapReceiveChallenge()
|
D | ipcp.c | 292 wo->req_dns1 = ppp_settings.usepeerdns; in ipcp_resetci() 293 wo->req_dns2 = ppp_settings.usepeerdns; in ipcp_resetci() 1206 if (wo->ouraddr == 0 && !ppp_settings.disable_defaultip) { 1248 if (ppp_settings.usepeerdns && (go->dnsaddr[0] || go->dnsaddr[1])) { in ipcp_up()
|