summaryrefslogtreecommitdiffstats
path: root/pimd/pim_igmpv3.h
diff options
context:
space:
mode:
authorSai Gomathi <nsaigomathi@vmware.com>2021-12-03 18:41:52 +0100
committerSai Gomathi <nsaigomathi@vmware.com>2021-12-03 19:11:13 +0100
commita16db099e44dd05f7c43e3770b22cff0c8d0d0f6 (patch)
tree86a480cf0056ba5251a681094693302ff1690b1c /pimd/pim_igmpv3.h
parentpimd: Modifying name of struct igmp_source to struct gm_source for IPv6. (diff)
downloadfrr-a16db099e44dd05f7c43e3770b22cff0c8d0d0f6.tar.xz
frr-a16db099e44dd05f7c43e3770b22cff0c8d0d0f6.zip
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 <mrasool@vmware.com> Co-authored-by: Sarita Patra <saritap@vmware.com> Signed-off-by: Sai Gomathi <nsaigomathi@vmware.com>
Diffstat (limited to 'pimd/pim_igmpv3.h')
-rw-r--r--pimd/pim_igmpv3.h13
1 files changed, 6 insertions, 7 deletions
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,