Searched refs:IN_CLASSA_NSHIFT (Results 1 – 19 of 19) sorted by relevance
59 return (((i)&IN_CLASSA_NET) >> IN_CLASSA_NSHIFT);
59 a.s_addr = (net << IN_CLASSA_NSHIFT) | (host & IN_CLASSA_HOST);
60 return (((i)&IN_CLASSA_NET) >> IN_CLASSA_NSHIFT); in __weak_alias()
61 addr = (net << IN_CLASSA_NSHIFT) | (host & IN_CLASSA_HOST); in __weak_alias()
344 (ntohl(iph->ip_dst.s_addr) >> IN_CLASSA_NSHIFT) == IN_LOOPBACKNET || in ip4_check()345 (ntohl(iph->ip_src.s_addr) >> IN_CLASSA_NSHIFT) == IN_LOOPBACKNET || in ip4_check()
165 && ((inaddr & IN_CLASSA_NET) >> IN_CLASSA_NSHIFT) in sock_addr_in_loopback()
161 shift = IN_CLASSA_NSHIFT; in mynetworks_core()
169 if (ntohl(*(const u_int32_t *)addr) >> IN_CLASSA_NSHIFT == 0)
698 addr = net << IN_CLASSA_NSHIFT; in inet_makenetandmask()701 addr = net << IN_CLASSA_NSHIFT; in inet_makenetandmask()704 addr = net << IN_CLASSA_NSHIFT; in inet_makenetandmask()707 addr = net << IN_CLASSA_NSHIFT; in inet_makenetandmask()
241 v4a >>= IN_CLASSA_NSHIFT;
183 #define IN_CLASSA_NSHIFT 24 macro
488 if ((ntohl(ip->ip_dst.s_addr) >> IN_CLASSA_NSHIFT) == IN_LOOPBACKNET || in ip_input()489 (ntohl(ip->ip_src.s_addr) >> IN_CLASSA_NSHIFT) == IN_LOOPBACKNET) { in ip_input()
725 htonl(IN_LOOPBACKNET << IN_CLASSA_NSHIFT))) { in icmp_reflect()
310 if (net == 0 || net == htonl(IN_LOOPBACKNET << IN_CLASSA_NSHIFT)) in in_canforward()
316 v4a >>= IN_CLASSA_NSHIFT; in getnameinfo_inet()
383 addr >>= IN_CLASSA_NSHIFT; in check_dst()
1079 if ((ntohl(nh_ext.nh_src.s_addr) >> IN_CLASSA_NSHIFT) == in nfscl_getmyip()
2085 return (addr >> IN_CLASSA_NSHIFT) == IN_LOOPBACKNET in bad_ip_adrs()
5967 (ntohl(pd.dst->v4.s_addr) >> IN_CLASSA_NSHIFT) == IN_LOOPBACKNET)