52 lines
1.6 KiB
C
52 lines
1.6 KiB
C
#ifndef __MOD_CAPWAP_H
|
|
#define __MOD_CAPWAP_H
|
|
|
|
struct cw_Mod *mod_capwap_ac();
|
|
struct cw_Mod *mod_capwap_wtp();
|
|
|
|
#include "cw/message_set.h"
|
|
#include "cw/conn.h"
|
|
|
|
|
|
/*extern int capwap_in_wtp_descriptor(struct conn *conn, struct cw_ElemHandler *eh,
|
|
uint8_t * data, int len, struct sockaddr *from);*/
|
|
|
|
int capwap_in_wtp_descriptor(struct cw_ElemHandler *eh, struct cw_ElemHandlerParams *params, uint8_t * data,
|
|
int len);
|
|
/*
|
|
extern int capwap_in_wtp_board_data(struct conn *conn, struct cw_ElemHandler *a,
|
|
uint8_t * data, int len, struct sockaddr *from);
|
|
*/
|
|
int capwap_in_wtp_board_data(struct cw_ElemHandler *eh, struct cw_ElemHandlerParams *params,
|
|
uint8_t * data, int len);
|
|
|
|
|
|
int capwap_in_vendor_specific_payload(struct cw_ElemHandler *handler,
|
|
struct cw_ElemHandlerParams *params,
|
|
uint8_t * data, int len);
|
|
|
|
/*
|
|
extern int capwap_out_wtp_descriptor(struct conn *conn, struct cw_action_out *a,
|
|
uint8_t * dst);
|
|
|
|
extern int capwap_in_session_id(struct conn *conn, struct cw_action_in *a, uint8_t * data,
|
|
int len, struct sockaddr *from);
|
|
|
|
extern int capwap_out_ac_descriptor(struct conn *conn,struct cw_action_out * a,uint8_t *dst);
|
|
|
|
extern struct mbag_item * capwap_out_get_session_id(struct conn *conn,struct cw_action_out * a);
|
|
|
|
extern struct mbag_item * capwap_out_get_idle_timeout(struct conn *conn,struct cw_action_out * a);
|
|
|
|
extern struct mbag_item * capwap_out_get_capwap_timers(struct conn *conn,struct cw_action_out * a);
|
|
|
|
extern int capwap_out_ac_ip_list(struct conn *conn, struct cw_action_out *a, uint8_t * dst);
|
|
|
|
*/
|
|
|
|
struct cw_MsgSet * capwap_register_msg_set(struct cw_MsgSet * set, int mode);
|
|
|
|
|
|
|
|
#endif
|