Skip to content

Commit

Permalink
[IPV6]: Remove unused declarations in include/net/ip6_route.h.
Browse files Browse the repository at this point in the history
	
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>
  • Loading branch information
Rami Rosen authored and David S. Miller committed Apr 10, 2008
1 parent 2d7bf36 commit 5c06f51
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions include/net/ip6_route.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ struct route_info {
#define RT6_LOOKUP_F_SRCPREF_PUBLIC 0x00000010
#define RT6_LOOKUP_F_SRCPREF_COA 0x00000020

extern struct rt6_info *ip6_null_entry;

#ifdef CONFIG_IPV6_MULTIPLE_TABLES
extern struct rt6_info *ip6_prohibit_entry;
Expand All @@ -61,20 +60,6 @@ extern int ip6_route_add(struct fib6_config *cfg);
extern int ip6_ins_rt(struct rt6_info *);
extern int ip6_del_rt(struct rt6_info *);

extern int ip6_rt_addr_add(struct in6_addr *addr,
struct net_device *dev,
int anycast);

extern int ip6_rt_addr_del(struct in6_addr *addr,
struct net_device *dev);

extern void rt6_sndmsg(int type, struct in6_addr *dst,
struct in6_addr *src,
struct in6_addr *gw,
struct net_device *dev,
int dstlen, int srclen,
int metric, __u32 flags);

extern struct rt6_info *rt6_lookup(struct net *net,
struct in6_addr *daddr,
struct in6_addr *saddr,
Expand Down

0 comments on commit 5c06f51

Please sign in to comment.