Lines Matching refs:htonl
64 uint32_t mask = htonl(address.s_addr); in inet_ntocidr()
102 dst = htonl(addr); in ipv4_getnetmask()
140 if (IN_LINKLOCAL(htonl(ap->addr.s_addr))) in ipv4_iffindlladdr()
238 int sill = (sis->new->cookie == htonl(MAGIC_COOKIE)); in ipv4_ifcmp()
239 int till = (tis->new->cookie == htonl(MAGIC_COOKIE)); in ipv4_ifcmp()
276 if (rt->net.s_addr == htonl(INADDR_BROADCAST) && in desc_route()
277 rt->gate.s_addr == htonl(INADDR_ANY)) in desc_route()
280 else if (rt->net.s_addr == htonl(INADDR_BROADCAST)) in desc_route()
283 else if (rt->gate.s_addr == htonl(INADDR_ANY)) in desc_route()
286 else if (rt->dest.s_addr == htonl(INADDR_ANY) && in desc_route()
287 rt->net.s_addr == htonl(INADDR_ANY)) in desc_route()
494 r->gate.s_addr = htonl(INADDR_LOOPBACK); in add_loopback_route()
540 r->gate.s_addr = htonl(INADDR_ANY); in massage_host_routes()
541 r->net.s_addr = htonl(INADDR_BROADCAST); in massage_host_routes()
638 rtn->net.s_addr = htonl(INADDR_BROADCAST); in add_router_host_route()
639 rtn->gate.s_addr = htonl(INADDR_ANY); in add_router_host_route()