NetworkManager::TunSetting Class

class NetworkManager::TunSetting

Represents generic setting. More...

Header: #include <NetworkManagerQt/TunSetting>
CMake: find_package(KF6 REQUIRED COMPONENTS NetworkManagerQt)
target_link_libraries(mytarget PRIVATE KF6::NetworkManagerQt)
Inherits: NetworkManager::Setting

Public Types

List
enum Mode { Tun, Tap }
Ptr

Public Functions

TunSetting()
TunSetting(const NetworkManager::TunSetting::Ptr &other)
QString group() const
NetworkManager::TunSetting::Mode mode() const
bool multiQueue() const
QString owner() const
bool pi() const
void setGroup(const QString &group)
void setMode(NetworkManager::TunSetting::Mode mode)
void setMultiQueue(bool multiQueue)
void setOwner(const QString &owner)
void setPi(bool pi)
void setVnetHdr(bool vnetHdr)
bool vnetHdr() const

Detailed Description

Member Type Documentation

TunSetting::List

enum TunSetting::Mode

ConstantValue
NetworkManager::TunSetting::Tun0
NetworkManager::TunSetting::Tap1

TunSetting::Ptr

Member Function Documentation

TunSetting::TunSetting()

[explicit] TunSetting::TunSetting(const NetworkManager::TunSetting::Ptr &other)

QString TunSetting::group() const

See also setGroup().

NetworkManager::TunSetting::Mode TunSetting::mode() const

See also setMode().

bool TunSetting::multiQueue() const

See also setMultiQueue().

QString TunSetting::owner() const

See also setOwner().

bool TunSetting::pi() const

See also setPi().

void TunSetting::setGroup(const QString &group)

See also group().

void TunSetting::setMode(NetworkManager::TunSetting::Mode mode)

See also mode().

void TunSetting::setMultiQueue(bool multiQueue)

See also multiQueue().

void TunSetting::setOwner(const QString &owner)

See also owner().

void TunSetting::setPi(bool pi)

See also pi().

void TunSetting::setVnetHdr(bool vnetHdr)

See also vnetHdr().

bool TunSetting::vnetHdr() const

See also setVnetHdr().