diff options
author | Pat Ruddy <pat@voltanet.io> | 2020-10-12 17:47:52 +0200 |
---|---|---|
committer | Pat Ruddy <pat@voltanet.io> | 2021-02-02 10:37:12 +0100 |
commit | 62e66e55bfb4bf15a5b575be4cf41da8b49fbaaf (patch) | |
tree | d997cb0e4e0ba76baa74a5478935fc191cbd6e9c /lib/smux.h | |
parent | lib: add SNMP_OCTET macro (diff) | |
download | frr-62e66e55bfb4bf15a5b575be4cf41da8b49fbaaf.tar.xz frr-62e66e55bfb4bf15a5b575be4cf41da8b49fbaaf.zip |
bgpd: add SNMP support for mplsL3VpnRte Table
Add MIB support for the route table in RFC4382
Signed-off-by: Pat Ruddy <pat@voltanet.io>
Diffstat (limited to 'lib/smux.h')
-rw-r--r-- | lib/smux.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/smux.h b/lib/smux.h index 8fc4994b1..78267ddb4 100644 --- a/lib/smux.h +++ b/lib/smux.h @@ -62,6 +62,11 @@ extern "C" { #define IANAIPROUTEPROTOCOLIDPR 15 #define IANAIPROUTEPROTOCOLCISCOEIGRP 16 #define IANAIPROUTEPROTOCOLDVMRP 17 + +#define INETADDRESSTYPEUNKNOWN 0 +#define INETADDRESSTYPEIPV4 1 +#define INETADDRESSTYPEIPV6 2 + #undef REGISTER_MIB #define REGISTER_MIB(descr, var, vartype, theoid) \ smux_register_mib(descr, (struct variable *)var, \ |