#include <resource.h>
|
static constexpr char | kNetmask [] = "/24" |
|
◆ EthernetIface() [1/2]
cuttlefish::EthernetIface::EthernetIface |
( |
| ) |
|
|
default |
◆ ~EthernetIface()
cuttlefish::EthernetIface::~EthernetIface |
( |
| ) |
|
|
default |
◆ EthernetIface() [2/2]
cuttlefish::EthernetIface::EthernetIface |
( |
const std::string & |
name, |
|
|
uid_t |
uid, |
|
|
uint16_t |
iface_id, |
|
|
uint32_t |
global_id, |
|
|
std::string |
bridge_name, |
|
|
std::string |
ipaddr |
|
) |
| |
|
inline |
◆ AcquireResource()
bool cuttlefish::EthernetIface::AcquireResource |
( |
| ) |
|
|
overridevirtual |
◆ GetBridgeName()
std::string cuttlefish::EthernetIface::GetBridgeName |
( |
| ) |
|
|
inline |
◆ GetHasIpv4()
bool cuttlefish::EthernetIface::GetHasIpv4 |
( |
| ) |
|
|
inline |
◆ GetHasIpv6()
bool cuttlefish::EthernetIface::GetHasIpv6 |
( |
| ) |
|
|
inline |
◆ GetIfaceId()
uint16_t cuttlefish::EthernetIface::GetIfaceId |
( |
| ) |
|
|
inline |
◆ GetIpAddr()
std::string cuttlefish::EthernetIface::GetIpAddr |
( |
| ) |
|
|
inline |
◆ GetUseEbtablesLegacy()
bool cuttlefish::EthernetIface::GetUseEbtablesLegacy |
( |
| ) |
|
|
inline |
◆ ReleaseResource()
bool cuttlefish::EthernetIface::ReleaseResource |
( |
| ) |
|
|
overridevirtual |
◆ SetHasIpv4()
void cuttlefish::EthernetIface::SetHasIpv4 |
( |
bool |
ipv4 | ) |
|
|
inline |
◆ SetHasIpv6()
void cuttlefish::EthernetIface::SetHasIpv6 |
( |
bool |
ipv6 | ) |
|
|
inline |
◆ SetUseEbtablesLegacy()
void cuttlefish::EthernetIface::SetUseEbtablesLegacy |
( |
bool |
use_legacy | ) |
|
|
inline |
◆ bridge_name_
std::string cuttlefish::EthernetIface::bridge_name_ |
|
private |
◆ has_ipv4_
bool cuttlefish::EthernetIface::has_ipv4_ = true |
|
private |
◆ has_ipv6_
bool cuttlefish::EthernetIface::has_ipv6_ = true |
|
private |
◆ iface_id_
uint16_t cuttlefish::EthernetIface::iface_id_ |
|
private |
◆ ipaddr_
std::string cuttlefish::EthernetIface::ipaddr_ |
|
private |
◆ kNetmask
constexpr char cuttlefish::EthernetIface::kNetmask[] = "/24" |
|
staticconstexprprivate |
◆ use_ebtables_legacy_
bool cuttlefish::EthernetIface::use_ebtables_legacy_ = false |
|
private |
The documentation for this class was generated from the following files: