diff options
Diffstat (limited to 'include/net/ndisc.h')
-rw-r--r-- | include/net/ndisc.h | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/include/net/ndisc.h b/include/net/ndisc.h index 895997bc2ead..62beeb97c4b1 100644 --- a/include/net/ndisc.h +++ b/include/net/ndisc.h | |||
@@ -42,11 +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 | #define ND_MIN_RANDOM_FACTOR (1/2) | ||
46 | #define ND_MAX_RANDOM_FACTOR (3/2) | ||
47 | |||
48 | #ifdef __KERNEL__ | ||
49 | |||
50 | #include <linux/compiler.h> | 45 | #include <linux/compiler.h> |
51 | #include <linux/icmpv6.h> | 46 | #include <linux/icmpv6.h> |
52 | #include <linux/in6.h> | 47 | #include <linux/in6.h> |
@@ -105,7 +100,8 @@ extern void ndisc_send_redirect(struct sk_buff *skb, | |||
105 | struct neighbour *neigh, | 100 | struct neighbour *neigh, |
106 | const struct in6_addr *target); | 101 | const struct in6_addr *target); |
107 | 102 | ||
108 | 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); | ||
109 | 105 | ||
110 | extern struct sk_buff *ndisc_build_skb(struct net_device *dev, | 106 | extern struct sk_buff *ndisc_build_skb(struct net_device *dev, |
111 | const struct in6_addr *daddr, | 107 | const struct in6_addr *daddr, |
@@ -158,8 +154,4 @@ static inline struct neighbour * ndisc_get_neigh(struct net_device *dev, const s | |||
158 | return ERR_PTR(-ENODEV); | 154 | return ERR_PTR(-ENODEV); |
159 | } | 155 | } |
160 | 156 | ||
161 | |||
162 | #endif /* __KERNEL__ */ | ||
163 | |||
164 | |||
165 | #endif | 157 | #endif |