/darwin-on-arm/xnu/bsd/netinet/ |
H A D | in_arp.c | 641 log(LOG_DEBUG, "arp_rtrequest: bad gateway value\n"); 843 why = "gateway route is not ours"; 901 struct sockaddr_dl *gateway; local 913 * If we were given a route, verify the route and grab the gateway 996 gateway = SDL(route->rt_gateway); 1001 route->rt_expire > timenow) && gateway != NULL && 1002 gateway->sdl_family == AF_LINK && gateway->sdl_alen != 0 && 1004 bcopy(gateway, ll_dest, MIN(gateway 1104 struct sockaddr_dl *gateway, *target_hw = NULL; local [all...] |
/darwin-on-arm/xnu/bsd/net/ |
H A D | route.c | 1100 * This also frees the gateway, as they are always malloc'd 1224 * destination to go through the given gateway. 1229 rtredirect(struct ifnet *ifp, struct sockaddr *dst, struct sockaddr *gateway, argument 1257 * Verify the gateway is directly reachable; if scoped routing 1261 if ((ifa = ifa_ifwithnet_scoped(gateway, ifscope)) == NULL) { 1285 if ((ifa = ifa_ifwithaddr(gateway))) { 1329 gateway, netmask, flags, NULL, ifscope); 1333 * Smash the current notion of the gateway to 1340 * add the key and gateway (in one malloc'd chunk). 1342 error = rt_setgate(rt, rt_key(rt), gateway); 1392 ifa_ifwithroute( int flags, const struct sockaddr *dst, const struct sockaddr *gateway) argument 1407 ifa_ifwithroute_locked(int flags, const struct sockaddr *dst, const struct sockaddr *gateway) argument 1415 ifa_ifwithroute_scoped_locked(int flags, const struct sockaddr *dst, const struct sockaddr *gateway, unsigned int ifscope) argument 1560 rtrequest_locked(int req, struct sockaddr *dst, struct sockaddr *gateway, struct sockaddr *netmask, int flags, struct rtentry **ret_nrt) argument 1568 rtrequest_scoped_locked(int req, struct sockaddr *dst, struct sockaddr *gateway, struct sockaddr *netmask, int flags, struct rtentry **ret_nrt, unsigned int ifscope) argument 1597 rtrequest_common_locked(int req, struct sockaddr *dst0, struct sockaddr *gateway, struct sockaddr *netmask, int flags, struct rtentry **ret_nrt, unsigned int ifscope) argument 2066 rtrequest(int req, struct sockaddr *dst, struct sockaddr *gateway, struct sockaddr *netmask, int flags, struct rtentry **ret_nrt) argument 2078 rtrequest_scoped(int req, struct sockaddr *dst, struct sockaddr *gateway, struct sockaddr *netmask, int flags, struct rtentry **ret_nrt, unsigned int ifscope) argument [all...] |
H A D | ntstat.h | 183 } gateway; member in struct:nstat_route_descriptor
|
H A D | kpi_interface.h | 2536 gateway. Increments the reference count on the ifaddr before 2541 @param gateway A gateway to search for. 2545 const struct sockaddr *gateway);
|
H A D | kpi_interface.c | 1987 const struct sockaddr *gateway) 1989 if (destination == NULL || gateway == NULL) 1992 return (ifa_ifwithroute(flags, destination, gateway)); 1986 ifaddr_withroute(int flags, const struct sockaddr *destination, const struct sockaddr *gateway) argument
|
H A D | ntstat.c | 515 // gateway 517 nstat_copy_sa_out(sa, &desc->gateway.sa, sizeof(desc->gateway));
|
/darwin-on-arm/xnu/bsd/conf/ |
H A D | files | 89 OPTIONS/gateway optional gateway
|
/darwin-on-arm/xnu/bsd/netinet6/ |
H A D | nd6_rtr.c | 4119 * Delete all the routing table entries that use the specified gateway. 4125 struct in6_addr *gateway, 4131 if (!IN6_IS_ADDR_LINKLOCAL(gateway)) { 4136 gateway->s6_addr16[1] = htons(ifp->if_index); 4138 rnh->rnh_walktree(rnh, rt6_deleteroute, (void *)gateway); 4124 rt6_flush( struct in6_addr *gateway, struct ifnet *ifp) argument
|