Lines Matching refs:ipv4

96 	IPV4_DEVCONF((*net->ipv4.devconf_dflt), attr)
272 memcpy(&in_dev->cnf, dev_net(dev)->ipv4.devconf_dflt,
512 NL_SET_ERR_MSG(extack, "ipv4: Invalid scope value");
629 struct sock *sk = net->ipv4.mc_autojoin_sk;
668 NL_SET_ERR_MSG(extack, "ipv4: Device not found");
693 NL_SET_ERR_MSG(extack, "ipv4: Address not found");
847 NL_SET_ERR_MSG(extack, "ipv4: Invalid prefix length");
852 NL_SET_ERR_MSG(extack, "ipv4: Local address is not supplied");
859 NL_SET_ERR_MSG(extack, "ipv4: Device not found");
913 NL_SET_ERR_MSG(extack, "ipv4: address lifetime invalid");
971 NL_SET_ERR_MSG(extack, "ipv4: Multicast auto join failed");
986 NL_SET_ERR_MSG(extack, "ipv4: Address already assigned");
1754 NL_SET_ERR_MSG(extack, "ipv4: Invalid header for address dump request");
1760 NL_SET_ERR_MSG(extack, "ipv4: Invalid values in header for address dump request");
1787 NL_SET_ERR_MSG(extack, "ipv4: Invalid target network namespace id");
1792 NL_SET_ERR_MSG(extack, "ipv4: Unsupported attribute in dump request");
1832 u32 res = atomic_read(&net->ipv4.dev_addr_genid) +
2171 NL_SET_ERR_MSG(extack, "ipv4: Invalid header for netconf get request");
2194 NL_SET_ERR_MSG(extack, "ipv4: Unsupported attribute in netconf get request");
2226 devconf = net->ipv4.devconf_all;
2229 devconf = net->ipv4.devconf_dflt;
2278 NL_SET_ERR_MSG(extack, "ipv4: Invalid header for netconf dump request");
2283 NL_SET_ERR_MSG(extack, "ipv4: Invalid data after header in netconf dump request");
2321 net->ipv4.devconf_all,
2332 net->ipv4.devconf_dflt,
2360 in_dev->cnf.data[i] = net->ipv4.devconf_dflt->data[i];
2376 net->ipv4.devconf_all);
2380 net->ipv4.devconf_dflt);
2400 if (cnf == net->ipv4.devconf_dflt)
2402 else if (cnf == net->ipv4.devconf_all)
2426 if (cnf == net->ipv4.devconf_dflt)
2504 net->ipv4.devconf_dflt);
2606 char path[sizeof("net/ipv4/conf/") + IFNAMSIZ];
2618 snprintf(path, sizeof(path), "net/ipv4/conf/%s", dev_name);
2722 memcpy(all, current->nsproxy->net_ns->ipv4.devconf_all,
2725 current->nsproxy->net_ns->ipv4.devconf_dflt,
2731 memcpy(all, init_net.ipv4.devconf_all,
2733 memcpy(dflt, init_net.ipv4.devconf_dflt,
2753 forw_hdr = register_net_sysctl_sz(net, "net/ipv4", tbl,
2757 net->ipv4.forw_hdr = forw_hdr;
2760 net->ipv4.devconf_all = all;
2761 net->ipv4.devconf_dflt = dflt;
2785 tbl = net->ipv4.forw_hdr->ctl_table_arg;
2786 unregister_net_sysctl_table(net->ipv4.forw_hdr);
2787 __devinet_sysctl_unregister(net, net->ipv4.devconf_dflt,
2789 __devinet_sysctl_unregister(net, net->ipv4.devconf_all,
2793 kfree(net->ipv4.devconf_dflt);
2794 kfree(net->ipv4.devconf_all);