Searched refs:gateway (Results 1 - 5 of 5) sorted by relevance

/macosx-10.5.8/xnu-1228.15.4/bsd/netinet/
H A Din_arp.c257 log(LOG_DEBUG, "arp_rtrequest: bad gateway value\n");
414 why = "gateway route is not ours";
435 * arp_route_to_gateway_route will find the gateway route for a given route.
438 * If the route goes through a gateway, get the route to the gateway.
439 * If the gateway route is down, look it up again.
472 * We need the gateway route. If it is NULL or down,
519 struct sockaddr_dl *gateway; local
530 * If we were given a route, verify the route and grab the gateway
583 gateway
642 struct sockaddr_dl *gateway; local
[all...]
/macosx-10.5.8/xnu-1228.15.4/bsd/net/
H A Droute.c649 * This also frees the gateway, as they are always malloc'd
797 * destination to go through the given gateway.
802 rtredirect(struct ifnet *ifp, struct sockaddr *dst, struct sockaddr *gateway, argument
818 * Verify the gateway is directly reachable; if scoped routing
822 if ((ifa = ifa_ifwithnet_scoped(gateway, ifscope)) == NULL) {
846 if ((ifa = ifa_ifwithaddr(gateway))) {
883 gateway, netmask, flags, NULL, ifscope);
887 * Smash the current notion of the gateway to
894 * add the key and gateway (in one malloc'd chunk).
896 error = rt_setgate(rt, rt_key(rt), gateway);
941 ifa_ifwithroute( int flags, const struct sockaddr *dst, const struct sockaddr *gateway) argument
956 ifa_ifwithroute_locked(int flags, const struct sockaddr *dst, const struct sockaddr *gateway) argument
964 ifa_ifwithroute_scoped_locked(int flags, const struct sockaddr *dst, const struct sockaddr *gateway, unsigned int ifscope) argument
976 ifa_ifwithroute_common_locked(int flags, const struct sockaddr *dst, const struct sockaddr *gateway, unsigned int ifscope) argument
1085 rtrequest_locked(int req, struct sockaddr *dst, struct sockaddr *gateway, struct sockaddr *netmask, int flags, struct rtentry **ret_nrt) argument
1093 rtrequest_scoped_locked(int req, struct sockaddr *dst, struct sockaddr *gateway, struct sockaddr *netmask, int flags, struct rtentry **ret_nrt, unsigned int ifscope) argument
1122 rtrequest_common_locked(int req, struct sockaddr *dst0, struct sockaddr *gateway, struct sockaddr *netmask, int flags, struct rtentry **ret_nrt, unsigned int ifscope) argument
1461 rtrequest( int req, struct sockaddr *dst, struct sockaddr *gateway, struct sockaddr *netmask, int flags, struct rtentry **ret_nrt) argument
[all...]
H A Dkpi_interface.c1292 const struct sockaddr* gateway)
1294 if (destination == NULL || gateway == NULL) return NULL;
1295 return ifa_ifwithroute(flags, destination, gateway);
1289 ifaddr_withroute( int flags, const struct sockaddr* destination, const struct sockaddr* gateway) argument
H A Dkpi_interface.h1645 gateway. Increments the reference count on the ifaddr before
1650 @param gateway A gateway to search for.
1654 const struct sockaddr* gateway);
/macosx-10.5.8/xnu-1228.15.4/bsd/netinet6/
H A Dnd6_rtr.c665 * Note that defrouter_select() will remove the current gateway
719 * De-install the previous default gateway and install
2095 * Delete all the routing table entries that use the specified gateway.
2101 struct in6_addr *gateway,
2107 if (!IN6_IS_ADDR_LINKLOCAL(gateway)) {
2112 gateway->s6_addr16[1] = htons(ifp->if_index);
2114 rnh->rnh_walktree(rnh, rt6_deleteroute, (void *)gateway);
2100 rt6_flush( struct in6_addr *gateway, struct ifnet *ifp) argument

Completed in 91 milliseconds