author | mickeyl <mickeyl> | 2003-11-08 20:39:38 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2003-11-08 20:39:38 (UTC) |
commit | eb26b0413c269b898a24deb30d5602ac0c142a56 (patch) (unidiff) | |
tree | 4e9b24ce6a9e8811eb9e62d8537b452921d4564d /libopie2/opienet/onetutils.h | |
parent | 33d86bb19d4e21b95504ba3b16789d08b4820313 (diff) | |
download | opie-eb26b0413c269b898a24deb30d5602ac0c142a56.zip opie-eb26b0413c269b898a24deb30d5602ac0c142a56.tar.gz opie-eb26b0413c269b898a24deb30d5602ac0c142a56.tar.bz2 |
refactor the debug mapper and make it more secure
Diffstat (limited to 'libopie2/opienet/onetutils.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | libopie2/opienet/onetutils.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/libopie2/opienet/onetutils.h b/libopie2/opienet/onetutils.h index 541c5ab..bddfab9 100644 --- a/libopie2/opienet/onetutils.h +++ b/libopie2/opienet/onetutils.h | |||
@@ -125,6 +125,24 @@ void dumpBytes( const unsigned char* data, int num ); | |||
125 | QString modeToString( int ); | 125 | QString modeToString( int ); |
126 | int stringToMode( const QString& ); | 126 | int stringToMode( const QString& ); |
127 | 127 | ||
128 | #define IW_PRIV_TYPE_MASK 0x7000 | ||
129 | #define IW_PRIV_TYPE_NONE 0x0000 | ||
130 | #define IW_PRIV_TYPE_BYTE 0x1000 | ||
131 | #define IW_PRIV_TYPE_CHAR 0x2000 | ||
132 | #define IW_PRIV_TYPE_INT 0x4000 | ||
133 | #define IW_PRIV_TYPE_FLOAT 0x5000 | ||
134 | #define IW_PRIV_TYPE_ADDR 0x6000 | ||
135 | #define IW_PRIV_SIZE_FIXED 0x0800 | ||
136 | #define IW_PRIV_SIZE_MASK 0x07FF | ||
137 | |||
138 | #ifndef ARPHRD_IEEE80211 | ||
139 | #define ARPHRD_IEEE80211 801 | ||
140 | #endif | ||
141 | #ifndef ARPHRD_IEEE80211_PRISM | ||
142 | #define ARPHRD_IEEE80211_PRISM 802 | ||
143 | #endif | ||
144 | |||
145 | |||
128 | /* Network to host order macros */ | 146 | /* Network to host order macros */ |
129 | 147 | ||
130 | #ifdef LBL_ALIGN | 148 | #ifdef LBL_ALIGN |