Diffstat (limited to 'libopie2/opienet/onetutils.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | libopie2/opienet/onetutils.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libopie2/opienet/onetutils.h b/libopie2/opienet/onetutils.h index 8be042b..73d52cc 100644 --- a/libopie2/opienet/onetutils.h +++ b/libopie2/opienet/onetutils.h | |||
@@ -53,12 +53,15 @@ class OMacAddress | |||
53 | OMacAddress( unsigned char* ); | 53 | OMacAddress( unsigned char* ); |
54 | OMacAddress( const unsigned char* ); | 54 | OMacAddress( const unsigned char* ); |
55 | OMacAddress( struct ifreq& ); | 55 | OMacAddress( struct ifreq& ); |
56 | ~OMacAddress(); | 56 | ~OMacAddress(); |
57 | 57 | ||
58 | QString toString() const; | 58 | QString toString() const; |
59 | const unsigned char* native() const; | ||
60 | |||
61 | static OMacAddress fromString( const QString& ); | ||
59 | 62 | ||
60 | public: | 63 | public: |
61 | static const OMacAddress& broadcast; // ff:ff:ff:ff:ff:ff | 64 | static const OMacAddress& broadcast; // ff:ff:ff:ff:ff:ff |
62 | static const OMacAddress& unknown; // 44:44:44:44:44:44 | 65 | static const OMacAddress& unknown; // 44:44:44:44:44:44 |
63 | 66 | ||
64 | private: | 67 | private: |