summaryrefslogtreecommitdiffstats
path: root/pimd/pim_msg.h
diff options
context:
space:
mode:
authorJafar Al-Gharaibeh <jafar@atcorp.com>2024-07-26 16:57:44 +0200
committerJafar Al-Gharaibeh <jafar@atcorp.com>2024-09-09 20:27:49 +0200
commit2d0812373c3c5b3a46eee8f2a344fb0363e953e0 (patch)
treea6f611e8e1ec96d1e063cb4e515c6c0def5a88e5 /pimd/pim_msg.h
parentpimd: Candidate-RP support (diff)
downloadfrr-2d0812373c3c5b3a46eee8f2a344fb0363e953e0.tar.xz
frr-2d0812373c3c5b3a46eee8f2a344fb0363e953e0.zip
pimd: Candidate-BSR support
Signed-off-by: David Lamparter <equinox@opensourcerouting.org> Signed-off-by: Jafar Al-Gharaibeh <jafar@atcorp.com>
Diffstat (limited to 'pimd/pim_msg.h')
-rw-r--r--pimd/pim_msg.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/pimd/pim_msg.h b/pimd/pim_msg.h
index 56923b7ec..1f916af88 100644
--- a/pimd/pim_msg.h
+++ b/pimd/pim_msg.h
@@ -148,6 +148,7 @@ struct pim_encoded_source_ipv6 {
typedef struct pim_encoded_ipv4_unicast pim_encoded_unicast;
typedef struct pim_encoded_group_ipv4 pim_encoded_group;
typedef struct pim_encoded_source_ipv4 pim_encoded_source;
+#define PIM_MSG_ADDRESS_FAMILY PIM_MSG_ADDRESS_FAMILY_IPV4
typedef struct ip ipv_hdr;
#define IPV_SRC(ip_hdr) ((ip_hdr))->ip_src
#define IPV_DST(ip_hdr) ((ip_hdr))->ip_dst
@@ -156,6 +157,7 @@ typedef struct ip ipv_hdr;
typedef struct pim_encoded_ipv6_unicast pim_encoded_unicast;
typedef struct pim_encoded_group_ipv6 pim_encoded_group;
typedef struct pim_encoded_source_ipv6 pim_encoded_source;
+#define PIM_MSG_ADDRESS_FAMILY PIM_MSG_ADDRESS_FAMILY_IPV6
typedef struct ip6_hdr ipv_hdr;
#define IPV_SRC(ip_hdr) ((ip_hdr))->ip6_src
#define IPV_DST(ip_hdr) ((ip_hdr))->ip6_dst