Logo Search packages:      
Sourcecode: lanmap version File versions  Download package

hw_classify.h

/* ex: set ts=4 noet: */
/*
 * this file deals with classifying a hosts' hardware
 */

typedef struct {
      char vendor[32];
      /* ... */
} hw_info;

/*
Unknown
PC
      Desktop
      Laptop(?)
Mobile
      Palmtop
      Phone
Printer
Router
Switch
Bridge

*/

enum {
      /* Role */
      FACT_ROLE = 0x400,
      FACT_ROLE_DESKTOP,
      FACT_ROLE_LAPTOP,
      FACT_ROLE_PRINTER,
      FACT_ROLE_ROUTER,
      FACT_ROLE_SWITCH,
      FACT_ROLE_HOST,
      FACT_ROLE_REPEATER,
      FACT_ROLE_BRIDGE,
      FACT_ROLE_GATEWAY,
      FACT_ROLE_ACCESS_POINT,
      FACT_ROLE_SERVER,
      FACT_ROLE_SERVER_WEB,
      FACT_ROLE_SERVER_MAIL,
      FACT_ROLE_SERVER_DNS,
      FACT_ROLE_SERVER_SMB,
      FACT_ROLE_SERVER_PRINTER,
      FACT_ROLE_SERVER_SQL,
      FACT_ROLE_SERVER_FILES,
      FACT_ROLE_SERVER_DHCP,
      /* ... */
      FACT_ROLE_CLIENT_WEB,
      FACT_ROLE_CLIENT_MAIL,
      FACT_ROLE_CLIENT_DNS,
      FACT_ROLE_CLIENT_PRINTER,
      FACT_ROLE_CLIENT_SQL,
      /* ... */
      FACT_ROLE_WHOOPS_TOO_HIGH,
};


Generated by  Doxygen 1.6.0   Back to index