Searched defs:themask (Results 1 - 1 of 1) sorted by relevance

/bind-9.6-ESV-R11/contrib/query-loc-0.4.0/
H A Dloc.c153 struct in_addr themask; local
159 themask.s_addr = (u_int32_t) 0;
163 themask = *mask;
167 strcpy (text_mask, inet_ntoa (themask));
178 themask.s_addr = htonl(IN_CLASSA_NET);
183 themask.s_addr = htonl(IN_CLASSB_NET);
188 themask.s_addr = htonl(IN_CLASSC_NET);
195 return getlocbynet (in_addr_arpa (inet_ntoa (netaddr)), addr, &themask);
199 netaddr.s_addr = addr.s_addr & themask.s_addr;

Completed in 17 milliseconds