aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/lldp/lldp_node.h
diff options
context:
space:
mode:
authorSteve Shin <jonshin@cisco.com>2017-10-11 13:55:16 -0700
committerJohn Lo <loj@cisco.com>2017-10-12 13:57:11 +0000
commit9a6fcef43c3263d6acb95aaca2dcd2eb86169a75 (patch)
tree3ca1f20feb1194c2b6af8be2eae70585afe4b57a /src/vnet/lldp/lldp_node.h
parent34acce2574311bcc149660729bde5fccf1045915 (diff)
LLDP: Add Management Address TLV
- Management Address TLV is added as per IEEE Std 802.1AB-2009. - Support of management ipv4/ipv6 addresses and OID. Change-Id: I57c14741774390809ce5a829cc087947424432c7 Signed-off-by: Steve Shin <jonshin@cisco.com>
Diffstat (limited to 'src/vnet/lldp/lldp_node.h')
-rw-r--r--src/vnet/lldp/lldp_node.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/vnet/lldp/lldp_node.h b/src/vnet/lldp/lldp_node.h
index 14a10e330de..eca1d12e169 100644
--- a/src/vnet/lldp/lldp_node.h
+++ b/src/vnet/lldp/lldp_node.h
@@ -46,6 +46,14 @@ typedef struct lldp_intf
/* Local info */
u8 *port_desc;
+ /* management ipv4 address */
+ u8 *mgmt_ip4;
+
+ /* management ipv6 address */
+ u8 *mgmt_ip6;
+
+ /* management object identifier */
+ u8 *mgmt_oid;
} lldp_intf_t;
typedef struct