2013-05-01 14:52:55 +02:00
|
|
|
#ifndef __CAPWAP_ELEMENT_VENDORPAYLOAD_HEADER__
|
|
|
|
#define __CAPWAP_ELEMENT_VENDORPAYLOAD_HEADER__
|
|
|
|
|
2016-03-08 10:21:51 +01:00
|
|
|
#define CAPWAP_ELEMENT_VENDORPAYLOAD_VENDOR 0
|
|
|
|
#define CAPWAP_ELEMENT_VENDORPAYLOAD_TYPE 37
|
|
|
|
#define CAPWAP_ELEMENT_VENDORPAYLOAD (struct capwap_message_element_id){ .vendor = CAPWAP_ELEMENT_VENDORPAYLOAD_VENDOR, .type = CAPWAP_ELEMENT_VENDORPAYLOAD_TYPE }
|
|
|
|
|
2013-05-01 14:52:55 +02:00
|
|
|
|
|
|
|
#define CAPWAP_VENDORPAYLOAD_MAXLENGTH 2048
|
|
|
|
|
|
|
|
struct capwap_vendorpayload_element {
|
2013-05-27 21:33:23 +02:00
|
|
|
uint32_t vendorid;
|
|
|
|
uint16_t elementid;
|
|
|
|
uint16_t datalength;
|
2016-03-08 12:00:01 +01:00
|
|
|
uint8_t data[];
|
2013-05-01 14:52:55 +02:00
|
|
|
};
|
|
|
|
|
2016-03-08 12:00:01 +01:00
|
|
|
void *
|
|
|
|
capwap_unknown_vendorpayload_element_parsing(capwap_message_elements_handle handle,
|
|
|
|
struct capwap_read_message_elements_ops *func,
|
|
|
|
unsigned short length,
|
|
|
|
const struct capwap_message_element_id vendor_id);
|
|
|
|
|
2016-03-07 18:07:46 +01:00
|
|
|
extern const struct capwap_message_elements_ops capwap_element_vendorpayload_ops;
|
2013-05-01 14:52:55 +02:00
|
|
|
|
|
|
|
#endif /* __CAPWAP_ELEMENT_VENDORPAYLOAD_HEADER__ */
|