7#ifndef NETWORKMANAGERQT_IPTUNNEL_SETTING_H
8#define NETWORKMANAGERQT_IPTUNNEL_SETTING_H
11#include <networkmanagerqt/networkmanagerqt_export.h>
15class IpTunnelSettingPrivate;
26 Unknown = NM_IP_TUNNEL_MODE_UNKNOWN,
27 Ipip = NM_IP_TUNNEL_MODE_IPIP,
28 Gre = NM_IP_TUNNEL_MODE_GRE,
29 Sit = NM_IP_TUNNEL_MODE_SIT,
30 Isatap = NM_IP_TUNNEL_MODE_ISATAP,
31 Vti = NM_IP_TUNNEL_MODE_VTI,
32 Ip6ip6 = NM_IP_TUNNEL_MODE_IP6IP6,
33 Ipip6 = NM_IP_TUNNEL_MODE_IPIP6,
34 Ip6gre = NM_IP_TUNNEL_MODE_IP6GRE,
35 Vti6 = NM_IP_TUNNEL_MODE_VTI,
40 Ip6IgnEncapLimit = 0x1,
41 Ip6UseOrigTclass = 0x2,
42 Ip6UseOrigFlowlabel = 0x4,
44 Ip6RcvDscpCopy = 0x10,
45 Ip6UseOrigFwmark = 0x20,
47 Q_DECLARE_FLAGS(
Flags, Flag)
55 void setMode(Mode mode);
58 void setPathMtuDiscovery(
bool discovery);
59 bool pathMtuDiscovery()
const;
61 void setEncapsulationLimit(quint32 limit);
62 quint32 encapsulationLimit()
const;
64 void setFlags(
Flags flags);
67 void setFlowLabel(quint32 label);
68 quint32 flowLabel()
const;
70 void setMtu(quint32 mtu);
73 void setTos(quint32 tos);
76 void setTtl(quint32 ttl);
79 void setInputKey(
const QString &key);
82 void setLocal(
const QString &local);
85 void setParent(
const QString &parent);
88 void setOutputKey(
const QString &key);
91 void setRemote(
const QString &remote);
94 void fromMap(
const QVariantMap &setting)
override;
96 QVariantMap toMap()
const override;
99 IpTunnelSettingPrivate *d_ptr;
Represents IpTunnel setting.
Base class for all kinds of setting.
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-2024 The KDE developers.
Generated on Fri Dec 20 2024 11:59:05 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.