NetworkManagerQt
8#ifndef NETWORKMANAGERQT_GRE_DEVICE_H
9#define NETWORKMANAGERQT_GRE_DEVICE_H
12#include <networkmanagerqt/networkmanagerqt_export.h>
16class GreDevicePrivate;
22class NETWORKMANAGERQT_EXPORT GreDevice :
public Device
25 Q_PROPERTY(ushort inputFlags READ inputFlags NOTIFY inputFlagsChanged)
26 Q_PROPERTY(ushort outputFlags READ outputFlags NOTIFY outputFlagsChanged)
27 Q_PROPERTY(uint inputKey READ inputKey NOTIFY inputKeyChanged)
28 Q_PROPERTY(uint outputKey READ outputKey NOTIFY outputKeyChanged)
32 Q_PROPERTY(
bool pathMtuDiscovery READ pathMtuDiscovery NOTIFY pathMtuDiscoveryChanged)
33 Q_PROPERTY(uchar tos READ tos NOTIFY tosChanged)
34 Q_PROPERTY(uchar ttl READ ttl NOTIFY ttlChanged)
39 explicit GreDevice(
const QString &path,
QObject *parent =
nullptr);
40 ~GreDevice()
override;
44 ushort inputFlags()
const;
45 ushort outputFlags()
const;
46 uint inputKey()
const;
47 uint outputKey()
const;
51 bool pathMtuDiscovery()
const;
56 void inputFlagsChanged(ushort inputflags);
57 void outputFlagsChanged(ushort outputFlags);
58 void inputKeyChanged(uint inputKey);
59 void outputKeyChanged(uint outputKey);
60 void localEndChanged(
const QString &localEnd);
61 void remoteEndChanged(
const QString &remoteEnd);
62 void parentChanged(
const QString &parent);
63 void pathMtuDiscoveryChanged(
bool pathMtuDiscovery);
64 void tosChanged(uchar tos);
65 void ttlChanged(uchar ttl);
68 Q_DECLARE_PRIVATE(GreDevice)
Device(const QString &path, QObject *parent=nullptr)
Creates a new device object.
Type type() const override
Retrieves the interface type.
This class allows querying the underlying system to discover the available network interfaces and rea...
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:57:19 by
doxygen 1.13.2 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.