diff options
Diffstat (limited to 'tdecore/tdenetworkconnections.h')
-rw-r--r-- | tdecore/tdenetworkconnections.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/tdecore/tdenetworkconnections.h b/tdecore/tdenetworkconnections.h index 5b80058aa..1e81cd851 100644 --- a/tdecore/tdenetworkconnections.h +++ b/tdecore/tdenetworkconnections.h @@ -59,6 +59,7 @@ typedef TQValueList<TQ_UINT8> TDENetworkByteList; typedef TQValueList<TQHostAddress> TDENetworkAddressList; typedef TQMap<TQString, TQString> TDENetworkSettingsMap; +typedef TQMap<TQ_UINT32, TQ_UINT32> TDENetworkPriorityMap; namespace TDENetworkDeviceType { enum TDENetworkDeviceType { @@ -211,6 +212,17 @@ namespace TDENetworkWepKeyType { }; }; +namespace TDENetworkVLANFlags { + enum TDENetworkVLANFlags { + None = 0x00000000, + ReorderPacketHeaders = 0x00000001, + UseGVRP = 0x00000002, + LooseBinding = 0x00000004 + }; + + CREATE_FLAG_BITWISE_MANIPULATION_FUNCTIONS(TDENetworkVLANFlags) +}; + typedef TQValueList<TDENetworkWiFiConnectionCipher::TDENetworkWiFiConnectionCipher> TDENetworkWiFiConnectionCipherList; namespace TDENetworkWiFiKeyType { @@ -679,6 +691,21 @@ class TDECORE_EXPORT TDEWiMaxConnection : public TDENetworkConnection TQString networkServiceProvider; }; +class TDECORE_EXPORT TDEVLANConnection : public TDENetworkConnection +{ + public: + TDEVLANConnection(); + virtual ~TDEVLANConnection(); + + public: + TQString kernelName; + TQString parentConnectionUUID; + TQ_UINT32 vlanID; + TDENetworkVLANFlags::TDENetworkVLANFlags vlanFlags; + TDENetworkPriorityMap ingressPriorityMap; + TDENetworkPriorityMap egressPriorityMap; +}; + typedef TQPtrList< TDENetworkConnection > TDENetworkConnectionList; class TDECORE_EXPORT TDENetworkConnectionManager : public TQObject |