Inital commit.

FossilOrigin-Name: d4dab43da113a0c96fd3668cb15f4288ec5563581bd34e77150931a79c994750
This commit is contained in:
7u83@mail.ru
2014-08-17 16:29:42 +00:00
parent 1b9db41057
commit 9386daa98a
3 changed files with 91 additions and 0 deletions

View File

@ -0,0 +1,10 @@
#include "capwap.h"
void cwmsg_addelem_maximum_message_length(struct cwmsg *msg,int len)
{
uint8_t c[2];
*((uint16_t*)c)= htons(len);
cwmsg_addelem(msg,CWMSGELEM_MAXIMUM_MESSAGE_LENGTH,c,4);
}