X-Git-Url: https://git.sur5r.net/?p=gsconf;a=blobdiff_plain;f=gs105e.h;h=7723b3a37d4768de4d72dff3bf1b9f55be40ab24;hp=69f79b7e6655443efa57f917e3d524296724c257;hb=HEAD;hpb=2d66233a4bcf319be993c1a3075711c15d9db878 diff --git a/gs105e.h b/gs105e.h index 69f79b7..7723b3a 100644 --- a/gs105e.h +++ b/gs105e.h @@ -112,7 +112,7 @@ struct gs105e_discovered { struct gs105e_discovered * next; }; -static char passwordSecret[19] = {x4e , 0x74 , 0x67 , 0x72 , 0x53 , 0x6d , 0x61 , 0x72 , 0x74 , 0x53 , 0x77 , 0x69 , 0x74 , 0x63 , 0x68 , 0x52 , 0x6f , 0x63 , 0x6b}; +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 ; @@ -125,10 +125,18 @@ void gs105e_init(void) ; void makeHeader(unsigned int queryType); void gs105e_query (void); +void gs105e_queryAll(void); int gs105e_addVlan(int vlanId) ; int gs105e_delVlan(int vlanId) ; +int gs105e_setVlanMembers(unsigned int vlanId, unsigned int members, unsigned int tagged); +int gs105e_vlanEnable(); int gs105e_discover(void); +int gs105e_restart(void); int gs105e_setName(char * data); +int gs105e_dhcpSettings(int action); + +int gs105e_cableDiagnostics(int port); +int gs105e_mirrorPorts(int outputPort, int mirrorMask); #endif