ipv4: Turn rt->rt_route_iif into rt->rt_is_input.
[deliverable/linux.git] / include / net / route.h
index e789a92fd6029e34d875054988cbcbe9e8191e78..4bafe0bfe829dee9c0a468ef7c4f430ab11384cd 100644 (file)
@@ -47,8 +47,8 @@ struct rtable {
        int                     rt_genid;
        unsigned int            rt_flags;
        __u16                   rt_type;
+       __u16                   rt_is_input;
 
-       int                     rt_route_iif;
        int                     rt_iif;
 
        /* Info on neighbour */
@@ -61,12 +61,12 @@ struct rtable {
 
 static inline bool rt_is_input_route(const struct rtable *rt)
 {
-       return rt->rt_route_iif != 0;
+       return rt->rt_is_input != 0;
 }
 
 static inline bool rt_is_output_route(const struct rtable *rt)
 {
-       return rt->rt_route_iif == 0;
+       return rt->rt_is_input == 0;
 }
 
 static inline __be32 rt_nexthop(const struct rtable *rt, __be32 daddr)
This page took 0.029708 seconds and 5 git commands to generate.