NetworkManager::IpTunnelSetting
NetworkManager::IpTunnelSetting Class Reference
#include <iptunnelsetting.h>
Inheritance diagram for NetworkManager::IpTunnelSetting:

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 |
![]() | |
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 |
![]() | |
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 |
![]() | |
SettingPrivate * | d_ptr |
Additional Inherited Members | |
![]() | |
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 Function Documentation
◆ fromMap()
|
overridevirtual |
Must be reimplemented, default implementation does nothing.
Reimplemented from NetworkManager::Setting.
Definition at line 248 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.
◆ toMap()
|
overridevirtual |
Must be reimplemented, default implementationd does nothing.
Reimplemented from NetworkManager::Setting.
Definition at line 303 of file iptunnelsetting.cpp.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon May 8 2023 04:05:36 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon May 8 2023 04:05:36 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.