Lines Matching refs:NULL

139 int (*idle_time_hook) __P((struct ppp_idle *)) = NULL;
142 int (*pap_check_hook) __P((void)) = NULL;
147 struct wordlist **popts)) = NULL;
150 void (*pap_logout_hook) __P((void)) = NULL;
153 int (*pap_passwd_hook) __P((char *user, char *passwd)) = NULL;
253 OPT_PRIV|OPT_STATIC, NULL, MAXNAMELEN },
255 "Set name for auth with peer", OPT_STATIC, NULL, MAXNAMELEN },
273 NULL, MAXSECRETLEN },
279 { NULL }
298 if (ufile == NULL) {
305 if (fgets(user, MAXNAMELEN - 1, ufile) == NULL
306 || fgets(passwd, MAXSECRETLEN - 1, ufile) == NULL){
362 if (wp == NULL)
418 for (i = 0; (protp = ppp_protocols[i]) != NULL; ++i) {
422 if (protp->protocol != PPP_LCP && protp->lowerdown != NULL) {
425 if (protp->protocol < 0xC000 && protp->close != NULL) {
458 for (i = 0; (protp = ppp_protocols[i]) != NULL; ++i) {
459 if (protp->protocol != PPP_LCP && protp->enabled_flag && protp->lowerup != NULL) {
551 for (i = 0; (protp = ppp_protocols[i]) != NULL; ++i) {
552 if (protp->protocol < 0xC000 && protp->enabled_flag && protp->open != NULL) {
698 TIMEOUT(check_idle, NULL, ppp_settings.idle_time_limit);
723 UNTIMEOUT(check_idle, NULL);
763 TIMEOUT(check_idle, NULL, ppp_settings.idle_time_limit - itime);
836 ao->neg_upap = !ppp_settings.refuse_pap && (ppp_settings.passwd[0] != 0 || get_pap_passwd(unit, NULL, NULL));
875 struct wordlist *addrs = NULL;
912 if (addrs != NULL) {
1084 addrs = NULL;
1105 addrs = NULL;
1140 if (addresses[unit] != NULL) {
1150 if (addrs != NULL && addrs->next == NULL) {
1156 if (wo->hisaddr == 0 && *p != '!' && *p != '-' && strchr(p, '/') == NULL) {
1158 if (hp != NULL && hp->h_addrtype == AF_INET) {
1190 if (addrs == NULL) {
1255 * We assume secret is NULL or points to MAXWORDLEN bytes of space.
1271 while (wp != NULL) {
1315 if ((pw = getpwuid(getuid())) != NULL && pw->pw_name != NULL)
1329 argv[6] = NULL;
1331 auth_script_pid = run_program(script, argv, 0, auth_script_done, NULL);