NetworkManager::TunSetting

Search for usage in LXR

NetworkManager::TunSetting Class Reference

#include <tunsetting.h>

Inheritance diagram for NetworkManager::TunSetting:

Public Types

typedef QList< PtrList
 
enum  Mode { Tun , Tap }
 
typedef QSharedPointer< TunSettingPtr
 
- Public Types inherited from NetworkManager::Setting
typedef QList< PtrList
 
enum  MacAddressRandomization { MacAddressRandomizationDefault = 0 , MacAddressRandomizationNever , MacAddressRandomizationAlways }
 
typedef QSharedPointer< SettingPtr
 
typedef QFlags< SecretFlagType > SecretFlags
 
enum  SecretFlagType { None = 0 , AgentOwned = 0x01 , NotSaved = 0x02 , NotRequired = 0x04 }
 
enum  SettingType {
  Adsl , Cdma , Gsm , Infiniband ,
  Ipv4 , Ipv6 , Ppp , Pppoe ,
  Security8021x , Serial , Vpn , Wired ,
  Wireless , WirelessSecurity , Bluetooth , OlpcMesh ,
  Vlan , Wimax , Bond , Bridge ,
  BridgePort , Team , Generic , Tun ,
  Vxlan , IpTunnel , Proxy , User ,
  OvsBridge , OvsInterface , OvsPatch , OvsPort ,
  Match , Tc , TeamPort , Macsec ,
  Dcb , WireGuard
}
 

Public Member Functions

 TunSetting (const Ptr &other)
 
void fromMap (const QVariantMap &setting) override
 
QString group () const
 
Mode mode () const
 
bool multiQueue () const
 
QString name () const override
 
QString owner () const
 
bool pi () const
 
void setGroup (const QString &group)
 
void setMode (Mode mode)
 
void setMultiQueue (bool multiQueue)
 
void setOwner (const QString &owner)
 
void setPi (bool pi)
 
void setVnetHdr (bool vnetHdr)
 
QVariantMap toMap () const override
 
bool vnetHdr () const
 
- Public Member Functions inherited from NetworkManager::Setting
 Setting (const Ptr &setting)
 
 Setting (SettingType type)
 
bool isNull () const
 
virtual QStringList needSecrets (bool requestNew=false) const
 
virtual void secretsFromMap (const QVariantMap &map)
 
virtual void secretsFromStringMap (const NMStringMap &map)
 
virtual QVariantMap secretsToMap () const
 
virtual NMStringMap secretsToStringMap () const
 
void setInitialized (bool initialized)
 
void setType (SettingType type)
 
SettingType type () const
 

Protected Attributes

TunSettingPrivate * d_ptr
 
- Protected Attributes inherited from NetworkManager::Setting
SettingPrivate * d_ptr
 

Additional Inherited Members

- Static Public Member Functions inherited from NetworkManager::Setting
static QString typeAsString (SettingType type)
 
static SettingType typeFromString (const QString &type)
 

Detailed Description

Represents generic setting.

Definition at line 22 of file tunsetting.h.

Member Typedef Documentation

◆ List

◆ Ptr

Member Enumeration Documentation

◆ Mode

enum NetworkManager::TunSetting::Mode

Definition at line 27 of file tunsetting.h.

Constructor & Destructor Documentation

◆ TunSetting() [1/2]

NetworkManager::TunSetting::TunSetting ( )

Definition at line 21 of file tunsetting.cpp.

◆ TunSetting() [2/2]

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

Definition at line 27 of file tunsetting.cpp.

◆ ~TunSetting()

NetworkManager::TunSetting::~TunSetting ( )
override

Definition at line 39 of file tunsetting.cpp.

Member Function Documentation

◆ fromMap()

void NetworkManager::TunSetting::fromMap ( const QVariantMap & map)
overridevirtual

Must be reimplemented, default implementation does nothing.

Reimplemented from NetworkManager::Setting.

Definition at line 135 of file tunsetting.cpp.

◆ group()

QString NetworkManager::TunSetting::group ( ) const

Definition at line 58 of file tunsetting.cpp.

◆ mode()

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

Definition at line 72 of file tunsetting.cpp.

◆ multiQueue()

bool NetworkManager::TunSetting::multiQueue ( ) const

Definition at line 86 of file tunsetting.cpp.

◆ name()

QString NetworkManager::TunSetting::name ( ) const
overridevirtual

Must be reimplemented, default implementationd does nothing.

Reimplemented from NetworkManager::Setting.

Definition at line 44 of file tunsetting.cpp.

◆ owner()

QString NetworkManager::TunSetting::owner ( ) const

Definition at line 100 of file tunsetting.cpp.

◆ pi()

bool NetworkManager::TunSetting::pi ( ) const

Definition at line 114 of file tunsetting.cpp.

◆ setGroup()

void NetworkManager::TunSetting::setGroup ( const QString & group)

Definition at line 51 of file tunsetting.cpp.

◆ setMode()

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

Definition at line 65 of file tunsetting.cpp.

◆ setMultiQueue()

void NetworkManager::TunSetting::setMultiQueue ( bool multiQueue)

Definition at line 79 of file tunsetting.cpp.

◆ setOwner()

void NetworkManager::TunSetting::setOwner ( const QString & owner)

Definition at line 93 of file tunsetting.cpp.

◆ setPi()

void NetworkManager::TunSetting::setPi ( bool pi)

Definition at line 107 of file tunsetting.cpp.

◆ setVnetHdr()

void NetworkManager::TunSetting::setVnetHdr ( bool vnetHdr)

Definition at line 121 of file tunsetting.cpp.

◆ toMap()

QVariantMap NetworkManager::TunSetting::toMap ( ) const
overridevirtual

Must be reimplemented, default implementationd does nothing.

Reimplemented from NetworkManager::Setting.

Definition at line 162 of file tunsetting.cpp.

◆ vnetHdr()

bool NetworkManager::TunSetting::vnetHdr ( ) const

Definition at line 128 of file tunsetting.cpp.

Member Data Documentation

◆ d_ptr

TunSettingPrivate* NetworkManager::TunSetting::d_ptr
protected

Definition at line 61 of file tunsetting.h.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:56:21 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.