NetworkManager::DcbSetting

Search for usage in LXR

NetworkManager::DcbSetting Class Reference

#include <dcbsetting.h>

Inheritance diagram for NetworkManager::DcbSetting:

Public Types

typedef QFlags< DcbFlagType > DcbFlags
 
enum  DcbFlagType { None = 0 , Enable = 0x01 , Advertise = 0x02 , Willing = 0x04 }
 
typedef QList< PtrList
 
typedef QSharedPointer< DcbSettingPtr
 
- 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

 DcbSetting (const Ptr &other)
 
DcbFlags appFcoeFlags () const
 
QString appFcoeMode () const
 
qint32 appFcoePriority () const
 
DcbFlags appFipFlags () const
 
qint32 appFipPriority () const
 
DcbFlags appIscsiFlags () const
 
qint32 appIscsiPriority () const
 
void fromMap (const QVariantMap &setting) override
 
QString name () const override
 
UIntList priorityBandwidth () const
 
quint32 priorityBandwidth (quint32 userPriority) const
 
UIntList priorityFlowControl () const
 
bool priorityFlowControl (quint32 userPriority) const
 
DcbFlags priorityFlowControlFlags () const
 
UIntList priorityGroupBandwidth () const
 
quint32 priorityGroupBandwidth (quint32 groupId) const
 
DcbFlags priorityGroupFlags () const
 
UIntList priorityGroupId () const
 
quint32 priorityGroupId (quint32 userPriority) const
 
UIntList priorityStrictBandwidth () const
 
bool priorityStrictBandwidth (quint32 userPriority) const
 
UIntList priorityTrafficClass () const
 
quint32 priorityTrafficClass (quint32 userPriority) const
 
void setAppFcoeFlags (DcbFlags flags)
 
void setAppFcoeMode (const QString &mode)
 
void setAppFcoePriority (qint32 priority)
 
void setAppFipFlags (DcbFlags flags)
 
void setAppFipPriority (qint32 priority)
 
void setAppIscsiFlags (DcbFlags flags)
 
void setAppIscsiPriority (qint32 priority)
 
void setPriorityBandwidth (const UIntList &list)
 
void setPriorityBandwidth (quint32 userPriority, quint32 bandwidthPercent)
 
void setPriorityFlowControl (const UIntList &list)
 
void setPriorityFlowControl (quint32 userPriority, bool enabled)
 
void setPriorityFlowControlFlags (DcbFlags flags)
 
void setPriorityGroupBandwidth (const UIntList &list)
 
void setPriorityGroupBandwidth (quint32 groupId, quint32 bandwidthPercent)
 
void setPriorityGroupFlags (DcbFlags flags)
 
void setPriorityGroupId (const UIntList &list)
 
void setPriorityGroupId (quint32 userPriority, quint32 groupId)
 
void setPriorityStrictBandwidth (const UIntList &list)
 
void setPriorityStrictBandwidth (quint32 userPriority, bool strict)
 
void setPriorityTrafficClass (const UIntList &list)
 
void setPriorityTrafficClass (quint32 userPriority, quint32 trafficClass)
 
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

DcbSettingPrivate * 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 Dcb setting.

Definition at line 22 of file dcbsetting.h.

Member Typedef Documentation

◆ DcbFlags

Definition at line 34 of file dcbsetting.h.

◆ List

◆ Ptr

Member Enumeration Documentation

◆ DcbFlagType

enum NetworkManager::DcbSetting::DcbFlagType

Definition at line 28 of file dcbsetting.h.

Constructor & Destructor Documentation

◆ DcbSetting() [1/2]

NetworkManager::DcbSetting::DcbSetting ( )

Definition at line 27 of file dcbsetting.cpp.

◆ DcbSetting() [2/2]

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

Definition at line 33 of file dcbsetting.cpp.

◆ ~DcbSetting()

NetworkManager::DcbSetting::~DcbSetting ( )
override

Definition at line 54 of file dcbsetting.cpp.

Member Function Documentation

◆ appFcoeFlags()

NetworkManager::DcbSetting::DcbFlags NetworkManager::DcbSetting::appFcoeFlags ( ) const

Definition at line 129 of file dcbsetting.cpp.

◆ appFcoeMode()

QString NetworkManager::DcbSetting::appFcoeMode ( ) const

