lasat_models.h 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. /*
  2. * Model description tables
  3. */
  4. typedef struct product_info_t {
  5. const char *pi_name;
  6. const char *pi_type;
  7. } product_info_t;
  8. typedef struct vendor_info_t {
  9. const char *vi_name;
  10. const product_info_t *vi_product_info;
  11. } vendor_info_t;
  12. /*
  13. * Base models
  14. */
  15. static const char * const txt_base_models[] = {
  16. "MQ 2", "MQ Pro", "SP 25", "SP 50", "SP 100", "SP 5000", "SP 7000", "SP 1000", "Unknown"
  17. };
  18. #define N_BASE_MODELS (sizeof(txt_base_models)/sizeof(char*)-1)
  19. /*
  20. * Eicon Networks
  21. */
  22. static const char txt_en_mq[] = "Masquerade";
  23. static const char txt_en_sp[] = "Safepipe";
  24. static const product_info_t product_info_eicon[] = {
  25. { txt_en_mq, "II" }, /* 0 */
  26. { txt_en_mq, "Pro" }, /* 1 */
  27. { txt_en_sp, "25" }, /* 2 */
  28. { txt_en_sp, "50" }, /* 3 */
  29. { txt_en_sp, "100" }, /* 4 */
  30. { txt_en_sp, "5000" }, /* 5 */
  31. { txt_en_sp, "7000" }, /* 6 */
  32. { txt_en_sp, "30" }, /* 7 */
  33. { txt_en_sp, "5100" }, /* 8 */
  34. { txt_en_sp, "7100" }, /* 9 */
  35. { txt_en_sp, "1110" }, /* 10 */
  36. { txt_en_sp, "3020" }, /* 11 */
  37. { txt_en_sp, "3030" }, /* 12 */
  38. { txt_en_sp, "5020" }, /* 13 */
  39. { txt_en_sp, "5030" }, /* 14 */
  40. { txt_en_sp, "1120" }, /* 15 */
  41. { txt_en_sp, "1130" }, /* 16 */
  42. { txt_en_sp, "6010" }, /* 17 */
  43. { txt_en_sp, "6110" }, /* 18 */
  44. { txt_en_sp, "6210" }, /* 19 */
  45. { txt_en_sp, "1020" }, /* 20 */
  46. { txt_en_sp, "1040" }, /* 21 */
  47. { txt_en_sp, "1050" }, /* 22 */
  48. { txt_en_sp, "1060" }, /* 23 */
  49. };
  50. #define N_PRIDS (sizeof(product_info_eicon)/sizeof(product_info_t))
  51. /*
  52. * The vendor table
  53. */
  54. static vendor_info_t const vendor_info_table[] = {
  55. { "Eicon Networks", product_info_eicon },
  56. };
  57. #define N_VENDORS (sizeof(vendor_info_table)/sizeof(vendor_info_t))