Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

odebugmapper.cpp

Go to the documentation of this file.
00001 
00002 /*
00003  * debug value mapper - generated by regen.py - (C) Michael 'Mickey' Lauer <mickey@vanille.de>
00004  */
00005 
00006 #include <opie2/odebug.h>
00007 
00008 #include "odebugmapper.h"
00009 
00010 using namespace Opie::Core;
00011 
00012 namespace Opie {
00013 namespace Net  {
00014 namespace Internal {
00015 
00016 DebugMapper::DebugMapper()
00017 {
00018     odebug << "DebugMapper::DebugMapper()" << oendl;
00019 
00020 
00021     _map.insert( 0x8902, new QString("SIOCSPGRP") );
00022     _map.insert( 0x8904, new QString("SIOCGPGRP") );
00023     _map.insert( 0x8905, new QString("SIOCATMARK") );
00024     _map.insert( 0x8906, new QString("SIOCGSTAMP") );
00025     _map.insert( 0x890B, new QString("SIOCADDRT") );
00026     _map.insert( 0x890C, new QString("SIOCDELRT") );
00027     _map.insert( 0x890D, new QString("SIOCRTMSG") );
00028     _map.insert( 0x8910, new QString("SIOCGIFNAME") );
00029     _map.insert( 0x8911, new QString("SIOCSIFLINK") );
00030     _map.insert( 0x8912, new QString("SIOCGIFCONF") );
00031     _map.insert( 0x8913, new QString("SIOCGIFFLAGS") );
00032     _map.insert( 0x8914, new QString("SIOCSIFFLAGS") );
00033     _map.insert( 0x8915, new QString("SIOCGIFADDR") );
00034     _map.insert( 0x8916, new QString("SIOCSIFADDR") );
00035     _map.insert( 0x8917, new QString("SIOCGIFDSTADDR") );
00036     _map.insert( 0x8918, new QString("SIOCSIFDSTADDR") );
00037     _map.insert( 0x8919, new QString("SIOCGIFBRDADDR") );
00038     _map.insert( 0x891a, new QString("SIOCSIFBRDADDR") );
00039     _map.insert( 0x891b, new QString("SIOCGIFNETMASK") );
00040     _map.insert( 0x891c, new QString("SIOCSIFNETMASK") );
00041     _map.insert( 0x891d, new QString("SIOCGIFMETRIC") );
00042     _map.insert( 0x891e, new QString("SIOCSIFMETRIC") );
00043     _map.insert( 0x891f, new QString("SIOCGIFMEM") );
00044     _map.insert( 0x8920, new QString("SIOCSIFMEM") );
00045     _map.insert( 0x8921, new QString("SIOCGIFMTU") );
00046     _map.insert( 0x8922, new QString("SIOCSIFMTU") );
00047     _map.insert( 0x8923, new QString("SIOCSIFNAME") );
00048     _map.insert( 0x8924, new QString("SIOCSIFHWADDR") );
00049     _map.insert( 0x8925, new QString("SIOCGIFENCAP") );
00050     _map.insert( 0x8926, new QString("SIOCSIFENCAP") );
00051     _map.insert( 0x8927, new QString("SIOCGIFHWADDR") );
00052     _map.insert( 0x8929, new QString("SIOCGIFSLAVE") );
00053     _map.insert( 0x8930, new QString("SIOCSIFSLAVE") );
00054     _map.insert( 0x8931, new QString("SIOCADDMULTI") );
00055     _map.insert( 0x8932, new QString("SIOCDELMULTI") );
00056     _map.insert( 0x8933, new QString("SIOCGIFINDEX") );
00057     _map.insert( 0x8934, new QString("SIOCSIFPFLAGS") );
00058     _map.insert( 0x8935, new QString("SIOCGIFPFLAGS") );
00059     _map.insert( 0x8936, new QString("SIOCDIFADDR") );
00060     _map.insert( 0x8937, new QString("SIOCSIFHWBROADCAST") );
00061     _map.insert( 0x8938, new QString("SIOCGIFCOUNT") );
00062     _map.insert( 0x8940, new QString("SIOCGIFBR") );
00063     _map.insert( 0x8941, new QString("SIOCSIFBR") );
00064     _map.insert( 0x8942, new QString("SIOCGIFTXQLEN") );
00065     _map.insert( 0x8943, new QString("SIOCSIFTXQLEN") );
00066     _map.insert( 0x8953, new QString("SIOCDARP") );
00067     _map.insert( 0x8954, new QString("SIOCGARP") );
00068     _map.insert( 0x8955, new QString("SIOCSARP") );
00069     _map.insert( 0x8960, new QString("SIOCDRARP") );
00070     _map.insert( 0x8961, new QString("SIOCGRARP") );
00071     _map.insert( 0x8962, new QString("SIOCSRARP") );
00072     _map.insert( 0x8970, new QString("SIOCGIFMAP") );
00073     _map.insert( 0x8971, new QString("SIOCSIFMAP") );
00074     _map.insert( 0x8980, new QString("SIOCADDDLCI") );
00075     _map.insert( 0x8981, new QString("SIOCDELDLCI") );
00076     _map.insert( 0x89F0, new QString("SIOCDEVPRIVATE") );
00077     _map.insert( 0x89E0, new QString("SIOCPROTOPRIVATE") );
00078     _map.insert( 0x1fff, new QString("SIOCPARM_MASK") );
00079     _map.insert( 0x00000000, new QString("SIOC_VOID") );
00080     _map.insert( 0x20000000, new QString("SIOC_OUT") );
00081     _map.insert( 0x40000000, new QString("SIOC_IN") );
00082     _map.insert( 0x8B00, new QString("SIOCSIWCOMMIT") );
00083     _map.insert( 0x8B01, new QString("SIOCGIWNAME") );
00084     _map.insert( 0x8B02, new QString("SIOCSIWNWID") );
00085     _map.insert( 0x8B03, new QString("SIOCGIWNWID") );
00086     _map.insert( 0x8B04, new QString("SIOCSIWFREQ") );
00087     _map.insert( 0x8B05, new QString("SIOCGIWFREQ") );
00088     _map.insert( 0x8B06, new QString("SIOCSIWMODE") );
00089     _map.insert( 0x8B07, new QString("SIOCGIWMODE") );
00090     _map.insert( 0x8B08, new QString("SIOCSIWSENS") );
00091     _map.insert( 0x8B09, new QString("SIOCGIWSENS") );
00092     _map.insert( 0x8B0A, new QString("SIOCSIWRANGE") );
00093     _map.insert( 0x8B0B, new QString("SIOCGIWRANGE") );
00094     _map.insert( 0x8B0C, new QString("SIOCSIWPRIV") );
00095     _map.insert( 0x8B0D, new QString("SIOCGIWPRIV") );
00096     _map.insert( 0x8B0E, new QString("SIOCSIWSTATS") );
00097     _map.insert( 0x8B0F, new QString("SIOCGIWSTATS") );
00098     _map.insert( 0x8B10, new QString("SIOCSIWSPY") );
00099     _map.insert( 0x8B11, new QString("SIOCGIWSPY") );
00100     _map.insert( 0x8B14, new QString("SIOCSIWAP") );
00101     _map.insert( 0x8B15, new QString("SIOCGIWAP") );
00102     _map.insert( 0x8B17, new QString("SIOCGIWAPLIST") );
00103     _map.insert( 0x8B18, new QString("SIOCSIWSCAN") );
00104     _map.insert( 0x8B19, new QString("SIOCGIWSCAN") );
00105     _map.insert( 0x8B1A, new QString("SIOCSIWESSID") );
00106     _map.insert( 0x8B1B, new QString("SIOCGIWESSID") );
00107     _map.insert( 0x8B1C, new QString("SIOCSIWNICKN") );
00108     _map.insert( 0x8B1D, new QString("SIOCGIWNICKN") );
00109     _map.insert( 0x8B20, new QString("SIOCSIWRATE") );
00110     _map.insert( 0x8B21, new QString("SIOCGIWRATE") );
00111     _map.insert( 0x8B22, new QString("SIOCSIWRTS") );
00112     _map.insert( 0x8B23, new QString("SIOCGIWRTS") );
00113     _map.insert( 0x8B24, new QString("SIOCSIWFRAG") );
00114     _map.insert( 0x8B25, new QString("SIOCGIWFRAG") );
00115     _map.insert( 0x8B26, new QString("SIOCSIWTXPOW") );
00116     _map.insert( 0x8B27, new QString("SIOCGIWTXPOW") );
00117     _map.insert( 0x8B28, new QString("SIOCSIWRETRY") );
00118     _map.insert( 0x8B29, new QString("SIOCGIWRETRY") );
00119     _map.insert( 0x8B2A, new QString("SIOCSIWENCODE") );
00120     _map.insert( 0x8B2B, new QString("SIOCGIWENCODE") );
00121     _map.insert( 0x8B2C, new QString("SIOCSIWPOWER") );
00122     _map.insert( 0x8B2D, new QString("SIOCGIWPOWER") );
00123     _map.insert( 0x8BE0, new QString("SIOCIWFIRSTPRIV") );
00124     _map.insert( 0x8BFF, new QString("SIOCIWLASTPRIV") );
00125     _map.insert( 0x8B00, new QString("SIOCIWFIRST") );
00126     _map.insert( 0x5000, new QString("SIOCGBPQETHPARAM") );
00127     _map.insert( 0x5001, new QString("SIOCSBPQETHPARAM") );
00128     _map.insert( 0x890B, new QString("SIOCADDRT") );
00129     _map.insert( 0x890C, new QString("SIOCDELRT") );
00130     _map.insert( 0x890D, new QString("SIOCRTMSG") );
00131     _map.insert( 0x8910, new QString("SIOCGIFNAME") );
00132     _map.insert( 0x8911, new QString("SIOCSIFLINK") );
00133     _map.insert( 0x8912, new QString("SIOCGIFCONF") );
00134     _map.insert( 0x8913, new QString("SIOCGIFFLAGS") );
00135     _map.insert( 0x8914, new QString("SIOCSIFFLAGS") );
00136     _map.insert( 0x8915, new QString("SIOCGIFADDR") );
00137     _map.insert( 0x8916, new QString("SIOCSIFADDR") );
00138     _map.insert( 0x8917, new QString("SIOCGIFDSTADDR") );
00139     _map.insert( 0x8918, new QString("SIOCSIFDSTADDR") );
00140     _map.insert( 0x8919, new QString("SIOCGIFBRDADDR") );
00141     _map.insert( 0x891a, new QString("SIOCSIFBRDADDR") );
00142     _map.insert( 0x891b, new QString("SIOCGIFNETMASK") );
00143     _map.insert( 0x891c, new QString("SIOCSIFNETMASK") );
00144     _map.insert( 0x891d, new QString("SIOCGIFMETRIC") );
00145     _map.insert( 0x891e, new QString("SIOCSIFMETRIC") );
00146     _map.insert( 0x891f, new QString("SIOCGIFMEM") );
00147     _map.insert( 0x8920, new QString("SIOCSIFMEM") );
00148     _map.insert( 0x8921, new QString("SIOCGIFMTU") );
00149     _map.insert( 0x8922, new QString("SIOCSIFMTU") );
00150     _map.insert( 0x8923, new QString("SIOCSIFNAME") );
00151     _map.insert( 0x8924, new QString("SIOCSIFHWADDR") );
00152     _map.insert( 0x8925, new QString("SIOCGIFENCAP") );
00153     _map.insert( 0x8926, new QString("SIOCSIFENCAP") );
00154     _map.insert( 0x8927, new QString("SIOCGIFHWADDR") );
00155     _map.insert( 0x8929, new QString("SIOCGIFSLAVE") );
00156     _map.insert( 0x8930, new QString("SIOCSIFSLAVE") );
00157     _map.insert( 0x8931, new QString("SIOCADDMULTI") );
00158     _map.insert( 0x8932, new QString("SIOCDELMULTI") );
00159     _map.insert( 0x8933, new QString("SIOCGIFINDEX") );
00160     _map.insert( 0x8934, new QString("SIOCSIFPFLAGS") );
00161     _map.insert( 0x8935, new QString("SIOCGIFPFLAGS") );
00162     _map.insert( 0x8936, new QString("SIOCDIFADDR") );
00163     _map.insert( 0x8937, new QString("SIOCSIFHWBROADCAST") );
00164     _map.insert( 0x8938, new QString("SIOCGIFCOUNT") );
00165     _map.insert( 0x8940, new QString("SIOCGIFBR") );
00166     _map.insert( 0x8941, new QString("SIOCSIFBR") );
00167     _map.insert( 0x8942, new QString("SIOCGIFTXQLEN") );
00168     _map.insert( 0x8943, new QString("SIOCSIFTXQLEN") );
00169     _map.insert( 0x8944, new QString("SIOCGIFDIVERT") );
00170     _map.insert( 0x8945, new QString("SIOCSIFDIVERT") );
00171     _map.insert( 0x8946, new QString("SIOCETHTOOL") );
00172     _map.insert( 0x8947, new QString("SIOCGMIIPHY") );
00173     _map.insert( 0x8948, new QString("SIOCGMIIREG") );
00174     _map.insert( 0x8949, new QString("SIOCSMIIREG") );
00175     _map.insert( 0x894A, new QString("SIOCWANDEV") );
00176     _map.insert( 0x8953, new QString("SIOCDARP") );
00177     _map.insert( 0x8954, new QString("SIOCGARP") );
00178     _map.insert( 0x8955, new QString("SIOCSARP") );
00179     _map.insert( 0x8960, new QString("SIOCDRARP") );
00180     _map.insert( 0x8961, new QString("SIOCGRARP") );
00181     _map.insert( 0x8962, new QString("SIOCSRARP") );
00182     _map.insert( 0x8970, new QString("SIOCGIFMAP") );
00183     _map.insert( 0x8971, new QString("SIOCSIFMAP") );
00184     _map.insert( 0x8980, new QString("SIOCADDDLCI") );
00185     _map.insert( 0x8981, new QString("SIOCDELDLCI") );
00186     _map.insert( 0x8982, new QString("SIOCGIFVLAN") );
00187     _map.insert( 0x8983, new QString("SIOCSIFVLAN") );
00188     _map.insert( 0x8990, new QString("SIOCBONDENSLAVE") );
00189     _map.insert( 0x8991, new QString("SIOCBONDRELEASE") );
00190     _map.insert( 0x8992, new QString("SIOCBONDSETHWADDR") );
00191     _map.insert( 0x8993, new QString("SIOCBONDSLAVEINFOQUERY") );
00192     _map.insert( 0x8994, new QString("SIOCBONDINFOQUERY") );
00193     _map.insert( 0x8995, new QString("SIOCBONDCHANGEACTIVE") );
00194     _map.insert( 0x89F0, new QString("SIOCDEVPRIVATE") );
00195     _map.insert( 0x89E0, new QString("SIOCPROTOPRIVATE") );
00196 
00197 };
00198 
00199 
00200 DebugMapper::~DebugMapper()
00201 {
00202     odebug << "DebugMapper::~DebugMapper()" << oendl;
00203 }
00204 
00205 
00206 const QString& DebugMapper::map( int value ) const
00207 {
00208     QString* result = _map[ value ];
00209 
00210     if ( !result )
00211     {
00212         owarn << "DebugMapper::map() - value " << value << " is not found." << oendl;
00213         return QString::null;
00214     }
00215     else
00216     {
00217         return *result;
00218     }
00219 }
00220 
00221 }
00222 }
00223 }

Generated on Sat Nov 5 16:16:12 2005 for OPIE by  doxygen 1.4.2