Lines Matching defs:addresses
146 /* List of addresses which the peer may use. */
147 static struct permitted_ip *addresses[NUM_PPP];
149 /* Wordlist giving addresses which the peer may use
1709 * acceptable, and iff so, set the list of acceptable IP addresses
2053 * set_allowed_addrs() - set the list of allowed addresses.
2073 if (addresses[unit] != NULL)
2074 free(addresses[unit]);
2075 addresses[unit] = NULL;
2081 * Count the number of IP addresses given.
2097 /* "-" means no addresses authorized, "*" means any address allowed */
2186 ip[n].permit = 0; /* make the last entry forbid all addresses */
2190 addresses[unit] = ip;
2202 * addresses authorized than the suggested one.
2229 if (addresses[unit] != NULL) {
2230 ok = ip_addr_check(addr, addresses[unit]);
2236 return 0; /* no addresses authorized */
2458 novm("authorized addresses");