www.usr.com/support/gpl/USR9113_release1.0.tar.gz
[bcm963xx.git] / userapps / broadcom / cfm / inc / syscall.h
index 4b26271..e53755b 100755 (executable)
@@ -39,6 +39,7 @@
 #define MNTR_STS_DHCPC_PROGRESS        5
 #define MNTR_STS_DHCPC_FAIL            6
 #define MNTR_STS_ADSL_TRAINING         7
+#define MNTR_STS_BRIDGE                8
 
 #define DHCPC_STS_FAIL                 0
 #define DHCPC_STS_SUCCESS              1
@@ -66,7 +67,8 @@
 #define SYS_LOG_ID         9
 #define SYS_SNMP_ID        10
 #define SYS_FLAG_ID        11
-#define SYS_TR69C_ID      12
+#define SYS_TR69C_ID       12
+#define SYS_MGMT_LOCK_ID   13
 
 // Values that are used in syscall.c
 #define SYS_CMD_LEN        256
@@ -85,7 +87,6 @@
 
 #define UPNP_IP_ADDRESS    "239.255.255.250"
 
-
 #if defined(__cplusplus)
 extern "C" {
 #endif
@@ -103,6 +104,8 @@ int bcmCreateLocalDhcpCfg(char *addr, char *mask);
 int bcmCreateResolvCfg(char *dns1, char *dns2);
 int bcmCreateLoginCfg(char *cp_admin, char *cp_support, char *cp_user);
 int bcmGetAdslStatus(void);
+int bcmGetVdslStatus(void);
+int bcmGetXdslStatus(void); 
 int bcmGetPppStatus(char *str, int len, char *devName);
 int bcmGetDhcpcStatus(char *str, int len);
 int bcmGetSystemStatus(char *str, int len);
@@ -160,8 +163,10 @@ void parseStrInfo(char *info, char *var, char *val, int len);
 void bcmConvertStrToShellStr(char *str, char *buf);
 void bcmProcessMarkStrChars(char *str);
 int  bcmIsMarkStrChar(char c);
+void bcmSetVdslSwVer(char *swVer);
 void bcmGetSwVer(char *swVer, int size);
 void bcmGetBuildVer(char *swVer, int size);    // USR9108
+void bcmGetVdslSwVer(char *swVer, int size);
 int isAccessFromLan(struct in_addr clntAddr);
 int checkChipId(char *strTagChipId, char *sig2);
 void bcmRemoveModules(int lanIf);
@@ -173,6 +178,7 @@ int bcmMacNumToStr(char *macAddr, char *str);
 int bcmWanEnetQuerySwitch(char *ifName);
 
 int bcmConfigPortMirroring (void *pMirrorCfg) ;
+void bcmStoreDeviceInfoToProcFile(void);
 
 #define BCM_PPPOE_CLIENT_STATE_PADO          0   /* waiting for PADO */
 #define BCM_PPPOE_CLIENT_STATE_PADS          1   /* got PADO, waiting for PADS */