NetworkManager::VlanSetting

Search for usage in LXR

NetworkManager::VlanSetting Class Reference

#include <vlansetting.h>

Inheritance diagram for NetworkManager::VlanSetting:

Public Types

enum  Flag { None = 0 , ReorderHeaders = 0x1 , Gvrp = 0x2 , LooseBinding = 0x4 }
 
typedef QFlags< Flag > Flags
 
typedef QList< PtrList
 
typedef QSharedPointer< VlanSettingPtr
 
- 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

 VlanSetting (const Ptr &other)
 
QStringList egressPriorityMap () const
 
Flags flags () const
 
void fromMap (const QVariantMap &setting) override
 
quint32 id () const
 
QStringList ingressPriorityMap () const
 
QString interfaceName () const
 
QString name () const override
 
QString parent () const
 
void setEgressPriorityMap (const QStringList &map)
 
void setFlags (Flags flags)
 
void setId (quint32 id)
 
void setIngressPriorityMap (const QStringList &map)
 
void setInterfaceName (const QString &name)
 
void setParent (const QString &parent)
 
QVariantMap toMap () const override
 
- 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

VlanSettingPrivate * 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 vlan setting.

Definition at line 22 of file vlansetting.h.

Member Typedef Documentation

◆ Flags

Definition at line 33 of file vlansetting.h.

◆ List

◆ Ptr

Member Enumeration Documentation

◆ Flag

enum NetworkManager::VlanSetting::Flag

Definition at line 27 of file vlansetting.h.

Constructor & Destructor Documentation

◆ VlanSetting() [1/2]

NetworkManager::VlanSetting::VlanSetting ( )

Definition at line 22 of file vlansetting.cpp.

◆ VlanSetting() [2/2]

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

Definition at line 28 of file vlansetting.cpp.

◆ ~VlanSetting()

NetworkManager::VlanSetting::~VlanSetting ( )
override

Definition at line 40 of file vlansetting.cpp.

Member Function Documentation

◆ egressPriorityMap()

QStringList NetworkManager::VlanSetting::egressPriorityMap ( ) const

Definition at line 129 of file vlansetting.cpp.

◆ flags()

NetworkManager::VlanSetting::Flags NetworkManager::VlanSetting::flags ( ) const

Definition at line 101 of file vlansetting.cpp.

◆ fromMap()

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

Must be reimplemented, default implementation does nothing.

Reimplemented from NetworkManager::Setting.

Definition at line 136 of file vlansetting.cpp.

◆ id()

quint32 NetworkManager::VlanSetting::id ( ) const

Definition at line 87 of file vlansetting.cpp.

◆ ingressPriorityMap()

QStringList NetworkManager::VlanSetting::ingressPriorityMap ( ) const

Definition at line 115 of file vlansetting.cpp.

◆ interfaceName()

QString NetworkManager::VlanSetting::interfaceName ( ) const

Definition at line 59 of file vlansetting.cpp.

◆ name()

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

Must be reimplemented, default implementationd does nothing.

Reimplemented from NetworkManager::Setting.

Definition at line 45 of file vlansetting.cpp.

◆ parent()

QString NetworkManager::VlanSetting::parent ( ) const

Definition at line 73 of file vlansetting.cpp.

◆ setEgressPriorityMap()

void NetworkManager::VlanSetting::setEgressPriorityMap ( const QStringList & map)

Definition at line 122 of file vlansetting.cpp.

◆ setFlags()

void NetworkManager::VlanSetting::setFlags ( Flags flags)

Definition at line 94 of file vlansetting.cpp.

◆ setId()

void NetworkManager::VlanSetting::setId ( quint32 id)

Definition at line 80 of file vlansetting.cpp.

◆ setIngressPriorityMap()

void NetworkManager::VlanSetting::setIngressPriorityMap ( const QStringList & map)

Definition at line 108 of file vlansetting.cpp.

◆ setInterfaceName()

void NetworkManager::VlanSetting::setInterfaceName ( const QString & name)
Deprecated
in favor of connection.interface-name in NM 1.0.0

Definition at line 52 of file vlansetting.cpp.

◆ setParent()

void NetworkManager::VlanSetting::setParent ( const QString & parent)

Definition at line 66 of file vlansetting.cpp.

◆ toMap()

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

Must be reimplemented, default implementationd does nothing.

Reimplemented from NetworkManager::Setting.

Definition at line 163 of file vlansetting.cpp.

Member Data Documentation

◆ d_ptr

VlanSettingPrivate* NetworkManager::VlanSetting::d_ptr
protected

Definition at line 65 of file vlansetting.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 Mon Nov 18 2024 12:08:13 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.