Moved files
FossilOrigin-Name: 033586c8bfbbd5f012ea6cef6f6bead4f11c5c3d35be882575a13c69ab121a02
This commit is contained in:
parent
1cce35f07c
commit
6093824e74
12
src/mod/cisco/cisco.h
Normal file
12
src/mod/cisco/cisco.h
Normal file
@ -0,0 +1,12 @@
|
||||
#ifndef __CISCO_H
|
||||
#define __CISCO_H
|
||||
|
||||
#include "capwap/conn.h"
|
||||
#include "capwap/action.h"
|
||||
|
||||
extern int cisco_out_ap_timesync(struct conn *conn,struct cw_action_out * a,uint8_t *dst);
|
||||
int cisco_in_wtp_descriptor(struct conn *conn, struct cw_action_in *a, uint8_t * data,
|
||||
int len, struct sockaddr *from);
|
||||
|
||||
|
||||
#endif
|
@ -1,8 +1,10 @@
|
||||
|
||||
#include <time.h>
|
||||
#include "capwap_cisco.h"
|
||||
#include "cisco.h"
|
||||
|
||||
int cw_out_cisco_ap_timesync(struct conn *conn,struct cw_action_out * a,uint8_t *dst)
|
||||
#include "capwap/capwap_cisco.h"
|
||||
|
||||
int cisco_out_ap_timesync(struct conn *conn,struct cw_action_out * a,uint8_t *dst)
|
||||
{
|
||||
int l = cw_put_cisco_ap_timesync(dst+10,time(NULL),0);
|
||||
return l + cw_put_elem_vendor_hdr(dst, a->vendor_id, a->elem_id, l);
|
Loading…
Reference in New Issue
Block a user