Initial commit
FossilOrigin-Name: 093543d2bc5871b40e3fcc464555bd06931075af95fdd7ad0c44985fa01de497
This commit is contained in:
26
src/mod/capwap/capwap_out_ac_ip_list.c
Normal file
26
src/mod/capwap/capwap_out_ac_ip_list.c
Normal file
@ -0,0 +1,26 @@
|
||||
|
||||
|
||||
|
||||
|
||||
#include "cw/action.h"
|
||||
#include "cw/cw.h"
|
||||
#include "cw/mavl.h"
|
||||
|
||||
|
||||
|
||||
int capwap_out_ac_ip_list(struct conn *conn, struct cw_action_out *a, uint8_t * dst)
|
||||
{
|
||||
/* mbag_t ips = conn->local;
|
||||
MAVLITER_DEFINE (it,ips);
|
||||
|
||||
mavliter_foreach(&it){
|
||||
|
||||
}
|
||||
*/
|
||||
return 0;
|
||||
|
||||
struct sockaddr sa;
|
||||
sock_strtoaddr( "192.168.0.11", &sa);
|
||||
cw_put_sockaddr(dst+4,(struct sockaddr_storage*)&sa);
|
||||
return 4 + cw_put_elem_hdr(dst,CW_ELEM_AC_IPV4_LIST,4);
|
||||
}
|
Reference in New Issue
Block a user