roar
Loading...
Searching...
No Matches
ipv6.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <boost/fusion/include/adapt_struct.hpp>
4
5#include <array>
6#include <cstdint>
7#include <string>
8
9namespace Roar
10{
11 struct Ipv6
12 {
13 std::array<uint16_t, 8> segments{};
14 bool endsWithIpv4{false};
15
16 std::string toString() const;
17 };
18} // namespace Roar
Definition authorization.hpp:10
Definition ipv6.hpp:12
std::array< uint16_t, 8 > segments
Definition ipv6.hpp:13
std::string toString() const
Definition ipv6.cpp:8
bool endsWithIpv4
Definition ipv6.hpp:14