Moved to a better naming schema.
FossilOrigin-Name: e1f8481e3a0e6a3616fae7b3c5e4330a7ce6e9ef19784a0b9eb41c9f7f543f53
This commit is contained in:
17
src/capwap/cw_send_echo_response.c
Normal file
17
src/capwap/cw_send_echo_response.c
Normal file
@ -0,0 +1,17 @@
|
||||
#include "capwap.h"
|
||||
#include "conn.h"
|
||||
#include "cwmsg.h"
|
||||
|
||||
int cwsend_echo_response(struct conn * conn,int seqnum,struct radioinfo * radioinfo) //,struct wtpinfo * wtpinfo)
|
||||
{
|
||||
//uint8_t buffer[CWMSG_MAX_SIZE];
|
||||
struct cwmsg * cwmsg = &conn->resp_msg;
|
||||
cwmsg_init(cwmsg,conn->resp_buffer,CWMSG_ECHO_RESPONSE,seqnum,radioinfo);
|
||||
|
||||
conn_send_response(conn,cwmsg,seqnum);
|
||||
return 1;
|
||||
|
||||
//cwmsg_init(&cwmsg,buffer,CWMSG_ECHO_REQUEST,conn_get_next_seqnum(conn),radioinfo);
|
||||
// return conn_send_cwmsg(conn,&cwmsg);
|
||||
|
||||
}
|
Reference in New Issue
Block a user