|
Hermes 0.7.0
Linux game streaming host
|
An IP address as the bytes the network carries it in. More...
#include <src/network_link.h>
Public Member Functions | |
| std::size_t | size () const |
| Bytes that carry the address: 4 for IPv4, 16 for IPv6. | |
Public Attributes | |
| bool | v6 {false} |
| IPv6 when set, IPv4 otherwise. | |
| std::array< std::uint8_t, 16 > | bytes {} |
| Network byte order; IPv4 uses the first four. | |
| std::uint32_t | scope {0} |
| IPv6 scope (interface index), 0 when it has none. | |
An IP address as the bytes the network carries it in.
Definition at line 28 of file network_link.h.
|
inline |
Bytes that carry the address: 4 for IPv4, 16 for IPv6.
Definition at line 34 of file network_link.h.
| std::array<std::uint8_t, 16> net::raw_address_t::bytes {} |
Network byte order; IPv4 uses the first four.
Definition at line 30 of file network_link.h.
| std::uint32_t net::raw_address_t::scope {0} |
IPv6 scope (interface index), 0 when it has none.
Definition at line 31 of file network_link.h.
| bool net::raw_address_t::v6 {false} |
IPv6 when set, IPv4 otherwise.
Definition at line 29 of file network_link.h.