freewtp/lib/element_wtpframetunnelmode.h

21 lines
782 B
C
Raw Normal View History

2013-05-01 14:52:55 +02:00
#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 }
2013-05-01 14:52:55 +02:00
#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;
};
2013-05-01 14:52:55 +02:00
2016-03-07 18:07:46 +01:00
extern const struct capwap_message_elements_ops capwap_element_wtpframetunnelmode_ops;
2013-05-01 14:52:55 +02:00
#endif /* __CAPWAP_ELEMENT_WTPFRAMETUNNELMODE_HEADER__ */