2016-02-23 19:38:10 +01:00
|
|
|
#ifndef __MOD_CAPWAP_H
|
|
|
|
#define __MOD_CAPWAP_H
|
|
|
|
|
2018-02-25 19:12:28 +01:00
|
|
|
struct cw_Mod *mod_capwap_ac();
|
|
|
|
struct cw_Mod *mod_capwap_wtp();
|
2016-02-23 19:38:10 +01:00
|
|
|
|
2018-03-12 11:22:06 +01:00
|
|
|
#include "cw/msgset.h"
|
2018-03-06 03:08:14 +01:00
|
|
|
#include "cw/conn.h"
|
2016-02-26 18:52:29 +01:00
|
|
|
|
2018-03-06 03:08:14 +01:00
|
|
|
|
2018-03-09 07:44:17 +01:00
|
|
|
/*extern int capwap_in_wtp_descriptor(struct conn *conn, struct cw_ElemHandler *eh,
|
|
|
|
uint8_t * data, int len, struct sockaddr *from);*/
|
2018-03-06 03:08:14 +01:00
|
|
|
|
2018-03-17 12:32:40 +01:00
|
|
|
int capwap_in_wtp_descriptor(struct cw_ElemHandler *eh,
|
|
|
|
struct cw_ElemHandlerParams *params, uint8_t * data, int len);
|
|
|
|
|
|
|
|
int capwap_out_wtp_descriptor(struct cw_ElemHandler * eh,
|
|
|
|
struct cw_ElemHandlerParams * params, uint8_t * dst);
|
|
|
|
|
|
|
|
int capwap_out_ac_descriptor(struct cw_ElemHandler * eh,
|
|
|
|
struct cw_ElemHandlerParams * params, uint8_t * dst);
|
|
|
|
|
2018-03-21 20:01:36 +01:00
|
|
|
int capwap_out_capwap_control_ip_address(struct cw_ElemHandler * eh,
|
|
|
|
struct cw_ElemHandlerParams * params, uint8_t * dst);
|
2018-03-17 12:32:40 +01:00
|
|
|
|
2018-03-24 07:56:05 +01:00
|
|
|
int capwap_in_capwap_control_ip_address(struct cw_ElemHandler *eh,
|
|
|
|
struct cw_ElemHandlerParams *params,
|
|
|
|
uint8_t * data, int len);
|
2018-03-17 12:32:40 +01:00
|
|
|
|
2018-03-25 08:34:32 +02:00
|
|
|
int capwap_in_ac_descriptor(struct cw_ElemHandler *eh,
|
|
|
|
struct cw_ElemHandlerParams *params,
|
|
|
|
uint8_t * data, int len);
|
2018-03-17 12:32:40 +01:00
|
|
|
|
2018-04-07 19:28:22 +02:00
|
|
|
int capwap_out_capwap_local_ip_address(struct cw_ElemHandler * eh,
|
|
|
|
struct cw_ElemHandlerParams * params, uint8_t * dst);
|
|
|
|
|
2018-03-17 12:32:40 +01:00
|
|
|
|
2018-03-09 07:44:17 +01:00
|
|
|
/*
|
2018-03-06 03:08:14 +01:00
|
|
|
extern int capwap_in_wtp_board_data(struct conn *conn, struct cw_ElemHandler *a,
|
2016-03-04 21:42:39 +01:00
|
|
|
uint8_t * data, int len, struct sockaddr *from);
|
2018-03-09 07:44:17 +01:00
|
|
|
*/
|
|
|
|
int capwap_in_wtp_board_data(struct cw_ElemHandler *eh, struct cw_ElemHandlerParams *params,
|
2018-03-09 08:28:11 +01:00
|
|
|
uint8_t * data, int len);
|
|
|
|
|
2018-03-17 12:32:40 +01:00
|
|
|
int capwap_out_wtp_board_data(struct cw_ElemHandler * eh,
|
|
|
|
struct cw_ElemHandlerParams * params, uint8_t * dst);
|
|
|
|
|
|
|
|
|
2018-03-09 08:28:11 +01:00
|
|
|
int capwap_in_vendor_specific_payload(struct cw_ElemHandler *handler,
|
|
|
|
struct cw_ElemHandlerParams *params,
|
|
|
|
uint8_t * data, int len);
|
2016-03-04 21:42:39 +01:00
|
|
|
|
2018-03-11 10:34:20 +01:00
|
|
|
int capwap_in_mtu_discovery_padding(struct cw_ElemHandler *eh,
|
|
|
|
struct cw_ElemHandlerParams *params, uint8_t * data,
|
|
|
|
int len);
|
|
|
|
|
2018-03-06 03:08:14 +01:00
|
|
|
/*
|
2016-03-04 21:42:39 +01:00
|
|
|
extern int capwap_out_wtp_descriptor(struct conn *conn, struct cw_action_out *a,
|
|
|
|
uint8_t * dst);
|
2016-02-26 18:52:29 +01:00
|
|
|
|
2016-04-10 16:03:02 +02:00
|
|
|
extern int capwap_in_session_id(struct conn *conn, struct cw_action_in *a, uint8_t * data,
|
|
|
|
int len, struct sockaddr *from);
|
|
|
|
|
2016-03-05 10:11:39 +01:00
|
|
|
extern int capwap_out_ac_descriptor(struct conn *conn,struct cw_action_out * a,uint8_t *dst);
|
|
|
|
|
2016-03-05 10:24:08 +01:00
|
|
|
extern struct mbag_item * capwap_out_get_session_id(struct conn *conn,struct cw_action_out * a);
|
|
|
|
|
2016-03-05 18:21:52 +01:00
|
|
|
extern struct mbag_item * capwap_out_get_idle_timeout(struct conn *conn,struct cw_action_out * a);
|
|
|
|
|
2016-03-15 19:23:41 +01:00
|
|
|
extern struct mbag_item * capwap_out_get_capwap_timers(struct conn *conn,struct cw_action_out * a);
|
2016-02-26 18:52:29 +01:00
|
|
|
|
2016-04-09 14:19:23 +02:00
|
|
|
extern int capwap_out_ac_ip_list(struct conn *conn, struct cw_action_out *a, uint8_t * dst);
|
|
|
|
|
2018-03-06 03:08:14 +01:00
|
|
|
*/
|
2016-04-09 14:19:23 +02:00
|
|
|
|
2018-02-26 18:28:12 +01:00
|
|
|
struct cw_MsgSet * capwap_register_msg_set(struct cw_MsgSet * set, int mode);
|
|
|
|
|
|
|
|
|
2016-04-09 14:19:23 +02:00
|
|
|
|
2016-02-23 19:38:10 +01:00
|
|
|
#endif
|