Work on mods....
FossilOrigin-Name: 3545862687f1b4dbd6ab4a26fa5c889333a0f4c33c89e02e6b69f21194305219
This commit is contained in:
@ -110,6 +110,7 @@ struct cw_itemdef capwap_itemdefs[] = {
|
||||
|
||||
{CW_ITEM_AC_NAME_WITH_PRIORITY,CW_ITEM_ANY,MBAG_STR},
|
||||
{CW_ITEM_AC_NAME,CW_ITEM_NONE,MBAG_STR},
|
||||
{CW_ITEM_RESULT_CODE,CW_ITEM_NONE,MBAG_DWORD},
|
||||
|
||||
|
||||
{CW_ITEM_AP_MODE_AND_TYPE,CW_ITEM_NONE,MBAG_WORD},
|
||||
|
@ -120,6 +120,9 @@ static inline int lw_put_elem_hdr(uint8_t *dst,uint8_t type,uint16_t len)
|
||||
|
||||
|
||||
|
||||
extern uint16_t lw_checksum(uint8_t *d,int len);
|
||||
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
@ -19,7 +19,7 @@
|
||||
/**
|
||||
*@file
|
||||
*@brief Implements lw_checksum.
|
||||
*@addtogroup LWAPPFunctions
|
||||
*@addtogroup LW
|
||||
*@{
|
||||
*/
|
||||
|
||||
|
@ -272,7 +272,7 @@ extern int lw_put_cisco_path_mtu(uint8_t *dst, uint16_t max, uint16_t padding);
|
||||
|
||||
/* function proto types */
|
||||
|
||||
extern uint16_t lw_checksum(uint8_t *d,int len);
|
||||
//extern uint16_t lw_checksum(uint8_t *d,int len);
|
||||
//extern int lw_readelem_wtp_board_data(struct wtpinfo *wtpinfo, int type, uint8_t *msgelem, int len);
|
||||
extern int lw_readelem_wtp_name(bstr_t * dst, int type, uint8_t * msgelem, int len);
|
||||
|
||||
|
@ -1,7 +1,6 @@
|
||||
#ifndef __CW_RAND_H
|
||||
#define __CW_RAND_H
|
||||
|
||||
|
||||
extern int cw_rand(uint8_t*dst, int len);
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user