Lines Matching refs:mask
147 getlocbyaddr (addr, mask)
149 const struct in_addr *mask;
157 if (mask == NULL)
163 themask = *mask;
172 if (mask == NULL)
200 return getlocbynet (in_addr_arpa (inet_ntoa (netaddr)), addr, mask);
210 getlocbynet (name, addr, mask)
213 struct in_addr *mask;
223 printf ("Testing network %s with mask %s\n", name, inet_ntoa(*mask));
230 * new mask for recursion if it is longer than
231 * the actual mask. */
232 if (mask != NULL && mask->s_addr < list->addr.s_addr)
235 * - compute the new network by applying the new mask
239 * - the new mask is the one given in the A record
242 a &= ntohl(list->addr.s_addr); /* apply new mask */