Home
last modified time | relevance | path

Searched refs:newf (Results 1 – 1 of 1) sorted by relevance

/net/ipv6/
Daddrconf.c862 static void addrconf_forward_change(struct net *net, __s32 newf) in addrconf_forward_change() argument
870 int changed = (!idev->cnf.forwarding) ^ (!newf); in addrconf_forward_change()
871 idev->cnf.forwarding = newf; in addrconf_forward_change()
878 static int addrconf_fixup_forwarding(struct ctl_table *table, int *p, int newf) in addrconf_fixup_forwarding() argument
888 *p = newf; in addrconf_fixup_forwarding()
891 if ((!newf) ^ (!old)) in addrconf_fixup_forwarding()
903 net->ipv6.devconf_dflt->forwarding = newf; in addrconf_fixup_forwarding()
904 if ((!newf) ^ (!old_dflt)) in addrconf_fixup_forwarding()
910 addrconf_forward_change(net, newf); in addrconf_fixup_forwarding()
911 if ((!newf) ^ (!old)) in addrconf_fixup_forwarding()
[all …]