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
@@ -172,6 +172,9 @@ extern bool ipv6_chk_acast_addr(struct net *net, struct net_device *dev,
|
||||
extern int register_inet6addr_notifier(struct notifier_block *nb);
|
||||
extern int unregister_inet6addr_notifier(struct notifier_block *nb);
|
||||
|
||||
extern void inet6_netconf_notify_devconf(struct net *net, int type, int ifindex,
|
||||
struct ipv6_devconf *devconf);
|
||||
|
||||
/**
|
||||
* __in6_dev_get - get inet6_dev pointer from netdevice
|
||||
* @dev: network device
|
||||
|
Reference in New Issue
Block a user