Home
last modified time | relevance | path

Searched refs:hcaddr4 (Results 1 – 1 of 1) sorted by relevance

/titanic_44/usr/src/lib/libnsl/nss/
H A Dinet_matchaddr.c100 uint32_t hcaddr4 = 0, mask4; in inet_matchaddr() local
107 hcaddr4 |= (int)strtol(p, (char **)NULL, 10) << in inet_matchaddr()
114 if (hcaddr4 == 0) in inet_matchaddr()
123 hcaddr4 &= mask4; in inet_matchaddr()
132 if ((hcaddr4 & IN_CLASSA_HOST) == 0) in inet_matchaddr()
134 else if ((hcaddr4 & IN_CLASSB_HOST) == 0) in inet_matchaddr()
136 else if ((hcaddr4 & IN_CLASSC_HOST) == 0) in inet_matchaddr()
142 ret = ((claddr4 & mask4) == hcaddr4); in inet_matchaddr()