freewtp/lib/element_addstation.h

21 lines
635 B
C
Raw Permalink Normal View History

2013-06-02 22:21:49 +02:00
#ifndef __CAPWAP_ELEMENT_ADD_STATION__HEADER__
#define __CAPWAP_ELEMENT_ADD_STATION__HEADER__
2013-06-01 19:43:28 +02:00
#define CAPWAP_ELEMENT_ADDSTATION_VENDOR 0
#define CAPWAP_ELEMENT_ADDSTATION_TYPE 8
#define CAPWAP_ELEMENT_ADDSTATION (struct capwap_message_element_id){ .vendor = CAPWAP_ELEMENT_ADDSTATION_VENDOR, .type = CAPWAP_ELEMENT_ADDSTATION_TYPE }
2013-06-01 19:43:28 +02:00
#define CAPWAP_ADDSTATION_VLAN_MAX_LENGTH 512
2013-06-01 19:43:28 +02:00
struct capwap_addstation_element {
uint8_t radioid;
uint8_t length;
uint8_t* address;
uint8_t* vlan;
};
2016-03-07 18:07:46 +01:00
extern const struct capwap_message_elements_ops capwap_element_addstation_ops;
2013-06-01 19:43:28 +02:00
2013-06-02 22:21:49 +02:00
#endif /* __CAPWAP_ELEMENT_ADD_STATION__HEADER__ */