diff options
Diffstat (limited to 'include/net/ndisc.h')
-rw-r--r-- | include/net/ndisc.h | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/include/net/ndisc.h b/include/net/ndisc.h index e0e594f8e9d9..62beeb97c4b1 100644 --- a/include/net/ndisc.h +++ b/include/net/ndisc.h | |||
@@ -42,8 +42,6 @@ enum { | |||
42 | #define ND_REACHABLE_TIME (30*HZ) | 42 | #define ND_REACHABLE_TIME (30*HZ) |
43 | #define ND_RETRANS_TIMER HZ | 43 | #define ND_RETRANS_TIMER HZ |
44 | 44 | ||
45 | #ifdef __KERNEL__ | ||
46 | |||
47 | #include <linux/compiler.h> | 45 | #include <linux/compiler.h> |
48 | #include <linux/icmpv6.h> | 46 | #include <linux/icmpv6.h> |
49 | #include <linux/in6.h> | 47 | #include <linux/in6.h> |
@@ -102,7 +100,8 @@ extern void ndisc_send_redirect(struct sk_buff *skb, | |||
102 | struct neighbour *neigh, | 100 | struct neighbour *neigh, |
103 | const struct in6_addr *target); | 101 | const struct in6_addr *target); |
104 | 102 | ||
105 | extern int ndisc_mc_map(struct in6_addr *addr, char *buf, struct net_device *dev, int dir); | 103 | extern int ndisc_mc_map(const struct in6_addr *addr, char *buf, |
104 | struct net_device *dev, int dir); | ||
106 | 105 | ||
107 | extern struct sk_buff *ndisc_build_skb(struct net_device *dev, | 106 | extern struct sk_buff *ndisc_build_skb(struct net_device *dev, |
108 | const struct in6_addr *daddr, | 107 | const struct in6_addr *daddr, |
@@ -155,8 +154,4 @@ static inline struct neighbour * ndisc_get_neigh(struct net_device *dev, const s | |||
155 | return ERR_PTR(-ENODEV); | 154 | return ERR_PTR(-ENODEV); |
156 | } | 155 | } |
157 | 156 | ||
158 | |||
159 | #endif /* __KERNEL__ */ | ||
160 | |||
161 | |||
162 | #endif | 157 | #endif |