freewtp/lib/element_sessionid.h

20 lines
680 B
C
Raw Normal View History

2013-05-01 14:52:55 +02:00
#ifndef __CAPWAP_ELEMENT_SESSIONID_HEADER__
#define __CAPWAP_ELEMENT_SESSIONID_HEADER__
#define CAPWAP_ELEMENT_SESSIONID_VENDOR 0
#define CAPWAP_ELEMENT_SESSIONID_TYPE 35
#define CAPWAP_ELEMENT_SESSIONID (struct capwap_message_element_id){ .vendor = CAPWAP_ELEMENT_SESSIONID_VENDOR, .type = CAPWAP_ELEMENT_SESSIONID_TYPE }
2013-05-01 14:52:55 +02:00
struct capwap_sessionid_element {
uint8_t id[16];
2013-05-01 14:52:55 +02:00
};
/* */
2013-05-01 14:52:55 +02:00
void capwap_sessionid_generate(struct capwap_sessionid_element* session);
void capwap_sessionid_printf(struct capwap_sessionid_element* session, char* string);
2016-03-07 18:07:46 +01:00
extern const struct capwap_message_elements_ops capwap_element_sessionid_ops;
2013-05-01 14:52:55 +02:00
#endif /* __CAPWAP_ELEMENT_SESSIONID_HEADER__ */