Home | History | Annotate | Download | only in pppd

Lines Matching defs:wp

492     struct wordlist *wp;
494 wp
495 if (wp == NULL)
497 wp->word = (char *) (wp + 1);
498 wp->next = noauth_addrs;
499 BCOPY(addr, wp->word, l);
500 noauth_addrs = wp;
514 struct wordlist *wp;
516 wp = (struct wordlist *) malloc(sizeof(struct wordlist) + l);
517 if (wp == NULL)
519 wp->word = (char *) (wp + 1);
520 wp->next = permitted_numbers;
521 BCOPY(number, wp->word, l);
522 permitted_numbers = wp;
2255 struct wordlist *wp = permitted_numbers;
2259 if (!wp)
2263 while (wp) {
2265 l = strlen(wp->word);
2266 if ((wp->word)[l - 1] == '*')
2268 if (!strncasecmp(wp->word, remote_number, l))
2270 wp = wp->next;
2473 wordlist_count(wp)
2474 struct wordlist *wp;
2478 for (n = 0; wp != NULL; wp = wp->next)
2487 free_wordlist(wp)
2488 struct wordlist *wp;
2492 while (wp != NULL) {
2493 next = wp->next;
2494 free(wp);
2495 wp = next;