Searched refs:passwd (Results 1 – 4 of 4) sorted by relevance
| /lib/liblwip/src/netif/ppp/ |
| D | auth.c | 145 int (*pap_auth_hook) __P((char *user, char *passwd, char **msgp, 153 int (*pap_passwd_hook) __P((char *user, char *passwd)) = NULL; 271 { "password", o_string, passwd, 306 || fgets(passwd, MAXSECRETLEN - 1, ufile) == NULL){ 316 l = strlen(passwd); 317 if (l > 0 && passwd[l-1] == '\n') 318 passwd[l-1] = 0; 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() [all …]
|
| D | ppp.h | 130 void pppSetAuth(enum pppAuthType authType, const char *user, const char *passwd);
|
| D | ppp.c | 461 pppSetAuth(enum pppAuthType authType, const char *user, const char *passwd) in pppSetAuth() argument 517 if(passwd) { in pppSetAuth() 518 strncpy(ppp_settings.passwd, passwd, sizeof(ppp_settings.passwd)-1); in pppSetAuth() 519 ppp_settings.passwd[sizeof(ppp_settings.passwd)-1] = '\0'; in pppSetAuth() 521 ppp_settings.passwd[0] = '\0'; in pppSetAuth()
|
| D | ppp_impl.h | 297 char passwd [MAXSECRETLEN + 1]; /* Password for PAP, secret for CHAP */ member
|