mld: rename igmp6 to mld
Subsystems (3)
PATCH 5/8 mld: rename igmp6 to mld
ipv6 multicast protocol is MLD, not IGMP6.
So it should be renamed.
Signed-off-by Taehee Yoo <[email protected]>
--- include/net/ndisc.h | 14 ++-- net/ipv6/af_inet6.c | 12 +-- net/ipv6/icmp.c | 4 +- net/ipv6/mcast.c | 198 ++++++++++++++++++++++---------------------- 4 files changed, 115 insertions(+), 113 deletions(-)
include/net/ndisc.h +7 -7
@@ -479,17 +479,17 @@ void ndisc_update(const struct net_device *dev, struct neighbour *neigh, struct ndisc_options *ndopts);/* -* IGMP +* MLD */ -int igmp6_init (void ); -int igmp6_late_init (void ); +int mld_init (void ); +int mld_late_init (void ); -void igmp6_cleanup (void ); -void igmp6_late_cleanup (void ); +void mld_cleanup (void ); +void mld_late_cleanup (void ); -int igmp6_event_query (struct sk_buff *skb); +int mld_event_query (struct sk_buff *skb); -int igmp6_event_report (struct sk_buff *skb); +int mld_event_report (struct sk_buff *skb);#ifdef CONFIG_SYSCTL
net/ipv6/af_inet6.c +6 -6
@@ -1105,7 +1105,7 @@ static int __init inet6_init(void) err =ndisc_init ();if (err) goto ndisc_fail; - err =igmp6_init (); + err =mld_init ();if (err) goto igmp_fail;
@@ -1186,9 +1186,9 @@ static int __init inet6_init(void)if (err) goto rpl_fail; - err =igmp6_late_init (); + err =mld_late_init ();if (err) - goto igmp6_late_err; + goto mld_late_err;#ifdef CONFIG_SYSCTL err =ipv6_sysctl_register ();
@@ -1205,9 +1205,9 @@ static int __init inet6_init(void)#ifdef CONFIG_SYSCTL sysctl_fail: -igmp6_late_cleanup (); +mld_late_cleanup ();#endif -igmp6_late_err: +mld_late_err:rpl_exit (); rpl_fail:seg6_exit ();
@@ -1252,7 +1252,7 @@ static int __init inet6_init(void)#endif ipv6_netfilter_fini (); netfilter_fail: -igmp6_cleanup (); +mld_cleanup (); igmp_fail:ndisc_cleanup (); ndisc_fail:
net/ipv6/icmp.c +2 -2
@@ -943,11 +943,11 @@ static int icmpv6_rcv(struct sk_buff *skb)break ;case ICMPV6_MGM_QUERY : -igmp6_event_query (skb); +mld_event_query (skb);break ;case ICMPV6_MGM_REPORT : -igmp6_event_report (skb); +mld_event_report (skb);break ;case ICMPV6_MGM_REDUCTION :
net/ipv6/mcast.c +100 -98
521 lines not on this page · raw message
Signature · 1 line
2.17.1