aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mroute.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/mroute.h')
-rw-r--r--include/linux/mroute.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/mroute.h b/include/linux/mroute.h
index fa04b246c9ae..46caaf44339d 100644
--- a/include/linux/mroute.h
+++ b/include/linux/mroute.h
@@ -150,6 +150,7 @@ static inline int ip_mroute_opt(int opt)
150extern int ip_mroute_setsockopt(struct sock *, int, char __user *, unsigned int); 150extern int ip_mroute_setsockopt(struct sock *, int, char __user *, unsigned int);
151extern int ip_mroute_getsockopt(struct sock *, int, char __user *, int __user *); 151extern int ip_mroute_getsockopt(struct sock *, int, char __user *, int __user *);
152extern int ipmr_ioctl(struct sock *sk, int cmd, void __user *arg); 152extern int ipmr_ioctl(struct sock *sk, int cmd, void __user *arg);
153extern int ipmr_compat_ioctl(struct sock *sk, unsigned int cmd, void __user *arg);
153extern int ip_mr_init(void); 154extern int ip_mr_init(void);
154#else 155#else
155static inline 156static inline
@@ -213,6 +214,7 @@ struct mfc_cache {
213 unsigned char ttls[MAXVIFS]; /* TTL thresholds */ 214 unsigned char ttls[MAXVIFS]; /* TTL thresholds */
214 } res; 215 } res;
215 } mfc_un; 216 } mfc_un;
217 struct rcu_head rcu;
216}; 218};
217 219
218#define MFC_STATIC 1 220#define MFC_STATIC 1
@@ -242,6 +244,7 @@ struct mfc_cache {
242#ifdef __KERNEL__ 244#ifdef __KERNEL__
243struct rtmsg; 245struct rtmsg;
244extern int ipmr_get_route(struct net *net, struct sk_buff *skb, 246extern int ipmr_get_route(struct net *net, struct sk_buff *skb,
247 __be32 saddr, __be32 daddr,
245 struct rtmsg *rtm, int nowait); 248 struct rtmsg *rtm, int nowait);
246#endif 249#endif
247 250