NetworkManager::IpTunnelSetting
#include <iptunnelsetting.h>
Public Types | |
enum | Flag { None = 0x0 , Ip6IgnEncapLimit = 0x1 , Ip6UseOrigTclass = 0x2 , Ip6UseOrigFlowlabel = 0x4 , Ip6Mip6Dev = 0x8 , Ip6RcvDscpCopy = 0x10 , Ip6UseOrigFwmark = 0x20 } |
typedef QFlags< Flag > | Flags |
typedef QList< Ptr > | List |
enum | Mode { Unknown = NM_IP_TUNNEL_MODE_UNKNOWN , Ipip = NM_IP_TUNNEL_MODE_IPIP , Gre = NM_IP_TUNNEL_MODE_GRE , Sit = NM_IP_TUNNEL_MODE_SIT , Isatap = NM_IP_TUNNEL_MODE_ISATAP , Vti = NM_IP_TUNNEL_MODE_VTI , Ip6ip6 = NM_IP_TUNNEL_MODE_IP6IP6 , Ipip6 = NM_IP_TUNNEL_MODE_IPIP6 , Ip6gre = NM_IP_TUNNEL_MODE_IP6GRE , Vti6 = NM_IP_TUNNEL_MODE_VTI } |
typedef QSharedPointer< IpTunnelSetting > | 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 | |
IpTunnelSetting (const Ptr &other) | |
quint32 | encapsulationLimit () const |
Flags | flags () const |
quint32 | flowLabel () const |
void | fromMap (const QVariantMap &setting) override |
QString | inputKey () const |
QString | local () const |
Mode | mode () const |
quint32 | mtu () const |
QString | name () const override |
QString | outputKey () const |
QString | parent () const |
bool | pathMtuDiscovery () const |
QString | remote () const |
void | setEncapsulationLimit (quint32 limit) |
void | setFlags (Flags flags) |
void | setFlowLabel (quint32 label) |
void | setInputKey (const QString &key) |
void | setLocal (const QString &local) |
void | setMode (Mode mode) |
void | setMtu (quint32 mtu) |
void | setOutputKey (const QString &key) |
void | setParent (const QString &parent) |
void | setPathMtuDiscovery (bool discovery) |
void | setRemote (const QString &remote) |
void | setTos (quint32 tos) |
void | setTtl (quint32 ttl) |
QVariantMap | toMap () const override |
quint32 | tos () const |
quint32 | ttl () 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 | |
IpTunnelSettingPrivate * | 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 IpTunnel setting.
Definition at line 20 of file iptunnelsetting.h.
Member Typedef Documentation
◆ Flags
Definition at line 47 of file iptunnelsetting.h.
◆ List
Definition at line 24 of file iptunnelsetting.h.
◆ Ptr
Definition at line 23 of file iptunnelsetting.h.
Member Enumeration Documentation
◆ Flag
enum NetworkManager::IpTunnelSetting::Flag |
Definition at line 38 of file iptunnelsetting.h.
◆ Mode
enum NetworkManager::IpTunnelSetting::Mode |
Definition at line 25 of file iptunnelsetting.h.
Constructor & Destructor Documentation
◆ IpTunnelSetting() [1/2]
NetworkManager::IpTunnelSetting::IpTunnelSetting | ( | ) |
Definition at line 29 of file iptunnelsetting.cpp.
◆ IpTunnelSetting() [2/2]
|
explicit |
Definition at line 35 of file iptunnelsetting.cpp.
◆ ~IpTunnelSetting()
|
override |
Definition at line 54 of file iptunnelsetting.cpp.
Member Function Documentation
◆ encapsulationLimit()
quint32 NetworkManager::IpTunnelSetting::encapsulationLimit | ( | ) | const |
Definition at line 101 of file iptunnelsetting.cpp.
◆ flags()
NetworkManager::IpTunnelSetting::Flags NetworkManager::IpTunnelSetting::flags | ( | ) | const |
Definition at line 115 of file iptunnelsetting.cpp.
◆ flowLabel()
quint32 NetworkManager::IpTunnelSetting::flowLabel | ( | ) | const |
Definition at line 129 of file iptunnelsetting.cpp.
◆ fromMap()
|
overridevirtual |
Must be reimplemented, default implementation does nothing.
Reimplemented from NetworkManager::Setting.
Definition at line 248 of file iptunnelsetting.cpp.
◆ inputKey()
QString NetworkManager::IpTunnelSetting::inputKey | ( | ) | const |
Definition at line 185 of file iptunnelsetting.cpp.
◆ local()
QString NetworkManager::IpTunnelSetting::local | ( | ) | const |
Definition at line 199 of file iptunnelsetting.cpp.
◆ mode()
NetworkManager::IpTunnelSetting::Mode NetworkManager::IpTunnelSetting::mode | ( | ) | const |
Definition at line 73 of file iptunnelsetting.cpp.
◆ mtu()
quint32 NetworkManager::IpTunnelSetting::mtu | ( | ) | const |
Definition at line 143 of file iptunnelsetting.cpp.
◆ name()
|
overridevirtual |
Must be reimplemented, default implementationd does nothing.
Reimplemented from NetworkManager::Setting.
Definition at line 59 of file iptunnelsetting.cpp.
◆ outputKey()
QString NetworkManager::IpTunnelSetting::outputKey | ( | ) | const |
Definition at line 227 of file iptunnelsetting.cpp.
◆ parent()
QString NetworkManager::IpTunnelSetting::parent | ( | ) | const |
Definition at line 213 of file iptunnelsetting.cpp.
◆ pathMtuDiscovery()
bool NetworkManager::IpTunnelSetting::pathMtuDiscovery | ( | ) | const |
Definition at line 87 of file iptunnelsetting.cpp.
◆ remote()
QString NetworkManager::IpTunnelSetting::remote | ( | ) | const |
Definition at line 241 of file iptunnelsetting.cpp.
◆ setEncapsulationLimit()
void NetworkManager::IpTunnelSetting::setEncapsulationLimit | ( | quint32 | limit | ) |
Definition at line 94 of file iptunnelsetting.cpp.
◆ setFlags()
void NetworkManager::IpTunnelSetting::setFlags | ( | Flags | flags | ) |
Definition at line 108 of file iptunnelsetting.cpp.
◆ setFlowLabel()
void NetworkManager::IpTunnelSetting::setFlowLabel | ( | quint32 | label | ) |
Definition at line 122 of file iptunnelsetting.cpp.
◆ setInputKey()
void NetworkManager::IpTunnelSetting::setInputKey | ( | const QString & | key | ) |
Definition at line 178 of file iptunnelsetting.cpp.
◆ setLocal()
void NetworkManager::IpTunnelSetting::setLocal | ( | const QString & | local | ) |
Definition at line 192 of file iptunnelsetting.cpp.
◆ setMode()
void NetworkManager::IpTunnelSetting::setMode | ( | Mode | mode | ) |
Definition at line 66 of file iptunnelsetting.cpp.
◆ setMtu()
void NetworkManager::IpTunnelSetting::setMtu | ( | quint32 | mtu | ) |
Definition at line 136 of file iptunnelsetting.cpp.
◆ setOutputKey()
void NetworkManager::IpTunnelSetting::setOutputKey | ( | const QString & | key | ) |
Definition at line 220 of file iptunnelsetting.cpp.
◆ setParent()
void NetworkManager::IpTunnelSetting::setParent | ( | const QString & | parent | ) |
Definition at line 206 of file iptunnelsetting.cpp.
◆ setPathMtuDiscovery()
void NetworkManager::IpTunnelSetting::setPathMtuDiscovery | ( | bool | discovery | ) |
Definition at line 80 of file iptunnelsetting.cpp.
◆ setRemote()
void NetworkManager::IpTunnelSetting::setRemote | ( | const QString & | remote | ) |
Definition at line 234 of file iptunnelsetting.cpp.
◆ setTos()
void NetworkManager::IpTunnelSetting::setTos | ( | quint32 | tos | ) |
Definition at line 150 of file iptunnelsetting.cpp.
◆ setTtl()
void NetworkManager::IpTunnelSetting::setTtl | ( | quint32 | ttl | ) |
Definition at line 164 of file iptunnelsetting.cpp.
◆ toMap()
|
overridevirtual |
Must be reimplemented, default implementationd does nothing.
Reimplemented from NetworkManager::Setting.
Definition at line 303 of file iptunnelsetting.cpp.
◆ tos()
quint32 NetworkManager::IpTunnelSetting::tos | ( | ) | const |
Definition at line 157 of file iptunnelsetting.cpp.
◆ ttl()
quint32 NetworkManager::IpTunnelSetting::ttl | ( | ) | const |
Definition at line 171 of file iptunnelsetting.cpp.
Member Data Documentation
◆ d_ptr
|
protected |
Definition at line 99 of file iptunnelsetting.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.