/linux-3.4.99/net/netfilter/ |
D | nf_conntrack_timestamp.c | 27 .data = &init_net.ct.sysctl_tstamp, 93 if (net_eq(net, &init_net)) { in nf_conntrack_tstamp_init() 109 if (net_eq(net, &init_net)) in nf_conntrack_tstamp_init() 118 if (net_eq(net, &init_net)) in nf_conntrack_tstamp_fini()
|
D | nf_conntrack_acct.c | 30 .data = &init_net.ct.sysctl_acct, 111 if (net_eq(net, &init_net)) { in nf_conntrack_acct_init() 126 if (net_eq(net, &init_net)) in nf_conntrack_acct_init() 135 if (net_eq(net, &init_net)) in nf_conntrack_acct_fini()
|
D | nf_conntrack_ecache.c | 166 .data = &init_net.ct.sysctl_events, 173 .data = &init_net.ct.sysctl_events_retry_timeout, 242 if (net_eq(net, &init_net)) { in nf_conntrack_ecache_init() 258 if (net_eq(net, &init_net)) in nf_conntrack_ecache_init() 267 if (net_eq(net, &init_net)) in nf_conntrack_ecache_fini()
|
D | nf_conntrack_timeout.c | 44 if (net_eq(net, &init_net)) { in nf_conntrack_timeout_init() 58 if (net_eq(net, &init_net)) in nf_conntrack_timeout_fini()
|
D | nf_conntrack_standalone.c | 420 .data = &init_net.ct.count, 427 .data = &init_net.ct.htable_size, 434 .data = &init_net.ct.sysctl_checksum, 441 .data = &init_net.ct.sysctl_log_invalid, 480 if (net_eq(net, &init_net)) { in nf_conntrack_standalone_init_sysctl() 507 if (net_eq(net, &init_net)) in nf_conntrack_standalone_init_sysctl() 518 if (net_eq(net, &init_net)) in nf_conntrack_standalone_fini_sysctl()
|
/linux-3.4.99/net/ipv4/ |
D | sysctl_net_ipv4.c | 719 .data = &init_net.ipv4.sysctl_icmp_echo_ignore_all, 726 .data = &init_net.ipv4.sysctl_icmp_echo_ignore_broadcasts, 733 .data = &init_net.ipv4.sysctl_icmp_ignore_bogus_error_responses, 740 .data = &init_net.ipv4.sysctl_icmp_errors_use_inbound_ifaddr, 747 .data = &init_net.ipv4.sysctl_icmp_ratelimit, 754 .data = &init_net.ipv4.sysctl_icmp_ratemask, 761 .data = &init_net.ipv4.sysctl_rt_cache_rebuild_count, 768 .data = &init_net.ipv4.sysctl_ping_group_range, 769 .maxlen = sizeof(init_net.ipv4.sysctl_ping_group_range), 775 .maxlen = sizeof(init_net.ipv4.sysctl_tcp_mem), [all …]
|
/linux-3.4.99/include/linux/ |
D | seq_file_net.h | 7 extern struct net init_net; 26 return &init_net; in seq_file_net()
|
/linux-3.4.99/net/decnet/ |
D | dn_dev.c | 437 dev_load(&init_net, ifr->ifr_name); in dn_dev_ioctl() 454 if ((dev = __dev_get_by_name(&init_net, ifr->ifr_name)) == NULL) { in dn_dev_ioctl() 563 dev = __dev_get_by_index(&init_net, ifindex); in dn_dev_by_index() 587 if (!net_eq(net, &init_net)) in dn_nl_deladdr() 628 if (!net_eq(net, &init_net)) in dn_nl_newaddr() 639 if ((dev = __dev_get_by_index(&init_net, ifm->ifa_index)) == NULL) in dn_nl_newaddr() 727 rtnl_notify(skb, &init_net, 0, RTNLGRP_DECnet_IFADDR, NULL, GFP_KERNEL); in dn_ifaddr_notify() 731 rtnl_set_sk_err(&init_net, RTNLGRP_DECnet_IFADDR, err); in dn_ifaddr_notify() 742 if (!net_eq(net, &init_net)) in dn_nl_dump_ifaddr() 750 for_each_netdev_rcu(&init_net, dev) { in dn_nl_dump_ifaddr() [all …]
|
D | dn_route.c | 604 if (!net_eq(dev_net(dev), &init_net)) in dn_route_rcv() 931 .flowidn_iif = init_net.loopback_dev->ifindex, in dn_route_output_slow() 949 oldflp->flowidn_mark, init_net.loopback_dev->ifindex, in dn_route_output_slow() 954 dev_out = dev_get_by_index(&init_net, oldflp->flowidn_oif); in dn_route_output_slow() 975 for_each_netdev_rcu(&init_net, dev) { in dn_route_output_slow() 1003 dev_out = init_net.loopback_dev; in dn_route_output_slow() 1012 fld.flowidn_oif = init_net.loopback_dev->ifindex; in dn_route_output_slow() 1045 neigh = neigh_lookup_nodev(&dn_neigh_table, &init_net, &fld.daddr); in dn_route_output_slow() 1058 dev_out = init_net.loopback_dev; in dn_route_output_slow() 1079 dev_out = init_net.loopback_dev; in dn_route_output_slow() [all …]
|
/linux-3.4.99/net/core/ |
D | net_namespace.c | 28 struct net init_net = { variable 29 .dev_base_head = LIST_HEAD_INIT(init_net.dev_base_head), 31 EXPORT_SYMBOL(init_net); 400 rcu_assign_pointer(init_net.gen, ng); in net_ns_init() 403 if (setup_net(&init_net)) in net_ns_init() 407 list_add_tail_rcu(&init_net.list, &net_namespace_list); in net_ns_init() 461 return ops_init(ops, &init_net); in __register_pernet_operations() 467 list_add(&init_net.exit_list, &net_exit_list); in __unregister_pernet_operations()
|
D | netprio_cgroup.c | 114 for_each_netdev(&init_net, dev) { in update_netdev_tables() 155 for_each_netdev(&init_net, dev) { in cgrp_destroy() 179 for_each_netdev_rcu(&init_net, dev) { in read_priomap() 232 dev = dev_get_by_name(&init_net, devname); in write_priomap() 326 for_each_netdev(&init_net, dev) { in exit_cgroup_netprio()
|
/linux-3.4.99/net/irda/ |
D | irproc.c | 69 proc_irda = proc_mkdir("irda", init_net.proc_net); in irda_proc_register() 92 remove_proc_entry("irda", init_net.proc_net); in irda_proc_unregister()
|
/linux-3.4.99/drivers/infiniband/core/ |
D | addr.c | 112 dev = dev_get_by_index(&init_net, dev_addr->bound_dev_if); in rdma_translate_ip() 122 dev = ip_dev_find(&init_net, in rdma_translate_ip() 135 for_each_netdev_rcu(&init_net, dev) { in rdma_translate_ip() 136 if (ipv6_chk_addr(&init_net, in rdma_translate_ip() 218 rt = ip_route_output_key(&init_net, &fl4); in addr4_resolve() 260 dst = ip6_route_output(&init_net, NULL, &fl6); in addr6_resolve() 265 ret = ipv6_dev_get_saddr(&init_net, ip6_dst_idev(dst)->dev, in addr6_resolve()
|
/linux-3.4.99/fs/afs/ |
D | netdevices.c | 26 dev = __dev_getfirstbyhwtype(&init_net, ARPHRD_ETHER); in afs_get_MAC_address() 50 for_each_netdev(&init_net, dev) { in afs_get_ipv4_interfaces()
|
/linux-3.4.99/fs/nfs/ |
D | callback.c | 109 ret = svc_create_xprt(serv, "tcp", &init_net, PF_INET, in nfs4_callback_up() 117 ret = svc_create_xprt(serv, "tcp", &init_net, PF_INET6, in nfs4_callback_up() 186 ret = svc_create_xprt(serv, "tcp-bc", &init_net, PF_INET, 0, in nfs41_callback_up() 256 struct net *net = &init_net; in nfs_callback_up() 332 svc_shutdown_net(cb_info->serv, &init_net); in nfs_callback_down()
|
/linux-3.4.99/fs/nfsd/ |
D | stats.c | 98 svc_proc_register(&init_net, &nfsd_svcstats, &nfsd_proc_fops); in nfsd_stat_init() 104 svc_proc_unregister(&init_net, "nfsd"); in nfsd_stat_shutdown()
|
/linux-3.4.99/net/dccp/ |
D | probe.c | 174 if (!proc_net_fops_create(&init_net, procname, S_IRUSR, &dccpprobe_fops)) in dccpprobe_init() 184 proc_net_remove(&init_net, procname); in dccpprobe_init() 194 proc_net_remove(&init_net, procname); in dccpprobe_exit()
|
/linux-3.4.99/net/sctp/ |
D | probe.c | 190 if (!proc_net_fops_create(&init_net, procname, S_IRUSR, in sctpprobe_init() 203 proc_net_remove(&init_net, procname); in sctpprobe_init() 212 proc_net_remove(&init_net, procname); in sctpprobe_exit()
|
/linux-3.4.99/drivers/isdn/hardware/eicon/ |
D | diva_didd.c | 96 proc_net_eicon = proc_mkdir("eicon", init_net.proc_net); in create_proc() 109 remove_proc_entry("eicon", init_net.proc_net); in remove_proc()
|
/linux-3.4.99/net/ipv4/netfilter/ |
D | ip_queue.c | 475 if (!net_eq(dev_net(dev), &init_net)) in ipq_rcv_dev_event() 496 if ((net_eq(n->net, &init_net)) && (n->pid == peer_pid)) in ipq_rcv_nl_event() 572 ipqnl = netlink_kernel_create(&init_net, NETLINK_FIREWALL, 0, in ip_queue_init() 580 proc = proc_create(IPQ_PROC_FS_NAME, 0, init_net.proc_net, in ip_queue_init() 603 proc_net_remove(&init_net, IPQ_PROC_FS_NAME); in ip_queue_init() 624 proc_net_remove(&init_net, IPQ_PROC_FS_NAME); in ip_queue_fini()
|
/linux-3.4.99/net/ipv6/netfilter/ |
D | ip6_queue.c | 477 if (!net_eq(dev_net(dev), &init_net)) in ipq_rcv_dev_event() 498 if ((net_eq(n->net, &init_net)) && (n->pid == peer_pid)) in ipq_rcv_nl_event() 574 ipqnl = netlink_kernel_create(&init_net, NETLINK_IP6_FW, 0, in ip6_queue_init() 582 proc = proc_create(IPQ_PROC_FS_NAME, 0, init_net.proc_net, in ip6_queue_init() 605 proc_net_remove(&init_net, IPQ_PROC_FS_NAME); in ip6_queue_init() 627 proc_net_remove(&init_net, IPQ_PROC_FS_NAME); in ip6_queue_fini()
|
/linux-3.4.99/net/can/ |
D | raw.c | 238 if (!net_eq(dev_net(dev), &init_net)) in raw_notifier() 322 dev = dev_get_by_index(&init_net, ro->ifindex); in raw_release() 367 dev = dev_get_by_index(&init_net, addr->can_ifindex); in raw_bind() 398 dev = dev_get_by_index(&init_net, ro->ifindex); in raw_bind() 477 dev = dev_get_by_index(&init_net, ro->ifindex); in raw_setsockopt() 529 dev = dev_get_by_index(&init_net, ro->ifindex); in raw_setsockopt() 668 dev = dev_get_by_index(&init_net, ifindex); in raw_sendmsg()
|
/linux-3.4.99/net/l2tp/ |
D | l2tp_ip.c | 151 session = l2tp_session_find(&init_net, NULL, session_id); in l2tp_ip_recv() 188 tunnel = l2tp_tunnel_find(&init_net, tunnel_id); in l2tp_ip_recv() 195 sk = __l2tp_ip_bind_lookup(&init_net, iph->daddr, 0, tunnel_id); in l2tp_ip_recv() 266 …if (__l2tp_ip_bind_lookup(&init_net, addr->l2tp_addr.s_addr, sk->sk_bound_dev_if, addr->l2tp_conn_… in l2tp_ip_bind() 275 chk_addr_ret = inet_addr_type(&init_net, addr->l2tp_addr.s_addr); in l2tp_ip_bind() 344 IP_INC_STATS_BH(&init_net, IPSTATS_MIB_OUTNOROUTES); in l2tp_ip_connect() 423 IP_INC_STATS(&init_net, IPSTATS_MIB_INDISCARDS); in l2tp_ip_backlog_recv()
|
/linux-3.4.99/drivers/connector/ |
D | connector.c | 261 dev->nls = netlink_kernel_create(&init_net, NETLINK_CONNECTOR, in cn_init() 275 proc_net_fops_create(&init_net, "connector", S_IRUGO, &cn_file_ops); in cn_init() 286 proc_net_remove(&init_net, "connector"); in cn_fini()
|
/linux-3.4.99/drivers/staging/rtl8192u/ieee80211/ |
D | ieee80211_module.c | 285 ieee80211_proc = proc_mkdir(DRV_NAME, init_net.proc_net); in ieee80211_debug_init() 294 remove_proc_entry(DRV_NAME, init_net.proc_net); in ieee80211_debug_init() 309 remove_proc_entry(DRV_NAME, init_net.proc_net); in ieee80211_debug_exit()
|