Definition at line 73 of file dcbsetting.cpp.

◆ appFcoePriority()

qint32 NetworkManager::DcbSetting::appFcoePriority ( ) const

Definition at line 87 of file dcbsetting.cpp.

◆ appFipFlags()

NetworkManager::DcbSetting::DcbFlags NetworkManager::DcbSetting::appFipFlags ( ) const

Definition at line 143 of file dcbsetting.cpp.

◆ appFipPriority()

qint32 NetworkManager::DcbSetting::appFipPriority ( ) const

Definition at line 101 of file dcbsetting.cpp.

◆ appIscsiFlags()

NetworkManager::DcbSetting::DcbFlags NetworkManager::DcbSetting::appIscsiFlags ( ) const

Definition at line 157 of file dcbsetting.cpp.

◆ appIscsiPriority()

qint32 NetworkManager::DcbSetting::appIscsiPriority ( ) const

Definition at line 115 of file dcbsetting.cpp.

◆ fromMap()

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

Must be reimplemented, default implementation does nothing.

Reimplemented from NetworkManager::Setting.

Definition at line 390 of file dcbsetting.cpp.

◆ name()

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

Must be reimplemented, default implementationd does nothing.

Reimplemented from NetworkManager::Setting.

Definition at line 59 of file dcbsetting.cpp.

◆ priorityBandwidth() [1/2]

UIntList NetworkManager::DcbSetting::priorityBandwidth ( ) const

Definition at line 251 of file dcbsetting.cpp.

◆ priorityBandwidth() [2/2]

quint32 NetworkManager::DcbSetting::priorityBandwidth ( quint32 userPriority) const

Definition at line 234 of file dcbsetting.cpp.

◆ priorityFlowControl() [1/2]

UIntList NetworkManager::DcbSetting::priorityFlowControl ( ) const

Definition at line 218 of file dcbsetting.cpp.

◆ priorityFlowControl() [2/2]

bool NetworkManager::DcbSetting::priorityFlowControl ( quint32 userPriority) const

Definition at line 201 of file dcbsetting.cpp.

◆ priorityFlowControlFlags()

NetworkManager::DcbSetting::DcbFlags NetworkManager::DcbSetting::priorityFlowControlFlags ( ) const

Definition at line 185 of file dcbsetting.cpp.

◆ priorityGroupBandwidth() [1/2]

UIntList NetworkManager::DcbSetting::priorityGroupBandwidth ( ) const

Definition at line 284 of file dcbsetting.cpp.

◆ priorityGroupBandwidth() [2/2]

quint32 NetworkManager::DcbSetting::priorityGroupBandwidth ( quint32 groupId) const

Definition at line 267 of file dcbsetting.cpp.

◆ priorityGroupFlags()

NetworkManager::DcbSetting::DcbFlags NetworkManager::DcbSetting::priorityGroupFlags ( ) const

Definition at line 171 of file dcbsetting.cpp.

◆ priorityGroupId() [1/2]

UIntList NetworkManager::DcbSetting::priorityGroupId ( ) const

Definition at line 317 of file dcbsetting.cpp.

◆ priorityGroupId() [2/2]

quint32 NetworkManager::DcbSetting::priorityGroupId ( quint32 userPriority) const

Definition at line 300 of file dcbsetting.cpp.

◆ priorityStrictBandwidth() [1/2]

UIntList NetworkManager::DcbSetting::priorityStrictBandwidth ( ) const

Definition at line 350 of file dcbsetting.cpp.

◆ priorityStrictBandwidth() [2/2]

bool NetworkManager::DcbSetting::priorityStrictBandwidth ( quint32 userPriority) const

Definition at line 333 of file dcbsetting.cpp.

◆ priorityTrafficClass() [1/2]

UIntList NetworkManager::DcbSetting::priorityTrafficClass ( ) const

Definition at line 383 of file dcbsetting.cpp.

◆ priorityTrafficClass() [2/2]

quint32 NetworkManager::DcbSetting::priorityTrafficClass ( quint32 userPriority) const

Definition at line 366 of file dcbsetting.cpp.

◆ setAppFcoeFlags()

void NetworkManager::DcbSetting::setAppFcoeFlags ( DcbFlags flags)

Definition at line 122 of file dcbsetting.cpp.

◆ setAppFcoeMode()

void NetworkManager::DcbSetting::setAppFcoeMode ( const QString & mode)

