ES-2024 reverter
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
521B

  1. #ifndef _CONFIGDATA_H_
  2. #define _CONFIGDATA_H_
  3. enum {
  4. CFG_PASSWORD = 0x0001,
  5. CFG_LOCATION,
  6. CFG_SYSNAME,
  7. CFG_CONTACT,
  8. CFG_DEFAULTGW,
  9. CFG_IPADDRESS,
  10. CFG_NETMASK,
  11. CFG_NAMESERVER,
  12. CFG_MACAGEING,
  13. CFG_CPUVLANID,
  14. CFG_SNMP_READ_COMMUNITY,
  15. CFG_SNMP_WRITE_COMMUNITY,
  16. CFG_PORTENABLE_MASK = 0x0100,
  17. CFG_PORTNAME_MASK = 0x0120,
  18. CFG_PORTVLAN_MASK = 0x0140,
  19. CFG_DOT1QVLAN_MASK = 0x0160,
  20. CFG_DOT1QPORT_MASK = 0x0180,
  21. };
  22. int config_patch(void *config, int code, const char *parameter);
  23. #endif /* _CONFIGDATA_H_ */