From f62005c53c93148eaa13eac50ea6814a41afb216 Mon Sep 17 00:00:00 2001 From: mickeyl Date: Thu, 03 Apr 2003 14:17:03 +0000 Subject: - ONetworkInterfaces are now QObjects - add support for private IOCTLS - make buildChannelList() more safe in case of faulty drivers --- (limited to 'libopie2/opienet/onetutils.h') diff --git a/libopie2/opienet/onetutils.h b/libopie2/opienet/onetutils.h index 0dabe8d..6640515 100644 --- a/libopie2/opienet/onetutils.h +++ b/libopie2/opienet/onetutils.h @@ -36,8 +36,12 @@ #include #include #include +#include + +#include struct ifreq; +class OWirelessNetworkInterface; /*====================================================================================== * OMacAddress @@ -80,6 +84,27 @@ class OHostAddress : public QHostAddress /*====================================================================================== + * OPrivateIOCTL + *======================================================================================*/ + +class OPrivateIOCTL : public QObject +{ + public: + OPrivateIOCTL( QObject* parent, const char* name, int cmd, int getargs, int setargs ); + ~OPrivateIOCTL(); + + int numberGetArgs() const; + int typeGetArgs() const; + int numberSetArgs() const; + int typeSetArgs() const; + + private: + u_int32_t _ioctl; + u_int16_t _getargs; + u_int16_t _setargs; +}; + + /*====================================================================================== * Miscellaneous *======================================================================================*/ -- cgit v0.9.0.2