diff options
| author | Sai Gomathi <nsaigomathi@vmware.com> | 2021-12-03 10:23:23 -0800 | 
|---|---|---|
| committer | Sai Gomathi <nsaigomathi@vmware.com> | 2021-12-03 10:27:12 -0800 | 
| commit | c5f76fad1a2b0f6127d7b8ef94f24798e60dbbd6 (patch) | |
| tree | d71cde145cd4b37ae8f2cd983955ae54328d4845 /pimd/pim_igmpv2.c | |
| parent | a16db099e44dd05f7c43e3770b22cff0c8d0d0f6 (diff) | |
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_igmpv2.c')
| -rw-r--r-- | pimd/pim_igmpv2.c | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/pimd/pim_igmpv2.c b/pimd/pim_igmpv2.c index c3599ee948..2616afca69 100644 --- a/pimd/pim_igmpv2.c +++ b/pimd/pim_igmpv2.c @@ -102,7 +102,7 @@ void igmp_v2_send_query(struct gm_group *group, int fd, const char *ifname,  	}  } -int igmp_v2_recv_report(struct igmp_sock *igmp, struct in_addr from, +int igmp_v2_recv_report(struct gm_sock *igmp, struct in_addr from,  			const char *from_str, char *igmp_msg, int igmp_msg_len)  {  	struct interface *ifp = igmp->interface; @@ -158,7 +158,7 @@ int igmp_v2_recv_report(struct igmp_sock *igmp, struct in_addr from,  	return 0;  } -int igmp_v2_recv_leave(struct igmp_sock *igmp, struct ip *ip_hdr, +int igmp_v2_recv_leave(struct gm_sock *igmp, struct ip *ip_hdr,  		       const char *from_str, char *igmp_msg, int igmp_msg_len)  {  	struct interface *ifp = igmp->interface;  | 
