From a16db099e44dd05f7c43e3770b22cff0c8d0d0f6 Mon Sep 17 00:00:00 2001 From: Sai Gomathi Date: Fri, 3 Dec 2021 09:41:52 -0800 Subject: pimd: Modifying name of struct igmp_group to struct gm_group for IPv6. Modifying name of struct igmp_group to struct gm_group, which is to be used by both IPv4 and IPv6(for both MLD and IGMP). Co-authored-by: Mobashshera Rasool Co-authored-by: Sarita Patra Signed-off-by: Sai Gomathi --- pimd/pim_igmpv3.h | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'pimd/pim_igmpv3.h') diff --git a/pimd/pim_igmpv3.h b/pimd/pim_igmpv3.h index f3352e1fa..8bcfdd703 100644 --- a/pimd/pim_igmpv3.h +++ b/pimd/pim_igmpv3.h @@ -53,9 +53,8 @@ /* OHPI: Older Host Present Interval */ #define PIM_IGMP_OHPI_DSEC(qrv,qqi,qri_dsec) ((qrv) * (10 * (qqi)) + (qri_dsec)) -void igmp_group_reset_gmi(struct igmp_group *group); -void igmp_source_reset_gmi(struct igmp_group *group, - struct gm_source *source); +void igmp_group_reset_gmi(struct gm_group *group); +void igmp_source_reset_gmi(struct gm_group *group, struct gm_source *source); void igmp_source_free(struct gm_source *source); void igmp_source_delete(struct gm_source *source); @@ -80,13 +79,13 @@ void igmpv3_report_block(struct igmp_sock *igmp, struct in_addr from, struct in_addr group_addr, int num_sources, struct in_addr *sources); -void igmp_group_timer_lower_to_lmqt(struct igmp_group *group); +void igmp_group_timer_lower_to_lmqt(struct gm_group *group); void igmp_source_timer_lower_to_lmqt(struct gm_source *source); -struct gm_source *igmp_find_source_by_addr(struct igmp_group *group, - struct in_addr src_addr); +struct gm_source *igmp_find_source_by_addr(struct gm_group *group, + struct in_addr src_addr); -void igmp_v3_send_query(struct igmp_group *group, int fd, const char *ifname, +void igmp_v3_send_query(struct gm_group *group, int fd, const char *ifname, char *query_buf, int query_buf_size, int num_sources, struct in_addr dst_addr, struct in_addr group_addr, int query_max_response_time_dsec, uint8_t s_flag, -- cgit v1.2.3