Lines Matching refs:ctl
6044 int addrconf_sysctl_forward(struct ctl_table *ctl, int write, in addrconf_sysctl_forward() argument
6047 int *valp = ctl->data; in addrconf_sysctl_forward()
6057 lctl = *ctl; in addrconf_sysctl_forward()
6063 ret = addrconf_fixup_forwarding(ctl, valp, val); in addrconf_sysctl_forward()
6070 int addrconf_sysctl_mtu(struct ctl_table *ctl, int write, in addrconf_sysctl_mtu() argument
6073 struct inet6_dev *idev = ctl->extra1; in addrconf_sysctl_mtu()
6077 lctl = *ctl; in addrconf_sysctl_mtu()
6142 int addrconf_sysctl_disable(struct ctl_table *ctl, int write, in addrconf_sysctl_disable() argument
6145 int *valp = ctl->data; in addrconf_sysctl_disable()
6155 lctl = *ctl; in addrconf_sysctl_disable()
6161 ret = addrconf_disable_ipv6(ctl, valp, val); in addrconf_sysctl_disable()
6168 int addrconf_sysctl_proxy_ndp(struct ctl_table *ctl, int write, in addrconf_sysctl_proxy_ndp() argument
6171 int *valp = ctl->data; in addrconf_sysctl_proxy_ndp()
6176 ret = proc_dointvec(ctl, write, buffer, lenp, ppos); in addrconf_sysctl_proxy_ndp()
6180 struct net *net = ctl->extra2; in addrconf_sysctl_proxy_ndp()
6196 struct inet6_dev *idev = ctl->extra1; in addrconf_sysctl_proxy_ndp()
6209 static int addrconf_sysctl_addr_gen_mode(struct ctl_table *ctl, int write, in addrconf_sysctl_addr_gen_mode() argument
6215 struct inet6_dev *idev = (struct inet6_dev *)ctl->extra1; in addrconf_sysctl_addr_gen_mode()
6216 struct net *net = (struct net *)ctl->extra2; in addrconf_sysctl_addr_gen_mode()
6220 .mode = ctl->mode, in addrconf_sysctl_addr_gen_mode()
6226 new_val = *((u32 *)ctl->data); in addrconf_sysctl_addr_gen_mode()
6248 } else if (&net->ipv6.devconf_all->addr_gen_mode == ctl->data) { in addrconf_sysctl_addr_gen_mode()
6262 *((u32 *)ctl->data) = new_val; in addrconf_sysctl_addr_gen_mode()
6271 static int addrconf_sysctl_stable_secret(struct ctl_table *ctl, int write, in addrconf_sysctl_stable_secret() argument
6278 struct ctl_table lctl = *ctl; in addrconf_sysctl_stable_secret()
6279 struct net *net = ctl->extra2; in addrconf_sysctl_stable_secret()
6280 struct ipv6_stable_secret *secret = ctl->data; in addrconf_sysctl_stable_secret()
6282 if (&net->ipv6.devconf_all->stable_secret == ctl->data) in addrconf_sysctl_stable_secret()
6314 if (&net->ipv6.devconf_dflt->stable_secret == ctl->data) { in addrconf_sysctl_stable_secret()
6326 struct inet6_dev *idev = ctl->extra1; in addrconf_sysctl_stable_secret()
6338 int addrconf_sysctl_ignore_routes_with_linkdown(struct ctl_table *ctl, in addrconf_sysctl_ignore_routes_with_linkdown() argument
6344 int *valp = ctl->data; in addrconf_sysctl_ignore_routes_with_linkdown()
6353 lctl = *ctl; in addrconf_sysctl_ignore_routes_with_linkdown()
6359 ret = addrconf_fixup_linkdown(ctl, valp, val); in addrconf_sysctl_ignore_routes_with_linkdown()
6407 int addrconf_disable_policy(struct ctl_table *ctl, int *valp, int val) in addrconf_disable_policy() argument
6417 net = (struct net *)ctl->extra2; in addrconf_disable_policy()
6432 idev = (struct inet6_dev *)ctl->extra1; in addrconf_disable_policy()
6441 int addrconf_sysctl_disable_policy(struct ctl_table *ctl, int write, in addrconf_sysctl_disable_policy() argument
6445 int *valp = ctl->data; in addrconf_sysctl_disable_policy()
6451 lctl = *ctl; in addrconf_sysctl_disable_policy()
6456 ret = addrconf_disable_policy(ctl, valp, val); in addrconf_sysctl_disable_policy()