SOLA
Loading...
Searching...
No Matches
natter
include
natter
network_info_ipv4.h
1
// Copyright The SOLA Contributors
2
//
3
// Licensed under the MIT License.
4
// For details on the licensing terms, see the LICENSE file.
5
// SPDX-License-Identifier: MIT
6
7
#ifndef NATTER_NETWORK_INFO_IPV4_H_
8
#define NATTER_NETWORK_INFO_IPV4_H_
9
10
#include <cstdint>
11
#include <string>
12
13
namespace
natter {
14
struct
NetworkInfoIPv4
{
15
std::string ip;
16
uint16_t port = 0;
17
18
bool
operator==(
const
NetworkInfoIPv4
&other)
const
{
19
return
ip == other.ip && port == other.port;
20
}
21
};
22
}
// namespace natter
23
24
#endif
// DAISI_NETWORK_INFO_IPV4_H_
natter::NetworkInfoIPv4
Definition
network_info_ipv4.h:14
Generated by
1.9.8