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