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

  /src/usr.sbin/mrouted/
config.c 27 u_int32_t addr, mask, subnet; local in function:config_vifs_from_kernel
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 in function:inet_valid_subnet
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/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/tests/net/if_wg/
t_tunnel.sh 131 local subnet=$2
134 atf_check -s exit:0 -o ignore rump.route add -$proto -net $subnet -link wg0 -iface
281 # ping fails because the subnet of the IP is not allowed

Completed in 12 milliseconds