summaryrefslogtreecommitdiffstats
path: root/src/plugins/lldp/lldp.h
diff options
context:
space:
mode:
authorKlement Sekera <ksekera@cisco.com>2020-10-02 14:12:37 +0000
committerDamjan Marion <dmarion@me.com>2020-10-02 22:20:59 +0000
commit149fd3fbd069a5f7be86e68472578ee7af229cb6 (patch)
tree9c815f7e1edf9f7cbb2c86e93459e4989ba21f00 /src/plugins/lldp/lldp.h
parent1c556d19d0b7a0f9d130ddfb07041cb2cafb8a8d (diff)
lldp: set interface MAC address when enabled
Type: improvement Change-Id: I4f2dc4e4c1c467fb9acd0fed231c56fcd54c8da9 Signed-off-by: Klement Sekera <ksekera@cisco.com>
Diffstat (limited to 'src/plugins/lldp/lldp.h')
-rw-r--r--src/plugins/lldp/lldp.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/lldp/lldp.h b/src/plugins/lldp/lldp.h
index df03dcea6ce..e0550dad96d 100644
--- a/src/plugins/lldp/lldp.h
+++ b/src/plugins/lldp/lldp.h
@@ -24,11 +24,13 @@ typedef enum lldp_cfg_err
lldp_ok,
lldp_not_supported,
lldp_invalid_arg,
+ lldp_internal_error,
} lldp_cfg_err_t;
lldp_cfg_err_t lldp_cfg_intf_set (u32 hw_if_index, u8 ** port_desc,
u8 **mgmt_ip4, u8 **mgmt_ip6, u8 **mgmt_oid, int enable);
lldp_cfg_err_t lldp_cfg_set (u8 ** host, int hold_time, int tx_interval);
+extern const u8 lldp_mac_addr[6];
#endif /* __included_lldp_h__ */