H A D | route.c | 649 * 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...] |