NetworkManager::BridgeSetting

Search for usage in LXR

NetworkManager::BridgeSetting Class Reference

#include <bridgesetting.h>

Inheritance diagram for NetworkManager::BridgeSetting:

Public Types

typedef QList< PtrList
 
typedef QSharedPointer< BridgeSettingPtr
 
- 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

 BridgeSetting (const Ptr &other)
 
quint32 agingTime () const
 
quint32 forwardDelay () const
 
void fromMap (const QVariantMap &setting) override
 
quint32 helloTime () const
 
QString interfaceName () const
 
QByteArray macAddress () const
 
quint32 maxAge () const
 
bool multicastSnooping () const
 
QString name () const override
 
quint32 priority () const
 
void setAgingTime (quint32 time)
 
void setForwardDelay (quint32 delay)
 
void setHelloTime (quint32 time)
 
void setInterfaceName (const QString &name)
 
void setMacAddress (const QByteArray &address)
 
void setMaxAge (quint32 age)
 
void setMulticastSnooping (bool snooping)
 
void setPriority (quint32 priority)
 
void setStp (bool enabled)
 
bool stp () const
 
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

BridgeSettingPrivate * 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 bridge setting.

Definition at line 22 of file bridgesetting.h.

Member Typedef Documentation

◆ List

◆ Ptr

Constructor & Destructor Documentation

◆ BridgeSetting() [1/2]

NetworkManager::BridgeSetting::BridgeSetting ( )

Definition at line 26 of file bridgesetting.cpp.

◆ BridgeSetting() [2/2]

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

Definition at line 32 of file bridgesetting.cpp.

◆ ~BridgeSetting()

NetworkManager::BridgeSetting::~BridgeSetting ( )
override

Definition at line 47 of file bridgesetting.cpp.

Member Function Documentation

◆ agingTime()

quint32 NetworkManager::BridgeSetting::agingTime ( ) const

Definition at line 150 of file bridgesetting.cpp.

◆ forwardDelay()

quint32 NetworkManager::BridgeSetting::forwardDelay ( ) const

Definition at line 108 of file bridgesetting.cpp.

◆ fromMap()

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

Must be reimplemented, default implementation does nothing.

Reimplemented from NetworkManager::Setting.

Definition at line 185 of file bridgesetting.cpp.

◆ helloTime()

quint32 NetworkManager::BridgeSetting::helloTime ( ) const

Definition at line 122 of file bridgesetting.cpp.

◆ interfaceName()

QString NetworkManager::BridgeSetting::interfaceName ( ) const

Definition at line 66 of file bridgesetting.cpp.

◆ macAddress()

QByteArray NetworkManager::BridgeSetting::macAddress ( ) const

Definition at line 178 of file bridgesetting.cpp.

◆ maxAge()

quint32 NetworkManager::BridgeSetting::maxAge ( ) const

Definition at line 136 of file bridgesetting.cpp.

◆ multicastSnooping()

bool NetworkManager::BridgeSetting::multicastSnooping ( ) const

Definition at line 164 of file bridgesetting.cpp.

◆ name()

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

Must be reimplemented, default implementationd does nothing.

Reimplemented from NetworkManager::Setting.

Definition at line 52 of file bridgesetting.cpp.

◆ priority()

quint32 NetworkManager::BridgeSetting::priority ( ) const

Definition at line 94 of file bridgesetting.cpp.

◆ setAgingTime()

void NetworkManager::BridgeSetting::setAgingTime ( quint32 time)

Definition at line 143 of file bridgesetting.cpp.

◆ setForwardDelay()

void NetworkManager::BridgeSetting::setForwardDelay ( quint32 delay)

Definition at line 101 of file bridgesetting.cpp.

◆ setHelloTime()

void NetworkManager::BridgeSetting::setHelloTime ( quint32 time)

Definition at line 115 of file bridgesetting.cpp.

◆ setInterfaceName()

void NetworkManager::BridgeSetting::setInterfaceName ( const QString & name)

Definition at line 59 of file bridgesetting.cpp.

◆ setMacAddress()

void NetworkManager::BridgeSetting::setMacAddress ( const QByteArray & address)

Definition at line 171 of file bridgesetting.cpp.

◆ setMaxAge()

void NetworkManager::BridgeSetting::setMaxAge ( quint32 age)

Definition at line 129 of file bridgesetting.cpp.

◆ setMulticastSnooping()

void NetworkManager::BridgeSetting::setMulticastSnooping ( bool snooping)

Definition at line 157 of file bridgesetting.cpp.

◆ setPriority()

void NetworkManager::BridgeSetting::setPriority ( quint32 priority)

Definition at line 87 of file bridgesetting.cpp.

◆ setStp()

void NetworkManager::BridgeSetting::setStp ( bool enabled)

Definition at line 73 of file bridgesetting.cpp.

◆ stp()

bool NetworkManager::BridgeSetting::stp ( ) const

Definition at line 80 of file bridgesetting.cpp.

◆ toMap()

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

Must be reimplemented, default implementationd does nothing.

Reimplemented from NetworkManager::Setting.

Definition at line 223 of file bridgesetting.cpp.

Member Data Documentation

◆ d_ptr

BridgeSettingPrivate* NetworkManager::BridgeSetting::d_ptr
protected

Definition at line 66 of file bridgesetting.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 Fri Oct 11 2024 12:19:23 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.