Lines Matching defs:addresses
96 /* List of addresses which the peer may use. */
97 static struct permitted_ip *addresses[NUM_PPP];
99 /* Wordlist giving addresses which the peer may use
1234 * acceptable, and iff so, set the list of acceptable IP addresses
1457 * set_allowed_addrs() - set the list of allowed addresses.
1477 if (addresses[unit] != NULL)
1478 free(addresses[unit]);
1479 addresses[unit] = NULL;
1485 * Count the number of IP addresses given.
1501 /* "-" means no addresses authorized, "*" means any address allowed */
1590 ip[n].permit = 0; /* make the last entry forbid all addresses */
1594 addresses[unit] = ip;
1606 * addresses authorized than the suggested one.
1628 if (addresses[unit] != NULL) {
1629 ok = ip_addr_check(addr, addresses[unit]);
1634 return 0; /* no addresses authorized */
1816 novm("authorized addresses");