29 #define LLDP_TLV_TYPE( type_len ) ( (type_len) >> 9 ) 37 #define LLDP_TLV_LEN( type_len ) ( (type_len) & 0x01ff ) 40 #define LLDP_TYPE_END 0x00 43 #define LLDP_SETTINGS_NAME "lldp" 93 #define LLDP_TAG( prefix, type, index, offset, length ) \ 94 ( ( ( ( uint64_t ) (prefix) ) << 32 ) | \ 95 ( (type) << 24 ) | ( (index) << 16 ) | \ 96 ( (offset) << 8 ) | ( (length) << 0 ) )
uint16_t type_len
Type and length.
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)
struct lldp_tlv __attribute__((packed))