diff options
Diffstat (limited to 'include/net/ip6_route.h')
-rw-r--r-- | include/net/ip6_route.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/include/net/ip6_route.h b/include/net/ip6_route.h index 18e442ea93d8..27d23a65f3cd 100644 --- a/include/net/ip6_route.h +++ b/include/net/ip6_route.h | |||
@@ -66,6 +66,12 @@ static inline bool rt6_need_strict(const struct in6_addr *daddr) | |||
66 | (IPV6_ADDR_MULTICAST | IPV6_ADDR_LINKLOCAL | IPV6_ADDR_LOOPBACK); | 66 | (IPV6_ADDR_MULTICAST | IPV6_ADDR_LINKLOCAL | IPV6_ADDR_LOOPBACK); |
67 | } | 67 | } |
68 | 68 | ||
69 | static inline bool rt6_qualify_for_ecmp(const struct rt6_info *rt) | ||
70 | { | ||
71 | return (rt->rt6i_flags & (RTF_GATEWAY|RTF_ADDRCONF|RTF_DYNAMIC)) == | ||
72 | RTF_GATEWAY; | ||
73 | } | ||
74 | |||
69 | void ip6_route_input(struct sk_buff *skb); | 75 | void ip6_route_input(struct sk_buff *skb); |
70 | struct dst_entry *ip6_route_input_lookup(struct net *net, | 76 | struct dst_entry *ip6_route_input_lookup(struct net *net, |
71 | struct net_device *dev, | 77 | struct net_device *dev, |
@@ -165,10 +171,13 @@ struct rt6_rtnl_dump_arg { | |||
165 | }; | 171 | }; |
166 | 172 | ||
167 | int rt6_dump_route(struct rt6_info *rt, void *p_arg); | 173 | int rt6_dump_route(struct rt6_info *rt, void *p_arg); |
168 | void rt6_ifdown(struct net *net, struct net_device *dev); | ||
169 | void rt6_mtu_change(struct net_device *dev, unsigned int mtu); | 174 | void rt6_mtu_change(struct net_device *dev, unsigned int mtu); |
170 | void rt6_remove_prefsrc(struct inet6_ifaddr *ifp); | 175 | void rt6_remove_prefsrc(struct inet6_ifaddr *ifp); |
171 | void rt6_clean_tohost(struct net *net, struct in6_addr *gateway); | 176 | void rt6_clean_tohost(struct net *net, struct in6_addr *gateway); |
177 | void rt6_sync_up(struct net_device *dev, unsigned int nh_flags); | ||
178 | void rt6_disable_ip(struct net_device *dev, unsigned long event); | ||
179 | void rt6_sync_down_dev(struct net_device *dev, unsigned long event); | ||
180 | void rt6_multipath_rebalance(struct rt6_info *rt); | ||
172 | 181 | ||
173 | static inline const struct rt6_info *skb_rt6_info(const struct sk_buff *skb) | 182 | static inline const struct rt6_info *skb_rt6_info(const struct sk_buff *skb) |
174 | { | 183 | { |