From 0d020cd6d98f454f22723f404da99fa48b7b2751 Mon Sep 17 00:00:00 2001 From: Pat Ruddy Date: Mon, 28 Sep 2020 16:35:35 +0100 Subject: bgpd, lib: add mplsL3VpnVrf table Add SNMP support for L3vpn Vrf table as defined in [RFC4382] Keep track of vrf status for the table and for future traps. Signed-off-by: Pat Ruddy --- lib/smux.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/smux.h') diff --git a/lib/smux.h b/lib/smux.h index 6896f02354..0efe029d3d 100644 --- a/lib/smux.h +++ b/lib/smux.h @@ -106,6 +106,8 @@ extern int oid_compare(const oid *, int, const oid *, int); extern void oid2in_addr(oid[], int, struct in_addr *); extern void *oid_copy(void *, const void *, size_t); extern void oid_copy_addr(oid[], const struct in_addr *, int); +extern void oid2string(oid oid[], int len, char *string); +extern void oid_copy_str(oid oid[], const char *string, int len); #ifdef __cplusplus } -- cgit v1.2.3