Lines Matching refs:mask
560 * Copy a mask from src to a dst storage and set scope ID into dst.
572 * The length of the mask sockaddr would need to be adjusted
575 * the destination mask in addition to extending the length
578 * inserting or looking up the mask in the mask tree.
616 /* If we end up with all zeroes, then there's no mask */
655 * If this is for a mask, we can't tell whether or not there
657 * sa_len and the beginning of the mask (offset of sin_addr in
662 * whether or not the mask is to be treated as one for AF_INET
691 * For AF_INET6 mask, set sa_len appropriately unless
756 rn_init(); /* initialize all zeroes, all ones, mask table */
1607 struct sockaddr_storage ss, mask;
1652 netmask = ma_copy(af, netmask, &mask, ifscope);
1852 netmask = ma_copy(af, netmask, &mask, ifscope);
2128 * against the (mask, value) of the new route (passed as before in vp)
2170 * route (rt->rt_parent) is a network route, since otherwise its mask
2197 * changed/added under the node's mask. So, get rid of it.
2461 * don't bother. Also make sure we have a reasonable mask
2565 struct sockaddr_storage ss, mask;
2584 netmask = ma_copy(af, netmask, &mask, ifscope);
2859 * If it's a net, mask off the host bits
2860 * (Assuming we have a mask)