[wtp] prepare message elements for vendor element handling
convert message element type into a struct{ vendor, type }.
Vendor will be 0 for all RFC types.
			
			
This commit is contained in:
		| @ -1,7 +1,10 @@ | ||||
| #ifndef __CAPWAP_ELEMENT_INIT_DOWNLOAD_HEADER__ | ||||
| #define __CAPWAP_ELEMENT_INIT_DOWNLOAD_HEADER__ | ||||
|  | ||||
| #define CAPWAP_ELEMENT_INITIATEDOWNLOAD		27 | ||||
| #define CAPWAP_ELEMENT_INITIATEDOWNLOAD_VENDOR		0 | ||||
| #define CAPWAP_ELEMENT_INITIATEDOWNLOAD_TYPE		27 | ||||
| #define CAPWAP_ELEMENT_INITIATEDOWNLOAD			(struct capwap_message_element_id){ .vendor = CAPWAP_ELEMENT_INITIATEDOWNLOAD_VENDOR, .type = CAPWAP_ELEMENT_INITIATEDOWNLOAD_TYPE } | ||||
|  | ||||
|  | ||||
| struct capwap_initdownload_element { | ||||
| 	uint8_t dummy; | ||||
|  | ||||
		Reference in New Issue
	
	Block a user