]> git.sur5r.net Git - gsconf/blobdiff - gs105e.h
fixed typo
[gsconf] / gs105e.h
index e89828d405a9ae15c91c33406dfdec3af3c86bc3..f856887d386fb38cdff5097abf1bc9ab45f8da74 100644 (file)
--- a/gs105e.h
+++ b/gs105e.h
@@ -21,6 +21,8 @@
 #define GS_PORTDIAG 0x1c00
 #define ACT_DHCP 0x000b
 
+#define GS_VLANSETTING 0x2000
+
 
 #define ACT_ADDVLAN 0x2800
 #define ACT_DELVLAN 0x2c00
@@ -85,6 +87,7 @@ struct gs105e_settings {
         char dhcp;
         
         struct vlan * vlans;
+        char vlanType;
         
 
         
@@ -109,12 +112,14 @@ struct gs105e_discovered {
         struct gs105e_discovered * next;
 };
 
+static char passwordSecret[19] = {0x4e , 0x74 , 0x67 , 0x72 , 0x53 , 0x6d , 0x61 , 0x72 , 0x74 , 0x53 , 0x77 , 0x69 , 0x74 , 0x63 , 0x68 , 0x52 , 0x6f , 0x63 , 0x6b};
 
 struct gs105e_discovered * gs105e_devs ;
 
 struct gs105e_settings settings;
 
 void debug(void);
+int gs105e_setPassword(char * data);
 
 void gs105e_init(void) ;
 void makeHeader(unsigned int queryType);