• Home
  • Raw
  • Download

Lines Matching refs:cnf

262 	memcpy(&in_dev->cnf, dev_net(dev)->ipv4.devconf_dflt,  in inetdev_init()
263 sizeof(in_dev->cnf)); in inetdev_init()
264 in_dev->cnf.sysctl = NULL; in inetdev_init()
269 if (IPV4_DEVCONF(in_dev->cnf, FORWARDING)) in inetdev_init()
1944 ((u32 *) nla_data(nla))[i] = in_dev->cnf.data[i]; in inet_fill_link_af()
2195 devconf = &in_dev->cnf; in inet_netconf_get_devconf()
2262 &in_dev->cnf, in inet_netconf_dump_devconf()
2317 if (in_dev && !test_bit(i, in_dev->cnf.state)) in devinet_copy_dflt_conf()
2318 in_dev->cnf.data[i] = net->ipv4.devconf_dflt->data[i]; in devinet_copy_dflt_conf()
2351 dev->ifindex, &in_dev->cnf); in inet_forward_change()
2356 static int devinet_conf_ifindex(struct net *net, struct ipv4_devconf *cnf) in devinet_conf_ifindex() argument
2358 if (cnf == net->ipv4.devconf_dflt) in devinet_conf_ifindex()
2360 else if (cnf == net->ipv4.devconf_all) in devinet_conf_ifindex()
2364 = container_of(cnf, struct in_device, cnf); in devinet_conf_ifindex()
2377 struct ipv4_devconf *cnf = ctl->extra1; in devinet_conf_proc() local
2379 int i = (int *)ctl->data - cnf->data; in devinet_conf_proc()
2382 set_bit(i, cnf->state); in devinet_conf_proc()
2384 if (cnf == net->ipv4.devconf_dflt) in devinet_conf_proc()
2397 ifindex = devinet_conf_ifindex(net, cnf); in devinet_conf_proc()
2400 ifindex, cnf); in devinet_conf_proc()
2404 ifindex = devinet_conf_ifindex(net, cnf); in devinet_conf_proc()
2407 ifindex, cnf); in devinet_conf_proc()
2411 ifindex = devinet_conf_ifindex(net, cnf); in devinet_conf_proc()
2414 ifindex, cnf); in devinet_conf_proc()
2442 struct ipv4_devconf *cnf = ctl->extra1; in devinet_sysctl_forward() local
2444 container_of(cnf, struct in_device, cnf); in devinet_sysctl_forward()
2450 cnf); in devinet_sysctl_forward()
2589 struct ipv4_devconf *cnf, int ifindex) in __devinet_sysctl_unregister() argument
2591 struct devinet_sysctl_table *t = cnf->sysctl; in __devinet_sysctl_unregister()
2594 cnf->sysctl = NULL; in __devinet_sysctl_unregister()
2613 idev->dev->ifindex, &idev->cnf); in devinet_sysctl_register()
2623 __devinet_sysctl_unregister(net, &idev->cnf, idev->dev->ifindex); in devinet_sysctl_unregister()