Inital commit.

FossilOrigin-Name: d75cb1ce5121aed98afdd2dbd2548bea9c5875ddf5478776212db0f99da91b10
This commit is contained in:
7u83@mail.ru
2015-04-05 18:26:33 +00:00
parent ad25251444
commit a3f9db9d46
5 changed files with 95 additions and 0 deletions

View File

@ -0,0 +1,24 @@
#include "action.h"
#include "capwap.h"
int cw_in_set_state_none(struct conn *conn,struct cw_action_in * a,uint8_t *data,int len)
{
conn->capwap_state=CW_STATE_NONE;
return 1;
}
struct cw_item *cw_out_get_local(struct conn *conn, struct cw_action_out *a)
{
return cw_itemstore_get(conn->local, a->item_id);
}
struct cw_item *cw_out_get_remote(struct conn *conn, struct cw_action_out *a)
{
return cw_itemstore_get(conn->local, a->item_id);
}