Lines Matching refs:subnet
283 { "add-subnet", 2, 0, LOPT_ADD_SBNET },
448 { LOPT_ADD_SBNET, ARG_ONE, "<v4 pref>[,<v6 pref>]", gettext_noop("Add specified IP subnet to forwarded DNS queries."), NULL },
459 { LOPT_AUTHZONE, ARG_DUP, "<domain>,[<subnet>...]", gettext_noop("Domain to export to global DNS"), NULL },
1171 /* max length of address/subnet descriptor is five bytes,
1612 case LOPT_ADD_SBNET: /* --add-subnet */
1622 /* has subnet+len */
1640 /* has subnet+len */
1891 new->subnet = NULL;
1900 struct addrlist *subnet = NULL;
1911 subnet = opt_malloc(sizeof(struct addrlist));
1912 subnet->prefixlen = (prefixlen == 0) ? 24 : prefixlen;
1913 subnet->flags = ADDRLIST_LITERAL;
1918 subnet = opt_malloc(sizeof(struct addrlist));
1919 subnet->prefixlen = (prefixlen == 0) ? 64 : prefixlen;
1920 subnet->flags = ADDRLIST_LITERAL | ADDRLIST_IPV6;
1943 if (subnet)
1945 subnet->addr = addr;
1946 subnet->next = new->subnet;
1947 new->subnet = subnet;
2789 ret_err(_("prefix length must be exactly 64 for subnet constructors"));