From d94d856b93cac5e88138c6d3759bcb36455f7e86 Mon Sep 17 00:00:00 2001 From: "7u83@mail.ru" <7u83@mail.ru@noemail.net> Date: Sun, 17 Aug 2014 22:06:06 +0000 Subject: [PATCH] New prototypes. FossilOrigin-Name: 77e8d1465291541da06b997c1500b56bb3219e2c7a567c2c11765ba19ad03372 --- src/capwap/capwap.h | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/capwap/capwap.h b/src/capwap/capwap.h index cd61b075..cf49fa2c 100644 --- a/src/capwap/capwap.h +++ b/src/capwap/capwap.h @@ -298,6 +298,8 @@ extern int wtpinfo_set_radioinfo(struct wtpinfo * wtpinfo,uint8_t *msgelem, int #define CAPWAP_MAX_RETRANSMIT 5 #define CAPWAP_SILENT_INTERVAL 30 #define CAPWAP_ECHO_INTERVAL 30 +#define CAPWAP_WAIT_DTLS 60 +#define CAPWAP_WAIT_JOIN 60 //#define CAPWAP_CIPHER "PSK-AES128-CBC-SHA:" @@ -377,6 +379,8 @@ extern int cw_readelem_ecn_support(uint8_t *ecn_support, int type, uint8_t * msg extern int cw_readelem_ac_name(uint8_t **dst, int type,uint8_t *msgelem, int len); extern int cw_readelem_wtp_reboot_statistics(struct wtp_reboot_statistics *s, int type,uint8_t *msgelem, int len); extern int cw_readelem_cw_local_ip_addr(struct sockaddr * local_ip, int type, uint8_t * msgelem, int len); +extern int cw_readelem_radio_administrative_state(struct radioinfo * radioinfo, int type,uint8_t *msgelem, int len); +extern int cw_readelem_statistics_timer(uint16_t *timer, int type, uint8_t * msgelem, int len); @@ -387,11 +391,11 @@ extern int cw_readelem_cw_local_ip_addr(struct sockaddr * local_ip, int type, ui -#define CW_RESULT_SUCCESS 0 -#define CW_RESULT_FAILURE 1 +#define CW_RESULT_SUCCESS 0 +#define CW_RESULT_FAILURE 1 #define CW_RESULT_SUCCESS_NAT 2 #define CW_RESULT_JOIN_FAILURE 3 -#define CW_RESULT_JOIN_RESOURCE_DEPLETION 4 +#define CW_RESULT_JOIN_RESOURCE_DEPLETION 4 #define CW_RESULT_JOIN_UNKNOWN_SOURCE 5 /*