diff options
author | David Lamparter <equinox@opensourcerouting.org> | 2022-03-10 15:38:59 +0100 |
---|---|---|
committer | David Lamparter <equinox@opensourcerouting.org> | 2022-04-26 16:15:00 +0200 |
commit | dea337dc571811cec0091ccef74444ff37e02cd4 (patch) | |
tree | 0686ac2ab8645ba5e04ca1ba190611363633f18c /pimd/pim_addr.h | |
parent | zebra, pimd: add AF param on NEXTHOP_LOOKUP_MRIB (diff) | |
download | frr-dea337dc571811cec0091ccef74444ff37e02cd4.tar.xz frr-dea337dc571811cec0091ccef74444ff37e02cd4.zip |
pim6d: implement/un-stub MRIB lookup
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'pimd/pim_addr.h')
-rw-r--r-- | pimd/pim_addr.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pimd/pim_addr.h b/pimd/pim_addr.h index eca907da3..90862520a 100644 --- a/pimd/pim_addr.h +++ b/pimd/pim_addr.h @@ -31,6 +31,8 @@ typedef struct in_addr pim_addr; #define PIM_ADDRSTRLEN INET_ADDRSTRLEN #define PIM_AF AF_INET #define PIM_AFI AFI_IP +#define PIM_IPADDR IPADDR_V4 +#define ipaddr_pim ipaddr_v4 #define PIM_MAX_BITLEN IPV4_MAX_BITLEN #define PIM_AF_NAME "ip" @@ -52,6 +54,8 @@ typedef struct in6_addr pim_addr; #define PIM_ADDRSTRLEN INET6_ADDRSTRLEN #define PIM_AF AF_INET6 #define PIM_AFI AFI_IP6 +#define PIM_IPADDR IPADDR_V6 +#define ipaddr_pim ipaddr_v6 #define PIM_MAX_BITLEN IPV6_MAX_BITLEN #define PIM_AF_NAME "ipv6" |