diff --git a/include/net/route.h b/include/net/route.h index c0f64b0799d..74167da96dc 100644 --- a/include/net/route.h +++ b/include/net/route.h @@ -35,6 +35,10 @@ * Pre-processor Definitions ****************************************************************************/ +#define RTF_UP 0x0001 /* Route usable. */ +#define RTF_GATEWAY 0x0002 /* Destination is a gateway. */ +#define RTF_HOST 0x0004 /* Host entry (net otherwise). */ + /**************************************************************************** * Public Types ****************************************************************************/ @@ -50,6 +54,7 @@ struct rtentry * the hop */ struct sockaddr_storage rt_genmask; /* Network mask defining the sub-net */ uint16_t rt_flags; + FAR char *rt_dev; /* Forcing the device at add. */ }; /****************************************************************************