Lines Matching defs:addresses
97 /* List of addresses which the peer may use. */
98 static struct permitted_ip *addresses[NUM_PPP];
100 /* Wordlist giving addresses which the peer may use
1247 * acceptable, and iff so, set the list of acceptable IP addresses
1470 * set_allowed_addrs() - set the list of allowed addresses.
1490 if (addresses[unit] != NULL)
1491 free(addresses[unit]);
1492 addresses[unit] = NULL;
1498 * Count the number of IP addresses given.
1514 /* "-" means no addresses authorized, "*" means any address allowed */
1603 ip[n].permit = 0; /* make the last entry forbid all addresses */
1607 addresses[unit] = ip;
1619 * addresses authorized than the suggested one.
1641 if (addresses[unit] != NULL) {
1642 ok = ip_addr_check(addr, addresses[unit]);
1647 return 0; /* no addresses authorized */
1829 novm("authorized addresses");