Home
last modified time | relevance | path

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

/Linux-v5.4/net/ipv4/
Ddevinet.c94 IPV4_DEVCONF((*net->ipv4.devconf_dflt), attr)
262 memcpy(&in_dev->cnf, dev_net(dev)->ipv4.devconf_dflt, in inetdev_init()
2185 devconf = net->ipv4.devconf_dflt; in inet_netconf_get_devconf()
2289 net->ipv4.devconf_dflt, in inet_netconf_dump_devconf()
2317 in_dev->cnf.data[i] = net->ipv4.devconf_dflt->data[i]; in devinet_copy_dflt_conf()
2337 net->ipv4.devconf_dflt); in inet_forward_change()
2357 if (cnf == net->ipv4.devconf_dflt) in devinet_conf_ifindex()
2384 if (cnf == net->ipv4.devconf_dflt) in devinet_conf_proc()
2459 net->ipv4.devconf_dflt); in devinet_sysctl_forward()
2676 memcpy(dflt, init_net.ipv4.devconf_dflt, sizeof(ipv4_devconf_dflt)); in devinet_init_net()
[all …]
/Linux-v5.4/include/net/netns/
Dipv6.h59 struct ipv6_devconf *devconf_dflt; member
Dipv4.h52 struct ipv4_devconf *devconf_dflt; member
/Linux-v5.4/net/ipv6/
Daddrconf.c381 memcpy(&ndev->cnf, dev_net(dev)->ipv6.devconf_dflt, sizeof(ndev->cnf)); in ipv6_add_dev()
663 devconf = net->ipv6.devconf_dflt; in inet6_netconf_get_devconf()
771 net->ipv6.devconf_dflt, in inet6_netconf_dump_devconf()
852 if (p == &net->ipv6.devconf_dflt->forwarding) { in addrconf_fixup_forwarding()
857 net->ipv6.devconf_dflt); in addrconf_fixup_forwarding()
863 int old_dflt = net->ipv6.devconf_dflt->forwarding; in addrconf_fixup_forwarding()
865 net->ipv6.devconf_dflt->forwarding = newf; in addrconf_fixup_forwarding()
870 net->ipv6.devconf_dflt); in addrconf_fixup_forwarding()
920 if (p == &net->ipv6.devconf_dflt->ignore_routes_with_linkdown) { in addrconf_fixup_linkdown()
926 net->ipv6.devconf_dflt); in addrconf_fixup_linkdown()
[all …]