Lines Matching full:route
35 #include <linux/route.h>
657 fp = fopen("/proc/net/route", "r");
684 ALOGD("failed to remove route for %s to %s: %s",
697 * so that we only scan /proc/net/route in one place.
709 fp = fopen("/proc/net/route", "r");
739 * Sets the specified gateway as the default route for the named interface.
750 ALOGD("failed to add %s as default route for %s: %s",
758 * Removes the default route for the named interface.
771 ALOGD("failed to remove default route for %s: %s", ifname, strerror(errno));
805 printerr("failed to set default route %s: %s\n", ipaddr_to_string(gateway), strerror(errno));