Lines Matching refs:ipv4

94 	IPV4_DEVCONF((*net->ipv4.devconf_dflt), attr)
262 memcpy(&in_dev->cnf, dev_net(dev)->ipv4.devconf_dflt,
626 struct sock *sk = net->ipv4.mc_autojoin_sk;
1727 NL_SET_ERR_MSG(extack, "ipv4: Invalid header for address dump request");
1733 NL_SET_ERR_MSG(extack, "ipv4: Invalid values in header for address dump request");
1760 NL_SET_ERR_MSG(extack, "ipv4: Invalid target network namespace id");
1765 NL_SET_ERR_MSG(extack, "ipv4: Unsupported attribute in dump request");
1852 cb->seq = atomic_read(&tgt_net->ipv4.dev_addr_genid) ^
2128 NL_SET_ERR_MSG(extack, "ipv4: Invalid header for netconf get request");
2151 NL_SET_ERR_MSG(extack, "ipv4: Unsupported attribute in netconf get request");
2183 devconf = net->ipv4.devconf_all;
2186 devconf = net->ipv4.devconf_dflt;
2235 NL_SET_ERR_MSG(extack, "ipv4: Invalid header for netconf dump request");
2240 NL_SET_ERR_MSG(extack, "ipv4: Invalid data after header in netconf dump request");
2252 cb->seq = atomic_read(&net->ipv4.dev_addr_genid) ^
2279 net->ipv4.devconf_all,
2290 net->ipv4.devconf_dflt,
2318 in_dev->cnf.data[i] = net->ipv4.devconf_dflt->data[i];
2334 net->ipv4.devconf_all);
2338 net->ipv4.devconf_dflt);
2358 if (cnf == net->ipv4.devconf_dflt)
2360 else if (cnf == net->ipv4.devconf_all)
2384 if (cnf == net->ipv4.devconf_dflt)
2458 net->ipv4.devconf_dflt);
2558 char path[sizeof("net/ipv4/conf/") + IFNAMSIZ];
2570 snprintf(path, sizeof(path), "net/ipv4/conf/%s", dev_name);
2674 memcpy(all, current->nsproxy->net_ns->ipv4.devconf_all,
2677 current->nsproxy->net_ns->ipv4.devconf_dflt,
2683 memcpy(all, init_net.ipv4.devconf_all,
2685 memcpy(dflt, init_net.ipv4.devconf_dflt,
2705 forw_hdr = register_net_sysctl(net, "net/ipv4", tbl);
2708 net->ipv4.forw_hdr = forw_hdr;
2711 net->ipv4.devconf_all = all;
2712 net->ipv4.devconf_dflt = dflt;
2736 tbl = net->ipv4.forw_hdr->ctl_table_arg;
2737 unregister_net_sysctl_table(net->ipv4.forw_hdr);
2738 __devinet_sysctl_unregister(net, net->ipv4.devconf_dflt,
2740 __devinet_sysctl_unregister(net, net->ipv4.devconf_all,
2744 kfree(net->ipv4.devconf_dflt);
2745 kfree(net->ipv4.devconf_all);