HomeSort by: relevance | last modified time | path
    Searched defs:subnet (Results 1 - 2 of 2) 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...]

Completed in 12 milliseconds