Definition at line 66 of file dcbsetting.cpp.

◆ setAppFcoePriority()

void NetworkManager::DcbSetting::setAppFcoePriority ( qint32 priority)

Definition at line 80 of file dcbsetting.cpp.

◆ setAppFipFlags()

void NetworkManager::DcbSetting::setAppFipFlags ( DcbFlags flags)

Definition at line 136 of file dcbsetting.cpp.

◆ setAppFipPriority()

void NetworkManager::DcbSetting::setAppFipPriority ( qint32 priority)

Definition at line 94 of file dcbsetting.cpp.

◆ setAppIscsiFlags()

void NetworkManager::DcbSetting::setAppIscsiFlags ( DcbFlags flags)

Definition at line 150 of file dcbsetting.cpp.

◆ setAppIscsiPriority()

void NetworkManager::DcbSetting::setAppIscsiPriority ( qint32 priority)

Definition at line 108 of file dcbsetting.cpp.

◆ setPriorityBandwidth() [1/2]

void NetworkManager::DcbSetting::setPriorityBandwidth ( const UIntList & list)

Definition at line 244 of file dcbsetting.cpp.

◆ setPriorityBandwidth() [2/2]

void NetworkManager::DcbSetting::setPriorityBandwidth ( quint32 userPriority,
quint32 bandwidthPercent )

Definition at line 225 of file dcbsetting.cpp.

◆ setPriorityFlowControl() [1/2]

void NetworkManager::DcbSetting::setPriorityFlowControl ( const UIntList & list)

Definition at line 211 of file dcbsetting.cpp.

◆ setPriorityFlowControl() [2/2]

void NetworkManager::DcbSetting::setPriorityFlowControl ( quint32 userPriority,
bool enabled )

Definition at line 192 of file dcbsetting.cpp.

◆ setPriorityFlowControlFlags()

void NetworkManager::DcbSetting::setPriorityFlowControlFlags ( DcbFlags flags)

Definition at line 178 of file dcbsetting.cpp.

◆ setPriorityGroupBandwidth() [1/2]

void NetworkManager::DcbSetting::setPriorityGroupBandwidth ( const UIntList & list)

Definition at line 277 of file dcbsetting.cpp.

◆ setPriorityGroupBandwidth() [2/2]

void NetworkManager::DcbSetting::setPriorityGroupBandwidth ( quint32 groupId,
quint32 bandwidthPercent )

Definition at line 258 of file dcbsetting.cpp.

◆ setPriorityGroupFlags()

void NetworkManager::DcbSetting::setPriorityGroupFlags ( DcbFlags flags)

Definition at line 164 of file dcbsetting.cpp.

◆ setPriorityGroupId() [1/2]

void NetworkManager::DcbSetting::setPriorityGroupId ( const UIntList & list)

Definition at line 310 of file dcbsetting.cpp.

◆ setPriorityGroupId() [2/2]

void NetworkManager::DcbSetting::setPriorityGroupId ( quint32 userPriority,
quint32 groupId )

Definition at line 291 of file dcbsetting.cpp.

◆ setPriorityStrictBandwidth() [1/2]

void NetworkManager::DcbSetting::setPriorityStrictBandwidth ( const UIntList & list)

Definition at line 343 of file dcbsetting.cpp.

◆ setPriorityStrictBandwidth() [2/2]

void NetworkManager::DcbSetting::setPriorityStrictBandwidth ( quint32 userPriority,
bool strict )

Definition at line 324 of file dcbsetting.cpp.

◆ setPriorityTrafficClass() [1/2]

void NetworkManager::DcbSetting::setPriorityTrafficClass ( const UIntList & list)

Definition at line 376 of file dcbsetting.cpp.

◆ setPriorityTrafficClass() [2/2]

void NetworkManager::DcbSetting::setPriorityTrafficClass ( quint32 userPriority,
quint32 trafficClass )

Definition at line 357 of file dcbsetting.cpp.

◆ toMap()

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

Must be reimplemented, default implementationd does nothing.

Reimplemented from NetworkManager::Setting.

Definition at line 453 of file dcbsetting.cpp.

Member Data Documentation

◆ d_ptr

DcbSettingPrivate* NetworkManager::DcbSetting::d_ptr
protected

Definition at line 104 of file dcbsetting.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.