diff options
author | David S. Miller <davem@davemloft.net> | 2011-03-12 17:17:10 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-03-12 18:08:55 -0500 |
commit | bef55aebd560c5a6f8883c421abccee39978c58c (patch) | |
tree | b1adbe59af8817ee6ef3009fe8c296d3c87fc067 /include/net/dn_route.h | |
parent | 1958b856c1a59c0f1e892b92debb8c9fe4f364dc (diff) |
decnet: Convert to use flowidn where applicable.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/dn_route.h')
-rw-r--r-- | include/net/dn_route.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/net/dn_route.h b/include/net/dn_route.h index 1f59005e4979..81712cfa1ddf 100644 --- a/include/net/dn_route.h +++ b/include/net/dn_route.h | |||
@@ -16,7 +16,7 @@ | |||
16 | *******************************************************************************/ | 16 | *******************************************************************************/ |
17 | 17 | ||
18 | extern struct sk_buff *dn_alloc_skb(struct sock *sk, int size, gfp_t pri); | 18 | extern struct sk_buff *dn_alloc_skb(struct sock *sk, int size, gfp_t pri); |
19 | extern int dn_route_output_sock(struct dst_entry **pprt, struct flowi *, struct sock *sk, int flags); | 19 | extern int dn_route_output_sock(struct dst_entry **pprt, struct flowidn *, struct sock *sk, int flags); |
20 | extern int dn_cache_dump(struct sk_buff *skb, struct netlink_callback *cb); | 20 | extern int dn_cache_dump(struct sk_buff *skb, struct netlink_callback *cb); |
21 | extern void dn_rt_cache_flush(int delay); | 21 | extern void dn_rt_cache_flush(int delay); |
22 | 22 | ||
@@ -67,7 +67,7 @@ extern void dn_rt_cache_flush(int delay); | |||
67 | struct dn_route { | 67 | struct dn_route { |
68 | struct dst_entry dst; | 68 | struct dst_entry dst; |
69 | 69 | ||
70 | struct flowi fl; | 70 | struct flowidn fld; |
71 | 71 | ||
72 | __le16 rt_saddr; | 72 | __le16 rt_saddr; |
73 | __le16 rt_daddr; | 73 | __le16 rt_daddr; |
@@ -82,12 +82,12 @@ struct dn_route { | |||
82 | 82 | ||
83 | static inline bool dn_is_input_route(struct dn_route *rt) | 83 | static inline bool dn_is_input_route(struct dn_route *rt) |
84 | { | 84 | { |
85 | return rt->fl.flowi_iif != 0; | 85 | return rt->fld.flowidn_iif != 0; |
86 | } | 86 | } |
87 | 87 | ||
88 | static inline bool dn_is_output_route(struct dn_route *rt) | 88 | static inline bool dn_is_output_route(struct dn_route *rt) |
89 | { | 89 | { |
90 | return rt->fl.flowi_iif == 0; | 90 | return rt->fld.flowidn_iif == 0; |
91 | } | 91 | } |
92 | 92 | ||
93 | extern void dn_route_init(void); | 93 | extern void dn_route_init(void); |