freewtp/lib/element_wtpframetunnelmode.h
2016-08-23 08:55:15 +02:00

21 lines
782 B
C

#ifndef __CAPWAP_ELEMENT_WTPFRAMETUNNELMODE_HEADER__
#define __CAPWAP_ELEMENT_WTPFRAMETUNNELMODE_HEADER__
#define CAPWAP_ELEMENT_WTPFRAMETUNNELMODE_VENDOR 0
#define CAPWAP_ELEMENT_WTPFRAMETUNNELMODE_TYPE 41
#define CAPWAP_ELEMENT_WTPFRAMETUNNELMODE (struct capwap_message_element_id){ .vendor = CAPWAP_ELEMENT_WTPFRAMETUNNELMODE_VENDOR, .type = CAPWAP_ELEMENT_WTPFRAMETUNNELMODE_TYPE }
#define CAPWAP_WTP_FRAME_TUNNEL_MODE_MASK 0x0e
#define CAPWAP_WTP_NATIVE_FRAME_TUNNEL 0x08
#define CAPWAP_WTP_8023_FRAME_TUNNEL 0x04
#define CAPWAP_WTP_LOCAL_BRIDGING 0x02
struct capwap_wtpframetunnelmode_element {
uint8_t mode;
};
extern const struct capwap_message_elements_ops capwap_element_wtpframetunnelmode_ops;
#endif /* __CAPWAP_ELEMENT_WTPFRAMETUNNELMODE_HEADER__ */