diff options
author | Rami Rosen <ramirose@gmail.com> | 2008-04-10 05:31:20 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-04-10 05:31:20 -0400 |
commit | 5c06f510a25153ff79e8c2dca312b732a367c5bb (patch) | |
tree | 05d75038033a33e263bb93010326752885095d9d /include/net/ip6_route.h | |
parent | 2d7bf36746b6329d9d54c6c6efe2b55666dd1f53 (diff) |
[IPV6]: Remove unused declarations in include/net/ip6_route.h.
1) Standlaone ip6_null_entry is no longer needed as it is replaced by
the ip6_null_entry member of ipv6 (instance of struct netns_ipv6) in
struct net (as a result of Network Namespaces patches).
2) These 3 methods from this same header are not defined anywhere:
ip6_rt_addr_add(), ip6_rt_addr_del(), rt6_sndmsg()
Signed-off-by: Rami Rosen <ramirose@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/ip6_route.h')
-rw-r--r-- | include/net/ip6_route.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/include/net/ip6_route.h b/include/net/ip6_route.h index 3ae6799c2b14..9080076ce0e5 100644 --- a/include/net/ip6_route.h +++ b/include/net/ip6_route.h | |||
@@ -37,7 +37,6 @@ struct route_info { | |||
37 | #define RT6_LOOKUP_F_SRCPREF_PUBLIC 0x00000010 | 37 | #define RT6_LOOKUP_F_SRCPREF_PUBLIC 0x00000010 |
38 | #define RT6_LOOKUP_F_SRCPREF_COA 0x00000020 | 38 | #define RT6_LOOKUP_F_SRCPREF_COA 0x00000020 |
39 | 39 | ||
40 | extern struct rt6_info *ip6_null_entry; | ||
41 | 40 | ||
42 | #ifdef CONFIG_IPV6_MULTIPLE_TABLES | 41 | #ifdef CONFIG_IPV6_MULTIPLE_TABLES |
43 | extern struct rt6_info *ip6_prohibit_entry; | 42 | extern struct rt6_info *ip6_prohibit_entry; |
@@ -61,20 +60,6 @@ extern int ip6_route_add(struct fib6_config *cfg); | |||
61 | extern int ip6_ins_rt(struct rt6_info *); | 60 | extern int ip6_ins_rt(struct rt6_info *); |
62 | extern int ip6_del_rt(struct rt6_info *); | 61 | extern int ip6_del_rt(struct rt6_info *); |
63 | 62 | ||
64 | extern int ip6_rt_addr_add(struct in6_addr *addr, | ||
65 | struct net_device *dev, | ||
66 | int anycast); | ||
67 | |||
68 | extern int ip6_rt_addr_del(struct in6_addr *addr, | ||
69 | struct net_device *dev); | ||
70 | |||
71 | extern void rt6_sndmsg(int type, struct in6_addr *dst, | ||
72 | struct in6_addr *src, | ||
73 | struct in6_addr *gw, | ||
74 | struct net_device *dev, | ||
75 | int dstlen, int srclen, | ||
76 | int metric, __u32 flags); | ||
77 | |||
78 | extern struct rt6_info *rt6_lookup(struct net *net, | 63 | extern struct rt6_info *rt6_lookup(struct net *net, |
79 | struct in6_addr *daddr, | 64 | struct in6_addr *daddr, |
80 | struct in6_addr *saddr, | 65 | struct in6_addr *saddr, |