Add stub stub ip types for ipv6

This commit is contained in:
Danny Robson 2011-06-29 21:26:56 +10:00
parent e7ff9a46e3
commit 46d4a369f0

17
ip.hpp
View File

@ -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 #endif // __UTIL_IP_HPP