net: Put flowi_* prefix on AF independent members of struct flowi
I intend to turn struct flowi into a union of AF specific flowi structs. There will be a common structure that each variant includes first, much like struct sock_common. This is the first step to move in that direction. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
@@ -82,12 +82,12 @@ struct dn_route {
|
||||
|
||||
static inline bool dn_is_input_route(struct dn_route *rt)
|
||||
{
|
||||
return rt->fl.iif != 0;
|
||||
return rt->fl.flowi_iif != 0;
|
||||
}
|
||||
|
||||
static inline bool dn_is_output_route(struct dn_route *rt)
|
||||
{
|
||||
return rt->fl.iif == 0;
|
||||
return rt->fl.flowi_iif == 0;
|
||||
}
|
||||
|
||||
extern void dn_route_init(void);
|
||||
|
Reference in New Issue
Block a user