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

/osnet-11/usr/src/lib/libsocket/inet/
H A Dnetmasks.c129 struct in_addr net1, net2; local
142 net1.s_addr = htonl(i << IN_CLASSC_NSHIFT);
144 net1.s_addr = htonl(i << IN_CLASSB_NSHIFT);
146 net1.s_addr = htonl(i << IN_CLASSA_NSHIFT);
149 net1.s_addr = htonl(i & IN_CLASSA_NET);
152 net1.s_addr = htonl(i & IN_CLASSB_NET);
155 net1.s_addr = htonl(i & IN_CLASSC_NET);
159 if (getnetmaskbykey(net1, mask) == 0) {

Completed in 25 milliseconds