Lines Matching defs:netmask
41 * This function returns the subnet (address&netmask) for the primary network
132 getwire_lookup(u_long address, u_long netmask, int ishost)
149 al->ip_mask = netmask;
154 subnet = ntohl(address) & ntohl(netmask);
160 u_long mask = ntohl(netmask);
181 net = ntohl(address) & (mask = ntohl(netmask));
232 subnet = address & netmask;
307 * If it does contain a '/' then interpret the string as a network/netmask
308 * pair. If "netmask" doesn't exist, use the interface's own netmask.
310 * bit-length netmask such as /24 (hex formats such 0xffffff00 work too).
329 /* check if netmask uses a dotted-quad or bit-length, or not defined at all */
544 * Get the netmask of this interface