Initial commit
FossilOrigin-Name: c53d95729c009f8f80a7d63847cef7668ff73f8af0523ab65f7734696f85399c
This commit is contained in:
34
src/capwap/cwmsg.h
Normal file
34
src/capwap/cwmsg.h
Normal file
@ -0,0 +1,34 @@
|
||||
#ifndef __CWMSG_H
|
||||
#define __CWMSG_H
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#include "radioinfo.h"
|
||||
#include "acinfo.h"
|
||||
|
||||
struct cwmsg{
|
||||
uint8_t * buffer;
|
||||
uint8_t * trnsprthdr;
|
||||
uint8_t * ctrlhdr;
|
||||
uint8_t * msgelems;
|
||||
int pos;
|
||||
int flags;
|
||||
int hlen;
|
||||
int rid;
|
||||
int seqnum;
|
||||
int type;
|
||||
};
|
||||
|
||||
struct conn;
|
||||
|
||||
extern void cwmsg_init(struct cwmsg * cwmsg, uint8_t *buffer, int type, int seqnum, struct radioinfo * radioinfo);
|
||||
//int cwmsg_send(struct cwmsg * cwmsg, int seqnum, int rid, struct conn * conn);
|
||||
//
|
||||
extern void cwmsg_addelem(struct cwmsg *msg,int type, const uint8_t *elem, int len);
|
||||
extern void cwmsg_addelem_ac_descriptor(struct cwmsg *msg,struct ac_info * acinfo);
|
||||
|
||||
|
||||
extern void cwmsg_init_echo_request(struct cwmsg * cwmsg,uint8_t *buffer,struct conn * conn, struct radioinfo * radioinfo);
|
||||
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user