Pages
API Documentation
On this page

NetworkManager::IpTunnelDevice Class

A Ip Tunnel device interface. More...

  • Header: #include <NetworkManagerQt/IpTunnelDevice>
  • CMake: find_package(KF6 REQUIRED COMPONENTS NetworkManagerQt)
    target_link_libraries(mytarget PRIVATE KF6::NetworkManagerQt)
  • Inherits: NetworkManager::Device

List of all members, including inherited members

Public Types

Properties

Public Functions

Signals

Detailed Description

Member Type Documentation

IpTunnelDevice::List

IpTunnelDevice::Ptr

Property Documentation

[read-only] encapsulationLimit : uchar

Access functions:

Notifier signal:

[read-only] flowLabel : uint

Access functions:

Notifier signal:

[read-only] inputKey : QString

Access functions:

Notifier signal:

[read-only] local : QString

Access functions:

Notifier signal:

[read-only] mode : uint

Access functions:

Notifier signal:

[read-only] outputKey : QString

Access functions:

Notifier signal:

[read-only] parent : NetworkManager::Device::Ptr

Access functions:

  • NetworkManager::Device::Ptr parent() const

Notifier signal:

[read-only] pathMtuDiscovery : bool

Access functions:

Notifier signal:

[read-only] remote : QString

Access functions:

Notifier signal:

[read-only] tos : uchar

Access functions:

  • uchar tos() const

Notifier signal:

[read-only] ttl : uchar

Access functions:

  • uchar ttl() const

Notifier signal:

Member Function Documentation

[explicit] IpTunnelDevice::IpTunnelDevice(const QString &path, QObject *parent = nullptr)

uchar IpTunnelDevice::encapsulationLimit() const

How many additional levels of encapsulation are permitted to be prepended to packets. This property applies only to IPv6 tunnels.

Note: Getter function for property encapsulationLimit.

[signal] void IpTunnelDevice::encapsulationLimitChanged(uchar limit)

Emitted when the encapsulation limit has changed

Note: Notifier signal for property encapsulationLimit.

uint IpTunnelDevice::flowLabel() const

The flow label to assign to tunnel packets. This property applies only to IPv6 tunnels.

Note: Getter function for property flowLabel.

[signal] void IpTunnelDevice::flowLabelChanged(uint flowLabel)

Emitted when the flow label has changed

Note: Notifier signal for property flowLabel.

QString IpTunnelDevice::inputKey() const

The key used for incoming packets.

Note: Getter function for property inputKey.

[signal] void IpTunnelDevice::inputKeyChanged(const QString &inputKey)

Emitted when the key used for incoming packets has changed

Note: Notifier signal for property inputKey.

QString IpTunnelDevice::local() const

The local endpoint of the tunnel.

Note: Getter function for property local.

[signal] void IpTunnelDevice::localChanged(const QString &local)

Emitted when the local endpoint of the tunnel has changed

Note: Notifier signal for property local.

uint IpTunnelDevice::mode() const

The tunneling mode.

Note: Getter function for property mode.

[signal] void IpTunnelDevice::modeChanged(uint mode)

Emitted when the tunneling mode has changed

Note: Notifier signal for property mode.

QString IpTunnelDevice::outputKey() const

The key used for outgoing packets.

Note: Getter function for property outputKey.

[signal] void IpTunnelDevice::outputKeyChanged(const QString &outputKey)

Emitted when the key used for outgoing packets has changed

Note: Notifier signal for property outputKey.

NetworkManager::Device::Ptr IpTunnelDevice::parent() const

The object path of the parent device.

Note: Getter function for property parent.

[signal] void IpTunnelDevice::parentChanged(const QString &parent)

Emitted when the parent of this device has changed

Note: Notifier signal for property parent.

bool IpTunnelDevice::pathMtuDiscovery() const

Whether path MTU discovery is enabled on this tunnel.

Note: Getter function for property pathMtuDiscovery.

[signal] void IpTunnelDevice::pathMtuDiscoveryChanged(bool pathMtuDiscovery)

Emitted when the path MTU discovery enablemened has changed

Note: Notifier signal for property pathMtuDiscovery.

QString IpTunnelDevice::remote() const

The remote endpoint of the tunnel.

Note: Getter function for property remote.

[signal] void IpTunnelDevice::remoteChanged(const QString &remote)

Emitted when the remote endpoint of the tunnel has changed

Note: Notifier signal for property remote.

uchar IpTunnelDevice::tos() const

The type of service (IPv4) or traffic class (IPv6) assigned to tunneled packets.

Note: Getter function for property tos.

[signal] void IpTunnelDevice::tosChanged(uchar tos)

Emitted when the type of service or traffic class assigned to tunneled packets has changed

Note: Notifier signal for property tos.

uchar IpTunnelDevice::ttl() const

The TTL assigned to tunneled packets. 0 is a special value meaning that packets inherit the TTL value

Note: Getter function for property ttl.

[signal] void IpTunnelDevice::ttlChanged(uchar ttl)

Emitted when the TTL assigned to tunneled packets has changed

Note: Notifier signal for property ttl.

We use cookies to personalize content and to analyze our traffic. Please decide if you are willing to accept cookies from our website.