From cfa6ab0593a02c3d4d0d959c771f72430f1adf67 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Tue, 30 May 2000 22:47:33 +0000 Subject: Added ipa_absolutize() which converts link-scope addresses to global scope ones according to prefix assigned to the corresponding interface. --- lib/ipv6.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/ipv6.h') diff --git a/lib/ipv6.h b/lib/ipv6.h index cf7a9bb..90aedb9 100644 --- a/lib/ipv6.h +++ b/lib/ipv6.h @@ -55,6 +55,7 @@ typedef struct ipv6_addr { /* ipa_from_u32 and ipa_to_u32 replaced by ipa_build */ #define ipa_build(a,b,c,d) _MI(a,b,c,d) #define ipa_compare(x,y) ipv6_compare(x,y) +#define ipa_absolutize(x,y) ipv6_absolutize(x,y) ip_addr ipv6_mkmask(unsigned); unsigned ipv6_mklen(ip_addr *); @@ -63,6 +64,7 @@ void ipv6_hton(ip_addr *); void ipv6_ntoh(ip_addr *); int ipv6_compare(ip_addr, ip_addr); int ipv4_pton_u32(char *, u32 *); +void ipv6_absolutize(ip_addr *, ip_addr *); /* * This hash function looks well, but once IPv6 enters -- cgit v1.2.3