More work on CAPWAP VM

FossilOrigin-Name: 9d9a86d2bafe31253a6f505e874f188792539485bb4462f4d778e6c53ac3000b
This commit is contained in:
7u83@mail.ru
2015-04-05 18:27:17 +00:00
parent ab8128a20f
commit 1158167262
33 changed files with 648 additions and 532 deletions

View File

@ -16,6 +16,10 @@
*/
/**
* @file
* @brief Connection object stuff
*/
#ifndef __CONN_H
#define __CONN_H
@ -35,14 +39,18 @@
#include "itemstore.h"
/**
* Connection Object
*/
struct conn {
int sock;
struct sockaddr_storage addr;
int recv_timeout;
cw_itemstore_t itemstore;
/** Basically used to store local conig data */
cw_itemstore_t local;
/** used to maintain the remote config, an AC holds here the WTP config.
A WTP holds here data about it's AC */
cw_itemstore_t remote;