diff options
author | David Lamparter <equinox@opensourcerouting.org> | 2022-01-18 11:37:56 +0100 |
---|---|---|
committer | David Lamparter <equinox@opensourcerouting.org> | 2022-02-16 16:40:56 +0100 |
commit | 5a46a3dea93fe645b4ce0f992e740081cde10dfa (patch) | |
tree | 7f0f28082588b968a412d8d09cc13ea7491c1542 /pimd/pim_igmpv3.h | |
parent | pim6d: IPv6-adjust BSM code (diff) | |
download | frr-5a46a3dea93fe645b4ce0f992e740081cde10dfa.tar.xz frr-5a46a3dea93fe645b4ce0f992e740081cde10dfa.zip |
pim6d: drop off IGMP code
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'pimd/pim_igmpv3.h')
-rw-r--r-- | pimd/pim_igmpv3.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/pimd/pim_igmpv3.h b/pimd/pim_igmpv3.h index 7449e420e..5041e54cb 100644 --- a/pimd/pim_igmpv3.h +++ b/pimd/pim_igmpv3.h @@ -53,6 +53,7 @@ /* OHPI: Older Host Present Interval */ #define PIM_IGMP_OHPI_DSEC(qrv,qqi,qri_dsec) ((qrv) * (10 * (qqi)) + (qri_dsec)) +#if PIM_IPV == 4 void igmp_group_reset_gmi(struct gm_group *group); void igmp_source_reset_gmi(struct gm_group *group, struct gm_source *source); @@ -98,4 +99,16 @@ void igmp_v3_recv_query(struct gm_sock *igmp, const char *from_str, int igmp_v3_recv_report(struct gm_sock *igmp, struct in_addr from, const char *from_str, char *igmp_msg, int igmp_msg_len); +#else /* PIM_IPV != 4 */ +static inline void igmp_group_reset_gmi(struct gm_group *group) +{ +} + + +static inline void igmp_source_reset_gmi(struct gm_group *group, + struct gm_source *source) +{ +} +#endif + #endif /* PIM_IGMPV3_H */ |