summaryrefslogtreecommitdiffstats
path: root/pimd/pim_igmp_mtrace.c
diff options
context:
space:
mode:
authorSai Gomathi <nsaigomathi@vmware.com>2021-12-03 19:23:23 +0100
committerSai Gomathi <nsaigomathi@vmware.com>2021-12-03 19:27:12 +0100
commitc5f76fad1a2b0f6127d7b8ef94f24798e60dbbd6 (patch)
treed71cde145cd4b37ae8f2cd983955ae54328d4845 /pimd/pim_igmp_mtrace.c
parentpimd: Modifying name of struct igmp_group to struct gm_group for IPv6. (diff)
downloadfrr-c5f76fad1a2b0f6127d7b8ef94f24798e60dbbd6.tar.xz
frr-c5f76fad1a2b0f6127d7b8ef94f24798e60dbbd6.zip
pimd: Modifying struct igmp_sock to gm_sock for IPv6
Modifying name of struct igmp_sock to struct gm_sock, 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_igmp_mtrace.c')
-rw-r--r--pimd/pim_igmp_mtrace.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pimd/pim_igmp_mtrace.c b/pimd/pim_igmp_mtrace.c
index 42101bc48..65a8ca4e4 100644
--- a/pimd/pim_igmp_mtrace.c
+++ b/pimd/pim_igmp_mtrace.c
@@ -564,7 +564,7 @@ static int mtrace_send_response(struct pim_instance *pim,
mtracep->rsp_addr, mtracep->grp_addr);
}
-int igmp_mtrace_recv_qry_req(struct igmp_sock *igmp, struct ip *ip_hdr,
+int igmp_mtrace_recv_qry_req(struct gm_sock *igmp, struct ip *ip_hdr,
struct in_addr from, const char *from_str,
char *igmp_msg, int igmp_msg_len)
{
@@ -799,7 +799,7 @@ int igmp_mtrace_recv_qry_req(struct igmp_sock *igmp, struct ip *ip_hdr,
}
/* 6.3. Traceroute responses */
-int igmp_mtrace_recv_response(struct igmp_sock *igmp, struct ip *ip_hdr,
+int igmp_mtrace_recv_response(struct gm_sock *igmp, struct ip *ip_hdr,
struct in_addr from, const char *from_str,
char *igmp_msg, int igmp_msg_len)
{