aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorYOSHIFUJI Hideaki2008-03-03 21:44:34 +0900
committerYOSHIFUJI Hideaki2008-03-04 15:18:23 +0900
commit5e5f3f0f801321078c897a5de0b4b4304f234da0 (patch)
tree58e6b37134328183eb3c0a49852c52c0368da21c /include
parent8082c37cdc31fb0ed178d9d706bf7568ada0edd9 (diff)
[IPV6] ADDRCONF: Convert ipv6_get_saddr() to ipv6_dev_get_saddr().
Since most users of ipv6_get_saddr() pass non-NULL as dst argument, use ipv6_dev_get_saddr() directly. Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Diffstat (limited to 'include')
-rw-r--r--include/net/addrconf.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/net/addrconf.h b/include/net/addrconf.h
index a9ff97c120c7..89e3c53c8886 100644
--- a/include/net/addrconf.h
+++ b/include/net/addrconf.h
@@ -73,9 +73,6 @@ extern struct inet6_ifaddr *ipv6_get_ifaddr(struct net *net,
struct net_device *dev,
int strict);
-extern int ipv6_get_saddr(struct dst_entry *dst,
- struct in6_addr *daddr,
- struct in6_addr *saddr);
extern int ipv6_dev_get_saddr(struct net_device *dev,
struct in6_addr *daddr,
struct in6_addr *saddr);