netconf: advertise mc_forwarding status
This patch advertise the MC_FORWARDING status for IPv4 and IPv6. This field is readonly, only multicast engine in the kernel updates it. Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
e8ad1a8fab
commit
d67b8c616b
@@ -171,6 +171,9 @@ struct in_ifaddr {
|
||||
extern int register_inetaddr_notifier(struct notifier_block *nb);
|
||||
extern int unregister_inetaddr_notifier(struct notifier_block *nb);
|
||||
|
||||
extern void inet_netconf_notify_devconf(struct net *net, int type, int ifindex,
|
||||
struct ipv4_devconf *devconf);
|
||||
|
||||
extern struct net_device *__ip_dev_find(struct net *net, __be32 addr, bool devref);
|
||||
static inline struct net_device *ip_dev_find(struct net *net, __be32 addr)
|
||||
{
|
||||
|
Reference in New Issue
Block a user