From 9a6fcef43c3263d6acb95aaca2dcd2eb86169a75 Mon Sep 17 00:00:00 2001 From: Steve Shin Date: Wed, 11 Oct 2017 13:55:16 -0700 Subject: 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 --- src/vnet/lldp/lldp_node.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/vnet/lldp/lldp_node.h') 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 -- cgit 1.2.3-korg