]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - src/eui/Eui64.h
SourceLayout: Add Ip namespace for internal libip
[thirdparty/squid.git] / src / eui / Eui64.h
index 6ff7502645581c6e3ab813bc7606100f2c434a05..81780125b0eba76ef5fd6abf05ebbbc2ec98a150 100644 (file)
@@ -5,7 +5,9 @@
 
 #if USE_SQUID_EUI
 
-class IpAddress;
+namespace Ip {
+    class Address;
+};
 
 #if HAVE_CSTRING
 #include <cstring>
@@ -70,13 +72,13 @@ public:
     bool encode(char *buf, const int len);
 
     // lookup an EUI-64 address via IPv6 SLAAC or NDP
-    bool lookup(IpAddress &c);
+    bool lookup(Ip::Address &c);
 
     // lookup an EUI-64 address via IPv6 NDP
-    bool lookupNdp(IpAddress &c);
+    bool lookupNdp(Ip::Address &c);
 
     // lookup an EUI-64 address via decoding the IPv6 address SLAAC data
-    bool lookupSlaac(IpAddress &c);
+    bool lookupSlaac(Ip::Address &c);
 
 private:
     unsigned char eui[SZ_EUI64_BUF];