Lines Matching defs:subnet
27 u_int32_t addr, mask, subnet;
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) {
74 logit(LOG_WARNING, 0, "ignoring %s, same subnet as %s",
96 v->uv_subnet = subnet;
98 v->uv_subnetbcast = subnet | ~mask;
105 logit(LOG_INFO,0,"installing %s (%s on subnet %s) as vif #%u - rate=%d",
107 inet_fmts(subnet, mask),