Searched refs:mask4 (Results 1 - 1 of 1) sorted by relevance

/illumos-gate/usr/src/lib/libnsl/nss/
H A Dinet_matchaddr.c127 uint32_t hcaddr4 = 0, mask4; local
163 mask4 = mb ? ~0 << ((sizeof (struct in_addr) * NBBY)
165 hcaddr4 &= mask4;
175 mask4 = IN_CLASSA_NET;
177 mask4 = IN_CLASSB_NET;
179 mask4 = IN_CLASSC_NET;
181 mask4 = IN_CLASSE_NET;
184 ret = ((claddr4 & mask4) == hcaddr4) ? 1 : 0;

Completed in 42 milliseconds