Lines Matching refs:in_addr_t
75 add_bypass_address (struct route_bypass *rb, const in_addr_t a)
192 setenv_route_addr (struct env_set *es, const char *key, const in_addr_t addr, int i)
207 in_addr_t *out,
275 const in_addr_t default_netmask = IPV4_NETMASK_HOST;
504 const in_addr_t addr)
514 in_addr_t target)
571 in_addr_t remote_host,
754 add_route3 (in_addr_t network,
755 in_addr_t netmask,
756 in_addr_t gateway,
772 del_route3 (in_addr_t network,
773 in_addr_t netmask,
774 in_addr_t gateway,
791 in_addr_t gateway,
813 in_addr_t gateway,
1252 local_route (in_addr_t network,
1253 in_addr_t netmask,
1254 in_addr_t gateway,
2083 const in_addr_t gateway,
2099 const in_addr_t gateway)
2169 const in_addr_t net = ntohl (row->dwForwardDest);
2170 const in_addr_t mask = ntohl (row->dwForwardMask);
2176 print_in_addr_t ((in_addr_t) net, 0, &gc),
2177 print_in_addr_t ((in_addr_t) mask, 0, &gc),
2448 in_addr_t best_gw = 0;
2470 const in_addr_t net = ntohl (net_x);
2471 const in_addr_t mask = ntohl (mask_x);
2472 const in_addr_t gw = ntohl (gw_x);
2501 in_addr_t addr, netmask;
3152 netmask_to_netbits (const in_addr_t network, const in_addr_t netmask, int *netbits)
3155 const int addrlen = sizeof (in_addr_t) * 8;
3161 in_addr_t mask = netbits_to_netmask (i);
3184 add_host_route_if_nonlocal (struct route_bypass *rb, const in_addr_t addr)
3196 const in_addr_t ip = getaddr (GETADDR_HOST_ORDER, iplist->IpAddress.String, 0, &succeed, NULL);
3258 test_local_addr (const in_addr_t addr, const struct route_gateway_info *rgi)
3261 const in_addr_t nonlocal_netmask = 0x80000000L; /* routes with netmask <= to this are considered non-local */
3272 const in_addr_t net = ntohl (row->dwForwardDest);
3273 const in_addr_t mask = ntohl (row->dwForwardMask);
3289 test_local_addr (const in_addr_t addr, const struct route_gateway_info *rgi) /* PLATFORM-SPECIFIC */