diff options
author | Valery Ivanov <ivalery111@gmail.com> | 2021-05-08 13:38:12 +0300 |
---|---|---|
committer | Valery Ivanov <ivalery111@gmail.com> | 2021-05-08 13:38:12 +0300 |
commit | 41e9ea7aaf0ff6cb40bb44ff831c49efc0b9991e (patch) | |
tree | 93bff420da4ccb89017111abc9f61b96521a46c0 /include/libnet | |
parent | 01151165fa29dc6eb4223700e21ffab78a67972f (diff) | |
download | libnet-41e9ea7aaf0ff6cb40bb44ff831c49efc0b9991e.tar.gz |
chore(headers): add end of lldpdu tlv define
Diffstat (limited to 'include/libnet')
-rw-r--r-- | include/libnet/libnet-headers.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/libnet/libnet-headers.h b/include/libnet/libnet-headers.h index 3686673..2e191bd 100644 --- a/include/libnet/libnet-headers.h +++ b/include/libnet/libnet-headers.h @@ -312,6 +312,8 @@ struct libnet_lldp_hdr uint16_t tlv_info; /* Type = 7 bits, Length = 9 bits */ /* Mandatory TLVs Types */ +#define LIBNET_LLDP_END_LLDPDU 0x00 /* End of LLDPDU (Mandatory) */ + #define LIBNET_LLDP_CHASSIS_ID 0x01 /* Chassis ID (Mandatory) */ #define LIBNET_LLDP_CHASSIS_ID_SUBTYPE_RESERVED 0x00 #define LIBNET_LLDP_CHASSIS_ID_SUBTYPE_COMPONENT 0x01 /* Chassis Component */ |