From 46d4a369f08ef33a5116145fd6526c940f803a64 Mon Sep 17 00:00:00 2001 From: Danny Robson Date: Wed, 29 Jun 2011 21:26:56 +1000 Subject: [PATCH] Add stub stub ip types for ipv6 --- ip.hpp | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/ip.hpp b/ip.hpp index 7e069227..57d964b9 100644 --- a/ip.hpp +++ b/ip.hpp @@ -50,4 +50,21 @@ namespace ipv4 { } +namespace ipv6 { + struct ip { + uint32_t m_quads[4]; + + ip (const std::string&) { ; } + }; + + typedef uint16_t port; + + struct mask { + uint32_t m_quads[4]; + + mask (uint32_t) { ; } + }; +} + + #endif // __UTIL_IP_HPP