NetworkManager::Ipv6Setting
#include <ipv6setting.h>
Public Types | |
enum | ConfigMethod { Automatic , Dhcp , LinkLocal , Manual , Ignored , ConfigDisabled } |
enum | IPv6AddressGenMode { Eui64 , StablePrivacy } |
enum | IPv6Privacy { Unknown = -1 , Disabled , PreferPublic , PreferTemporary } |
typedef QList< Ptr > | List |
typedef QSharedPointer< Ipv6Setting > | Ptr |
Public Types inherited from NetworkManager::Setting | |
typedef QList< Ptr > | List |
enum | MacAddressRandomization { MacAddressRandomizationDefault = 0 , MacAddressRandomizationNever , MacAddressRandomizationAlways } |
typedef QSharedPointer< Setting > | Ptr |
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 | |
Ipv6Setting (const Ptr &other) | |
NMVariantMapList | addressData () const |
QList< NetworkManager::IpAddress > | addresses () const |
IPv6AddressGenMode | addressGenMode () const |
qint32 | dadTimeout () const |
QString | dhcpDuid () const |
QString | dhcpHostname () const |
qint32 | dhcpTimeout () const |
QList< QHostAddress > | dns () const |
QStringList | dnsOptions () const |
QStringList | dnsSearch () const |
void | fromMap (const QVariantMap &setting) override |
bool | ignoreAutoDns () const |
bool | ignoreAutoRoutes () const |
bool | mayFail () const |
ConfigMethod | method () const |
QString | name () const override |
bool | neverDefault () const |
IPv6Privacy | privacy () const |
NMVariantMapList | routeData () const |
int | routeMetric () const |
QList< NetworkManager::IpRoute > | routes () const |
quint32 | routeTable () const |
void | setAddressData (const NMVariantMapList &addressData) |
void | setAddresses (const QList< NetworkManager::IpAddress > ipv6addresses) |
void | setAddressGenMode (IPv6AddressGenMode mode) |
void | setDadTimeout (qint32 timeout) |
void | setDhcpDuid (const QString &duid) |
void | setDhcpHostname (const QString &hostname) |
void | setDhcpTimeout (qint32 timeout) |
void | setDns (const QList< QHostAddress > &dns) |
void | setDnsOptions (const QStringList &options) |
void | setDnsSearch (const QStringList &domains) |
void | setIgnoreAutoDns (bool ignore) |
void | setIgnoreAutoRoutes (bool ignore) |
void | setMayFail (bool mayFail) |
void | setMethod (ConfigMethod method) |
void | setNeverDefault (bool neverDefault) |
void | setPrivacy (IPv6Privacy privacy) |
void | setRouteData (const NMVariantMapList &routeData) |
void | setRouteMetric (int metric) |
void | setRoutes (const QList< NetworkManager::IpRoute > ipv6routes) |
void | setRouteTable (quint32 routeTable) |
void | setToken (const QString &token) |
QString | token () 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 | |
Ipv6SettingPrivate *const | 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 ipv6 setting.
Definition at line 70 of file ipv6setting.h.
Member Typedef Documentation
◆ List
Definition at line 74 of file ipv6setting.h.
◆ Ptr
Definition at line 73 of file ipv6setting.h.
Member Enumeration Documentation
◆ ConfigMethod
enum NetworkManager::Ipv6Setting::ConfigMethod |
Definition at line 75 of file ipv6setting.h.
◆ IPv6AddressGenMode
enum NetworkManager::Ipv6Setting::IPv6AddressGenMode |
Definition at line 89 of file ipv6setting.h.
◆ IPv6Privacy
enum NetworkManager::Ipv6Setting::IPv6Privacy |
Definition at line 83 of file ipv6setting.h.
Constructor & Destructor Documentation
◆ Ipv6Setting() [1/2]
NetworkManager::Ipv6Setting::Ipv6Setting | ( | ) |
Definition at line 33 of file ipv6setting.cpp.
◆ Ipv6Setting() [2/2]
|
explicit |
Definition at line 39 of file ipv6setting.cpp.
◆ ~Ipv6Setting()
|
override |
Definition at line 65 of file ipv6setting.cpp.
Member Function Documentation
◆ addressData()
NMVariantMapList NetworkManager::Ipv6Setting::addressData | ( | ) | const |
Definition at line 308 of file ipv6setting.cpp.
◆ addresses()
QList< NetworkManager::IpAddress > NetworkManager::Ipv6Setting::addresses | ( | ) | const |
Definition at line 126 of file ipv6setting.cpp.
◆ addressGenMode()
NetworkManager::Ipv6Setting::IPv6AddressGenMode NetworkManager::Ipv6Setting::addressGenMode | ( | ) | const |
Definition at line 322 of file ipv6setting.cpp.
◆ dadTimeout()
qint32 NetworkManager::Ipv6Setting::dadTimeout | ( | ) | const |
Definition at line 238 of file ipv6setting.cpp.
◆ dhcpDuid()
QString NetworkManager::Ipv6Setting::dhcpDuid | ( | ) | const |
Definition at line 280 of file ipv6setting.cpp.
◆ dhcpHostname()
QString NetworkManager::Ipv6Setting::dhcpHostname | ( | ) | const |
Definition at line 266 of file ipv6setting.cpp.
◆ dhcpTimeout()
qint32 NetworkManager::Ipv6Setting::dhcpTimeout | ( | ) | const |
Definition at line 252 of file ipv6setting.cpp.
◆ dns()
QList< QHostAddress > NetworkManager::Ipv6Setting::dns | ( | ) | const |
Definition at line 98 of file ipv6setting.cpp.
◆ dnsOptions()
QStringList NetworkManager::Ipv6Setting::dnsOptions | ( | ) | const |
Definition at line 294 of file ipv6setting.cpp.
◆ dnsSearch()
QStringList NetworkManager::Ipv6Setting::dnsSearch | ( | ) | const |
Definition at line 112 of file ipv6setting.cpp.
◆ fromMap()
|
overridevirtual |
Must be reimplemented, default implementation does nothing.
Reimplemented from NetworkManager::Setting.
Definition at line 371 of file ipv6setting.cpp.
◆ ignoreAutoDns()
bool NetworkManager::Ipv6Setting::ignoreAutoDns | ( | ) | const |
Definition at line 182 of file ipv6setting.cpp.
◆ ignoreAutoRoutes()
bool NetworkManager::Ipv6Setting::ignoreAutoRoutes | ( | ) | const |
Definition at line 168 of file ipv6setting.cpp.
◆ mayFail()
bool NetworkManager::Ipv6Setting::mayFail | ( | ) | const |
Definition at line 210 of file ipv6setting.cpp.
◆ method()
NetworkManager::Ipv6Setting::ConfigMethod NetworkManager::Ipv6Setting::method | ( | ) | const |
Definition at line 84 of file ipv6setting.cpp.
◆ name()
|
overridevirtual |
Must be reimplemented, default implementationd does nothing.
Reimplemented from NetworkManager::Setting.
Definition at line 70 of file ipv6setting.cpp.
◆ neverDefault()
bool NetworkManager::Ipv6Setting::neverDefault | ( | ) | const |
Definition at line 196 of file ipv6setting.cpp.
◆ privacy()
NetworkManager::Ipv6Setting::IPv6Privacy NetworkManager::Ipv6Setting::privacy | ( | ) | const |
Definition at line 224 of file ipv6setting.cpp.
◆ routeData()
NMVariantMapList NetworkManager::Ipv6Setting::routeData | ( | ) | const |
Definition at line 336 of file ipv6setting.cpp.
◆ routeMetric()
int NetworkManager::Ipv6Setting::routeMetric | ( | ) | const |
Definition at line 154 of file ipv6setting.cpp.
◆ routes()
QList< NetworkManager::IpRoute > NetworkManager::Ipv6Setting::routes | ( | ) | const |
Definition at line 140 of file ipv6setting.cpp.
◆ routeTable()
quint32 NetworkManager::Ipv6Setting::routeTable | ( | ) | const |
Definition at line 364 of file ipv6setting.cpp.
◆ setAddressData()
void NetworkManager::Ipv6Setting::setAddressData | ( | const NMVariantMapList & | addressData | ) |
Definition at line 301 of file ipv6setting.cpp.
◆ setAddresses()
void NetworkManager::Ipv6Setting::setAddresses | ( | const QList< NetworkManager::IpAddress > | ipv6addresses | ) |
Definition at line 119 of file ipv6setting.cpp.
◆ setAddressGenMode()
void NetworkManager::Ipv6Setting::setAddressGenMode | ( | IPv6AddressGenMode | mode | ) |
Definition at line 315 of file ipv6setting.cpp.
◆ setDadTimeout()
void NetworkManager::Ipv6Setting::setDadTimeout | ( | qint32 | timeout | ) |
Definition at line 231 of file ipv6setting.cpp.
◆ setDhcpDuid()
void NetworkManager::Ipv6Setting::setDhcpDuid | ( | const QString & | duid | ) |
Definition at line 273 of file ipv6setting.cpp.
◆ setDhcpHostname()
void NetworkManager::Ipv6Setting::setDhcpHostname | ( | const QString & | hostname | ) |
Definition at line 259 of file ipv6setting.cpp.
◆ setDhcpTimeout()
void NetworkManager::Ipv6Setting::setDhcpTimeout | ( | qint32 | timeout | ) |
Definition at line 245 of file ipv6setting.cpp.
◆ setDns()
void NetworkManager::Ipv6Setting::setDns | ( | const QList< QHostAddress > & | dns | ) |
Definition at line 91 of file ipv6setting.cpp.
◆ setDnsOptions()
void NetworkManager::Ipv6Setting::setDnsOptions | ( | const QStringList & | options | ) |
Definition at line 287 of file ipv6setting.cpp.
◆ setDnsSearch()
void NetworkManager::Ipv6Setting::setDnsSearch | ( | const QStringList & | domains | ) |
Definition at line 105 of file ipv6setting.cpp.
◆ setIgnoreAutoDns()
void NetworkManager::Ipv6Setting::setIgnoreAutoDns | ( | bool | ignore | ) |
Definition at line 175 of file ipv6setting.cpp.
◆ setIgnoreAutoRoutes()
void NetworkManager::Ipv6Setting::setIgnoreAutoRoutes | ( | bool | ignore | ) |
Definition at line 161 of file ipv6setting.cpp.
◆ setMayFail()
void NetworkManager::Ipv6Setting::setMayFail | ( | bool | mayFail | ) |
Definition at line 203 of file ipv6setting.cpp.
◆ setMethod()
void NetworkManager::Ipv6Setting::setMethod | ( | ConfigMethod | method | ) |
Definition at line 77 of file ipv6setting.cpp.
◆ setNeverDefault()
void NetworkManager::Ipv6Setting::setNeverDefault | ( | bool | neverDefault | ) |
Definition at line 189 of file ipv6setting.cpp.
◆ setPrivacy()
void NetworkManager::Ipv6Setting::setPrivacy | ( | IPv6Privacy | privacy | ) |
Definition at line 217 of file ipv6setting.cpp.
◆ setRouteData()
void NetworkManager::Ipv6Setting::setRouteData | ( | const NMVariantMapList & | routeData | ) |
Definition at line 329 of file ipv6setting.cpp.
◆ setRouteMetric()
void NetworkManager::Ipv6Setting::setRouteMetric | ( | int | metric | ) |
Definition at line 147 of file ipv6setting.cpp.
◆ setRoutes()
void NetworkManager::Ipv6Setting::setRoutes | ( | const QList< NetworkManager::IpRoute > | ipv6routes | ) |
Definition at line 133 of file ipv6setting.cpp.
◆ setRouteTable()
void NetworkManager::Ipv6Setting::setRouteTable | ( | quint32 | routeTable | ) |
Definition at line 357 of file ipv6setting.cpp.
◆ setToken()
void NetworkManager::Ipv6Setting::setToken | ( | const QString & | token | ) |
Definition at line 343 of file ipv6setting.cpp.
◆ token()
QString NetworkManager::Ipv6Setting::token | ( | ) | const |
Definition at line 350 of file ipv6setting.cpp.
◆ toMap()
|
overridevirtual |
Must be reimplemented, default implementationd does nothing.
Reimplemented from NetworkManager::Setting.
Definition at line 537 of file ipv6setting.cpp.
Member Data Documentation
◆ d_ptr
|
protected |
Definition at line 168 of file ipv6setting.h.
The documentation for this class was generated from the following files:
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.