--- zzzz-none-000/linux-2.6.32.61/include/linux/route.h 2013-06-10 09:43:48.000000000 +0000 +++ ar9-7330-650/linux-2.6.32.61/include/linux/route.h 2010-09-22 09:05:41.000000000 +0000 @@ -25,6 +25,7 @@ #include #include +#include /* This structure gets passed by the SIOCADDRT and SIOCDELRT calls. */ struct rtentry @@ -45,6 +46,10 @@ #endif unsigned long rt_window; /* Window clamping */ unsigned short rt_irtt; /* Initial RTT */ +#ifdef CONFIG_MAPPING + unsigned long src_prefix; /* Mapping prefix for src addr */ + unsigned long dst_prefix; /* Mapping prefix for dst addr */ +#endif }; @@ -60,6 +65,10 @@ #define RTF_IRTT 0x0100 /* Initial round trip time */ #define RTF_REJECT 0x0200 /* Reject route */ +#ifdef CONFIG_MAPPING +#define RTF_MAPPING 0x0400 /* A mapping route entry */ +#endif + /* * uses RTF values >= 64k */