[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_IDLETIMEOUT_HEADER__
|
||||
#define __CAPWAP_ELEMENT_IDLETIMEOUT_HEADER__
|
||||
|
||||
#define CAPWAP_ELEMENT_IDLETIMEOUT 23
|
||||
#define CAPWAP_ELEMENT_IDLETIMEOUT_VENDOR 0
|
||||
#define CAPWAP_ELEMENT_IDLETIMEOUT_TYPE 23
|
||||
#define CAPWAP_ELEMENT_IDLETIMEOUT (struct capwap_message_element_id){ .vendor = CAPWAP_ELEMENT_IDLETIMEOUT_VENDOR, .type = CAPWAP_ELEMENT_IDLETIMEOUT_TYPE }
|
||||
|
||||
|
||||
struct capwap_idletimeout_element {
|
||||
uint32_t timeout;
|
||||
|
||||
Reference in New Issue
Block a user