summaryrefslogtreecommitdiff
path: root/pimd/pim_instance.h
diff options
context:
space:
mode:
Diffstat (limited to 'pimd/pim_instance.h')
-rw-r--r--pimd/pim_instance.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/pimd/pim_instance.h b/pimd/pim_instance.h
index 1b7815d86c..7f022111bc 100644
--- a/pimd/pim_instance.h
+++ b/pimd/pim_instance.h
@@ -115,7 +115,8 @@ struct pim_instance {
/* The name of the register-accept prefix-list */
char *register_plist;
- struct hash *rpf_hash;
+ struct hash *nht_hash;
+ enum pim_rpf_lookup_mode rpf_mode;
void *ssm_info; /* per-vrf SSM configuration */
@@ -150,7 +151,9 @@ struct pim_instance {
struct rb_pim_oil_head channel_oil_head;
+#if PIM_IPV == 4
struct pim_msdp msdp;
+#endif /* PIM_IPV == 4 */
struct pim_vxlan_instance vxlan;
struct pim_autorp *autorp;
@@ -192,6 +195,13 @@ struct pim_instance {
uint64_t gm_rx_drop_sys;
+ /** Log information flags. */
+ uint32_t log_flags;
+/** Log neighbor event messages. */
+#define PIM_MSDP_LOG_NEIGHBOR_EVENTS 0x01
+/** Log SA event messages. */
+#define PIM_MSDP_LOG_SA_EVENTS 0x02
+
bool stopping;
#if PIM_IPV == 6