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

22 lines
711 B
C

#ifndef __CAPWAP_ELEMENT_DUPLICATE_IPv6__HEADER__
#define __CAPWAP_ELEMENT_DUPLICATE_IPv6__HEADER__
#define CAPWAP_ELEMENT_DUPLICATEIPV6_VENDOR 0
#define CAPWAP_ELEMENT_DUPLICATEIPV6_TYPE 22
#define CAPWAP_ELEMENT_DUPLICATEIPV6 (struct capwap_message_element_id){ .vendor = CAPWAP_ELEMENT_DUPLICATEIPV6_VENDOR, .type = CAPWAP_ELEMENT_DUPLICATEIPV6_TYPE }
#define CAPWAP_DUPLICATEIPv6_CLEARED 0
#define CAPWAP_DUPLICATEIPv6_DETECTED 1
struct capwap_duplicateipv6_element {
struct in6_addr address;
uint8_t status;
uint8_t length;
uint8_t* macaddress;
};
extern const struct capwap_message_elements_ops capwap_element_duplicateipv6_ops;
#endif /* __CAPWAP_ELEMENT_DUPLICATE_IPv6__HEADER__ */