HomeSort by: relevance | last modified time | path
    Searched refs:subnet (Results 1 - 25 of 46) sorted by relevancy

1 2

  /src/external/mpl/dhcp/dist/keama/tests/samples/
simple.conf 19 # No service will be given on this subnet, but we're telling
23 subnet 10.14.8.195 netmask 255.255.255.0 {
29 subnet 192.168.1.0 netmask 255.255.255.0 {
example.conf 25 # No service will be given on this subnet, but declaring it helps the
28 subnet 10.152.187.0 netmask 255.255.255.0 {
31 # This is a very basic subnet declaration.
33 subnet 10.254.239.0 netmask 255.255.255.224 {
42 subnet 10.254.239.32 netmask 255.255.255.224 {
49 # A slightly different configuration for an internal subnet.
50 subnet 10.5.5.0 netmask 255.255.255.224 {
76 # be booted with DHCP, unless there is an address range on the subnet
87 # in a certain class get addresses on the 10.17.224/24 subnet, and all
88 # other clients get addresses on the 10.0.29/24 subnet
    [all...]
vmnet8.conf 26 subnet 172.16.254.0 netmask 255.255.255.0 {
  /src/external/bsd/wpa/dist/wpa_supplicant/examples/
udhcpd-p2p.conf 87 option subnet 255.255.255.0
93 #opt subnet
  /src/usr.sbin/mrouted/
config.c 27 u_int32_t addr, mask, subnet; local
52 * valid subnet number, or whose address is of the form {subnet,0}
53 * or {subnet,-1}.
56 subnet = addr & mask;
57 if (!inet_valid_subnet(subnet, mask) ||
58 addr == subnet ||
59 addr == (subnet | ~mask)) {
68 * Ignore any interface that is connected to the same subnet as
73 (v->uv_subnet & mask) == subnet) {
    [all...]
inet.c 25 * (Without a mask, cannot detect addresses of the form {subnet,0} or
26 * {subnet,-1}.)
57 * Verify that a given subnet number and mask pair are credible.
59 * With CIDR, almost any subnet and mask are credible. mrouted still
61 * otherwise the only requirements are that the subnet address is
62 * within the [ABC] range and that the host bits of the subnet
68 u_int32_t subnet, mask; local
70 subnet = ntohl(nsubnet);
73 if ((subnet & mask) != subnet) return (FALSE)
    [all...]
cfparse.y 248 u_int32_t subnet, mask;
251 subnet = v->uv_lcl_addr & mask;
252 if (!inet_valid_subnet(subnet, mask))
254 v->uv_subnet = subnet;
256 v->uv_subnetbcast = subnet | ~mask;
277 warn("Extra subnet %s/%d has host bits set",
  /src/external/mpl/dhcp/bin/server/
dhcpd.conf 24 # No service will be given on this subnet, but declaring it helps the
27 subnet 10.152.187.0 netmask 255.255.255.0 {
30 # This is a very basic subnet declaration.
32 subnet 10.254.239.0 netmask 255.255.255.224 {
40 subnet 10.254.239.32 netmask 255.255.255.224 {
46 # A slightly different configuration for an internal subnet.
47 subnet 10.5.5.0 netmask 255.255.255.224 {
72 # be booted with DHCP, unless there is an address range on the subnet
82 # in a certain class get addresses on the 10.17.224/24 subnet, and all
83 # other clients get addresses on the 10.0.29/24 subnet
    [all...]
  /src/external/bsd/unbound/dist/testdata/subnet_cache_lookup.tdir/
subnet_cache_lookup.conf 16 send-client-subnet: 127.0.0.1
17 max-client-subnet-ipv4: 17
  /src/external/bsd/am-utils/dist/libamu/
wire.c 43 * This function returns the subnet (address&netmask) for the primary network
137 u_long subnet; local
156 subnet = ntohl(address) & ntohl(netmask);
192 np = getnetbyaddr(subnet, AF_INET);
197 * shift the subnet way from zeros and try again.
200 u_long short_subnet = subnet;
206 (u_int) subnet, (u_int) short_subnet);
211 if ((subnet & 0xffffff) == 0) {
212 xsnprintf(netNumberBuf, sizeof(netNumberBuf), "%lu", C(subnet >> 24));
213 } else if ((subnet & 0xffff) == 0)
    [all...]
  /src/external/mpl/dhcp/dist/common/
inet.c 68 struct iaddr ip_addr (subnet, mask, host_address)
69 struct iaddr subnet;
78 if (subnet.len > sizeof(subnet.iabuf))
80 if (subnet.len != mask.len)
87 /* Combine the subnet address and the host address. If
88 the host address is bigger than can fit in the subnet,
90 rv = subnet;
113 /* Given a subnet number and netmask, return the address on that subnet
    [all...]
comapi.c 44 OMAPI_OBJECT_ALLOC (subnet, struct subnet, dhcp_type_subnet)
98 "subnet",
107 sizeof (struct subnet), 0,
110 log_fatal ("Can't register subnet object type: %s",
614 /* In this function h should be a (struct subnet *) */
639 /* In this function h should be a (struct subnet *) */
660 struct subnet *subnet; local
665 subnet = (struct subnet *)h
    [all...]
discover.c 573 subnet it's on, and add it to the list of interfaces. */
589 struct subnet *subnet; local
812 /* We must have a subnet declaration for each interface. */
816 log_error("No subnet declaration for %s (%s).",
844 "a subnet declaration");
858 "subnet declaration for this");
859 log_error ("subnet. You cannot prevent %s",
861 log_error ("from listening on this subnet %s",
870 for (subnet = (tmp -> shared_networ
    [all...]
  /src/external/apache2/mDNSResponder/dist/ServiceRegistration/
srp-gw.h 22 typedef struct subnet subnet_t;
23 struct subnet { struct
  /src/external/mpl/dhcp/dist/server/
confpars.c 356 | subnet-declaration
443 case SUBNET:
449 "subnet declarations not allowed here.");
454 /* If we're in a subnet declaration, just do the parse. */
456 if (token == SUBNET) {
468 * and populate it with the lone subnet...because the
470 * by shorthand, any configuration inside the subnet is
477 log_fatal ("Can't allocate shared subnet: %s",
490 if (token == SUBNET) {
496 /* share -> subnets is the subnet we just parsed. *
2763 struct subnet *subnet; local
3794 struct subnet *subnet; local
    [all...]
bootp.c 160 /* Execute the subnet statements. */
163 &lease->scope, lease->subnet->group,
172 lease->subnet->group, NULL);
180 lease->subnet->group, NULL);
230 /* Use the subnet mask from the subnet declaration if no other
238 lease -> subnet -> netmask.iabuf,
239 lease -> subnet -> netmask.len,
308 if ((lease->subnet->shared_network->interface != NULL) &&
309 lease->subnet->shared_network->interface->address_count
    [all...]
mdb.c 37 struct subnet *subnets;
738 that matched, and return the subnet that matched. */
740 int find_host_for_network (struct subnet **sp, struct host_decl **host,
786 void new_address_range (cfile, low, high, subnet, pool, lpchain)
789 struct subnet *subnet;
799 struct shared_network *share = subnet -> shared_network;
807 strcpy (netbuf, piaddr (subnet -> net));
809 netbuf, piaddr (subnet -> netmask));
828 /* Make sure that high and low addresses are in this subnet. *
    [all...]
dhcp.c 167 * attached subnet, and agent options are being appended by an l2
357 log_info ("DHCP4o6 packet from unknown subnet: %s",
361 log_info ("Packet from unknown subnet: %s",
465 struct subnet *subnet; local
498 subnet = (struct subnet *)0;
500 if (find_subnet (&subnet, cip, MDL))
502 subnet -> shared_network, &ours, 0, ip_lease, MDL);
624 nak_lease (packet, &cip, lease->subnet->group)
1102 struct subnet *subnet = NULL; local
5213 struct subnet *subnet = NULL; local
5336 struct subnet *subnet = (struct subnet *)0; local
    [all...]
dhcpd.c 1618 struct subnet *subnet; local
1628 log_fatal ("No memory for shared subnet: %s",
1637 /* If there's a registered subnet for this address,
1639 subnet = (struct subnet *)0;
1640 if (find_subnet (&subnet, *ia, MDL)) {
1642 subnet, ignore all but the first we encounter. */
1643 if (!subnet -> interface) {
1644 interface_reference (&subnet -> interface, ip, MDL)
    [all...]
dhcpv6.c 71 struct subnet *subnet; /* Used to match fixed-addrs to subnet scopes. */ member in struct:reply_state
1028 log_error("Pool threshold reset - shared subnet: %s; "
1062 log_error("Pool threshold exceeded - shared subnet: %s; "
2073 /* Find the static lease's subnet. */
2077 if (find_grouped_subnet(&reply->subnet, reply->shared,
2410 if (reply->subnet != NULL)
2411 subnet_dereference(&reply->subnet, MDL);
2460 struct subnet *subnet local
3371 struct subnet *subnet; local
4454 struct subnet *subnet = NULL; local
5413 struct subnet *subnet; local
5503 struct subnet *subnet; local
8052 struct subnet *subnet; local
8252 struct subnet* subnet = NULL; local
    [all...]
dhcpleasequery.c 150 struct subnet *subnet; local
195 * Initially we use the 'giaddr' subnet options scope to determine if
197 * leasequery. The subnet is not required, and may be omitted, in
204 subnet = NULL;
205 find_subnet(&subnet, gip, MDL);
206 if (subnet != NULL)
207 relay_group = subnet->group;
211 subnet_dereference(&subnet, MDL);
  /src/tests/net/if_ipsec/
t_ipsec_pfil.sh 195 local subnet=$2
208 \$subnet = { $subnet }
215 block $direction on \$if proto tcp from \$subnet apply "log0"
216 pass $reverse on \$if proto tcp from \$subnet
232 local subnet="172.16.0.0/16"
243 build_npf_conf $npffile $subnet "out"
273 build_npf_conf $npffile $subnet "in"
  /src/external/mpl/dhcp/dist/keama/
confparse.c 61 struct subnet { struct
62 struct element *subnet; member in struct:subnet
66 TAILQ_ENTRY(subnet) next;
69 TAILQ_HEAD(subnets, subnet) known_subnets;
261 comment = createComment("/// Kea reservations are per subnet");
583 | subnet-declaration
601 size_t subnet = 0; local
645 case SUBNET:
651 "subnet declarations not allowed here.");
653 if (token == SUBNET)
2074 struct element *subnet; local
2117 struct element *subnet; local
2346 struct element *subnet; local
2438 struct element *subnet; local
4480 struct subnet *subnet; local
4564 struct subnet *subnet; local
    [all...]
  /src/external/bsd/openldap/dist/tests/scripts/
sql-test900-write 96 dn: dc=subnet,${BASEDN}
100 o: SubNet
101 dc: subnet
108 o: SubNet 2
135 dn: cn=SubNet User,dc=subnet,${BASEDN}
138 cn: SubNet User
140 givenName: SubNet
306 newsuperior: dc=subnet,${BASEDN}
  /src/external/bsd/unbound/dist/util/shm_side/
shm_main.c 278 /* subnet mem value is available in shm, also when not enabled,
281 shm_stat->mem.subnet = 0;
283 shm_stat->mem.subnet = (long long)mod_get_mem(&worker->env,

Completed in 63 milliseconds

1 2