diff options
| author | Donald Sharp <donaldsharp72@gmail.com> | 2024-11-21 13:45:58 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-21 13:45:58 -0500 |
| commit | 0af5c2a6eb7ade86fe6fefab00d77da1cefb7ed2 (patch) | |
| tree | 63f7480f3397bbf841d02b39cbebb942de5adb91 /pimd/pim_instance.h | |
| parent | 9af78e29865b4b7f32a23fdfd829a7d4e5ae6108 (diff) | |
| parent | 0b0648f15c0ced171dc29961ea374f11dd6a66cc (diff) | |
Merge pull request #17469 from opensourcerouting/msdp-logs
pimd: MSDP logging improvements
Diffstat (limited to 'pimd/pim_instance.h')
| -rw-r--r-- | pimd/pim_instance.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/pimd/pim_instance.h b/pimd/pim_instance.h index 1b7815d86c..dab7ed2698 100644 --- a/pimd/pim_instance.h +++ b/pimd/pim_instance.h @@ -192,6 +192,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 @@ -218,4 +225,7 @@ extern struct pim_router *router; struct pim_instance *pim_get_pim_instance(vrf_id_t vrf_id); +extern bool pim_msdp_log_neighbor_events(const struct pim_instance *pim); +extern bool pim_msdp_log_sa_events(const struct pim_instance *pim); + #endif |
