• Home
  • Raw
  • Download

Lines Matching refs:newf

862 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()
916 } else if ((!newf) ^ (!old)) in addrconf_fixup_forwarding()
920 if (newf) in addrconf_fixup_forwarding()
925 static void addrconf_linkdown_change(struct net *net, __s32 newf) in addrconf_linkdown_change() argument
933 int changed = (!idev->cnf.ignore_routes_with_linkdown) ^ (!newf); in addrconf_linkdown_change()
935 idev->cnf.ignore_routes_with_linkdown = newf; in addrconf_linkdown_change()
946 static int addrconf_fixup_linkdown(struct ctl_table *table, int *p, int newf) in addrconf_fixup_linkdown() argument
956 *p = newf; in addrconf_fixup_linkdown()
959 if ((!newf) ^ (!old)) in addrconf_fixup_linkdown()
970 net->ipv6.devconf_dflt->ignore_routes_with_linkdown = newf; in addrconf_fixup_linkdown()
971 addrconf_linkdown_change(net, newf); in addrconf_fixup_linkdown()
972 if ((!newf) ^ (!old)) in addrconf_fixup_linkdown()
6292 static void addrconf_disable_change(struct net *net, __s32 newf) in addrconf_disable_change() argument
6300 int changed = (!idev->cnf.disable_ipv6) ^ (!newf); in addrconf_disable_change()
6301 idev->cnf.disable_ipv6 = newf; in addrconf_disable_change()
6308 static int addrconf_disable_ipv6(struct ctl_table *table, int *p, int newf) in addrconf_disable_ipv6() argument
6318 *p = newf; in addrconf_disable_ipv6()
6326 net->ipv6.devconf_dflt->disable_ipv6 = newf; in addrconf_disable_ipv6()
6327 addrconf_disable_change(net, newf); in addrconf_disable_ipv6()
6328 } else if ((!newf) ^ (!old)) in addrconf_disable_ipv6()