freewtp/lib/element_imageinfo.h

19 lines
615 B
C
Raw Normal View History

2013-06-02 22:21:49 +02:00
#ifndef __CAPWAP_ELEMENT_IMAGE_INFO_HEADER__
#define __CAPWAP_ELEMENT_IMAGE_INFO_HEADER__
#define CAPWAP_ELEMENT_IMAGEINFO_VENDOR 0
#define CAPWAP_ELEMENT_IMAGEINFO_TYPE 26
#define CAPWAP_ELEMENT_IMAGEINFO (struct capwap_message_element_id){ .vendor = CAPWAP_ELEMENT_IMAGEINFO_VENDOR, .type = CAPWAP_ELEMENT_IMAGEINFO_TYPE }
2013-06-02 22:21:49 +02:00
#define CAPWAP_IMAGEINFO_HASH_LENGTH 16
struct capwap_imageinfo_element {
uint32_t length;
uint8_t hash[CAPWAP_IMAGEINFO_HASH_LENGTH];
};
2016-03-07 18:07:46 +01:00
extern const struct capwap_message_elements_ops capwap_element_imageinfo_ops;
2013-06-02 22:21:49 +02:00
#endif /* __CAPWAP_ELEMENT_IMAGE_INFO_HEADER__ */