NetworkManager::IpTunnelSetting Class
class NetworkManager::IpTunnelSettingRepresents IpTunnel setting. More...
Header: | #include <NetworkManagerQt/IpTunnelSetting> |
CMake: | find_package(KF6 REQUIRED COMPONENTS NetworkManagerQt) target_link_libraries(mytarget PRIVATE KF6::NetworkManagerQt) |
Inherits: | NetworkManager::Setting |
Public Types
enum | Flag { None, Ip6IgnEncapLimit, Ip6UseOrigTclass, Ip6UseOrigFlowlabel, Ip6Mip6Dev, …, Ip6UseOrigFwmark } |
flags | Flags |
List | |
enum | Mode { Unknown, Ipip, Gre, Sit, Isatap, …, Vti6 } |
Ptr |
Public Functions
IpTunnelSetting() | |
IpTunnelSetting(const NetworkManager::IpTunnelSetting::Ptr &other) | |
quint32 | encapsulationLimit() const |
NetworkManager::IpTunnelSetting::Flags | flags() const |
quint32 | flowLabel() const |
QString | inputKey() const |
QString | local() const |
NetworkManager::IpTunnelSetting::Mode | mode() const |
quint32 | mtu() const |
QString | outputKey() const |
QString | parent() const |
bool | pathMtuDiscovery() const |
QString | remote() const |
void | setEncapsulationLimit(quint32 limit) |
void | setFlags(NetworkManager::IpTunnelSetting::Flags flags) |
void | setFlowLabel(quint32 label) |
void | setInputKey(const QString &key) |
void | setLocal(const QString &local) |
void | setMode(NetworkManager::IpTunnelSetting::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) |
quint32 | tos() const |
quint32 | ttl() const |
Detailed Description
Member Type Documentation
enum IpTunnelSetting::Flag
flags IpTunnelSetting::Flags
Constant | Value |
---|---|
NetworkManager::IpTunnelSetting::None | 0x0 |
NetworkManager::IpTunnelSetting::Ip6IgnEncapLimit | 0x1 |
NetworkManager::IpTunnelSetting::Ip6UseOrigTclass | 0x2 |
NetworkManager::IpTunnelSetting::Ip6UseOrigFlowlabel | 0x4 |
NetworkManager::IpTunnelSetting::Ip6Mip6Dev | 0x8 |
NetworkManager::IpTunnelSetting::Ip6RcvDscpCopy | 0x10 |
NetworkManager::IpTunnelSetting::Ip6UseOrigFwmark | 0x20 |
The Flags type is a typedef for QFlags<Flag>. It stores an OR combination of Flag values.
IpTunnelSetting::List
enum IpTunnelSetting::Mode
Constant | Value |
---|---|
NetworkManager::IpTunnelSetting::Unknown | NM_IP_TUNNEL_MODE_UNKNOWN |
NetworkManager::IpTunnelSetting::Ipip | NM_IP_TUNNEL_MODE_IPIP |
NetworkManager::IpTunnelSetting::Gre | NM_IP_TUNNEL_MODE_GRE |
NetworkManager::IpTunnelSetting::Sit | NM_IP_TUNNEL_MODE_SIT |
NetworkManager::IpTunnelSetting::Isatap | NM_IP_TUNNEL_MODE_ISATAP |
NetworkManager::IpTunnelSetting::Vti | NM_IP_TUNNEL_MODE_VTI |
NetworkManager::IpTunnelSetting::Ip6ip6 | NM_IP_TUNNEL_MODE_IP6IP6 |
NetworkManager::IpTunnelSetting::Ipip6 | NM_IP_TUNNEL_MODE_IPIP6 |
NetworkManager::IpTunnelSetting::Ip6gre | NM_IP_TUNNEL_MODE_IP6GRE |
NetworkManager::IpTunnelSetting::Vti6 | NM_IP_TUNNEL_MODE_VTI |
IpTunnelSetting::Ptr
Member Function Documentation
IpTunnelSetting::IpTunnelSetting()
[explicit]
IpTunnelSetting::IpTunnelSetting(const NetworkManager::IpTunnelSetting::Ptr &other)
quint32 IpTunnelSetting::encapsulationLimit() const
See also setEncapsulationLimit().
NetworkManager::IpTunnelSetting::Flags IpTunnelSetting::flags() const
See also setFlags().
quint32 IpTunnelSetting::flowLabel() const
See also setFlowLabel().
QString IpTunnelSetting::inputKey() const
See also setInputKey().
QString IpTunnelSetting::local() const
See also setLocal().
NetworkManager::IpTunnelSetting::Mode IpTunnelSetting::mode() const
See also setMode().
quint32 IpTunnelSetting::mtu() const
See also setMtu().
QString IpTunnelSetting::outputKey() const
See also setOutputKey().
QString IpTunnelSetting::parent() const
See also setParent().
bool IpTunnelSetting::pathMtuDiscovery() const
See also setPathMtuDiscovery().
QString IpTunnelSetting::remote() const
See also setRemote().
void IpTunnelSetting::setEncapsulationLimit(quint32 limit)
See also encapsulationLimit().
void IpTunnelSetting::setFlags(NetworkManager::IpTunnelSetting::Flags flags)
See also flags().
void IpTunnelSetting::setFlowLabel(quint32 label)
See also flowLabel().
void IpTunnelSetting::setInputKey(const QString &key)
See also inputKey().
void IpTunnelSetting::setLocal(const QString &local)
See also local().
void IpTunnelSetting::setMode(NetworkManager::IpTunnelSetting::Mode mode)
See also mode().
void IpTunnelSetting::setMtu(quint32 mtu)
See also mtu().
void IpTunnelSetting::setOutputKey(const QString &key)
See also outputKey().
void IpTunnelSetting::setParent(const QString &parent)
See also parent().
void IpTunnelSetting::setPathMtuDiscovery(bool discovery)
See also pathMtuDiscovery().
void IpTunnelSetting::setRemote(const QString &remote)
See also remote().
void IpTunnelSetting::setTos(quint32 tos)
See also tos().
void IpTunnelSetting::setTtl(quint32 ttl)
See also ttl().
quint32 IpTunnelSetting::tos() const
See also setTos().
quint32 IpTunnelSetting::ttl() const
See also setTtl().