Home
last modified time | relevance | path

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

/netbsd/external/bsd/libbind/dist/inet/
H A Dinet_netof.c59 return (((i)&IN_CLASSA_NET) >> IN_CLASSA_NSHIFT);
H A Dinet_makeaddr.c59 a.s_addr = (net << IN_CLASSA_NSHIFT) | (host & IN_CLASSA_HOST);
/netbsd/lib/libc/inet/
H A Dinet_netof.c60 return (((i)&IN_CLASSA_NET) >> IN_CLASSA_NSHIFT); in __weak_alias()
H A Dinet_makeaddr.c61 addr = (net << IN_CLASSA_NSHIFT) | (host & IN_CLASSA_HOST); in __weak_alias()
/netbsd/sys/netmpls/
H A Dmpls_ttl.c344 (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()
/netbsd/external/ibm-public/postfix/dist/src/util/
H A Dsock_addr.c165 && ((inaddr & IN_CLASSA_NET) >> IN_CLASSA_NSHIFT) in sock_addr_in_loopback()
/netbsd/external/ibm-public/postfix/dist/src/global/
H A Dmynetworks.c161 shift = IN_CLASSA_NSHIFT; in mynetworks_core()
/netbsd/external/bsd/libbind/dist/irs/
H A Dgetnameinfo.c169 if (ntohl(*(const u_int32_t *)addr) >> IN_CLASSA_NSHIFT == 0)
/netbsd/sbin/route/
H A Droute.c698 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()
/netbsd/external/mpl/bind/dist/lib/irs/
H A Dgetnameinfo.c241 v4a >>= IN_CLASSA_NSHIFT;
/netbsd/sys/netinet/
H A Din.h183 #define IN_CLASSA_NSHIFT 24 macro
H A Dip_input.c488 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()
H A Dip_icmp.c725 htonl(IN_LOOPBACKNET << IN_CLASSA_NSHIFT))) { in icmp_reflect()
H A Din.c310 if (net == 0 || net == htonl(IN_LOOPBACKNET << IN_CLASSA_NSHIFT)) in in_canforward()
/netbsd/lib/libc/net/
H A Dgetnameinfo.c316 v4a >>= IN_CLASSA_NSHIFT; in getnameinfo_inet()
/netbsd/sbin/routed/
H A Dif.c383 addr >>= IN_CLASSA_NSHIFT; in check_dst()
/netbsd/sys/fs/nfs/client/
H A Dnfs_clport.c1079 if ((ntohl(nh_ext.nh_src.s_addr) >> IN_CLASSA_NSHIFT) == in nfscl_getmyip()
/netbsd/external/bsd/ppp/dist/pppd/
H A Dauth.c2085 return (addr >> IN_CLASSA_NSHIFT) == IN_LOOPBACKNET in bad_ip_adrs()
/netbsd/sys/dist/pf/net/
H A Dpf.c5967 (ntohl(pd.dst->v4.s_addr) >> IN_CLASSA_NSHIFT) == IN_LOOPBACKNET)