Lines Matching refs:htonl
40 return (addr & htonl(0xff000000)) == htonl(0x7f000000); in ipv4_is_loopback()
45 return (addr & htonl(0xf0000000)) == htonl(0xe0000000); in ipv4_is_multicast()
50 return (addr & htonl(0xffffff00)) == htonl(0xe0000000); in ipv4_is_local_multicast()
56 return addr == htonl(INADDR_BROADCAST); in ipv4_is_lbcast()
61 return addr == htonl(INADDR_ALLSNOOPERS_GROUP); in ipv4_is_all_snoopers()
73 return (addr & htonl(0xff000000)) == htonl(0x0a000000); in ipv4_is_private_10()
78 return (addr & htonl(0xfff00000)) == htonl(0xac100000); in ipv4_is_private_172()
83 return (addr & htonl(0xffff0000)) == htonl(0xc0a80000); in ipv4_is_private_192()
88 return (addr & htonl(0xffff0000)) == htonl(0xa9fe0000); in ipv4_is_linklocal_169()
93 return (addr & htonl(0xffffff00)) == htonl(0xc0586300); in ipv4_is_anycast_6to4()
98 return (addr & htonl(0xffffff00)) == htonl(0xc0000200); in ipv4_is_test_192()
103 return (addr & htonl(0xfffe0000)) == htonl(0xc6120000); in ipv4_is_test_198()