Home
last modified time | relevance | path

Searched defs:net (Results 1 – 25 of 364) sorted by relevance

12345678910>>...15

/linux-3.3/include/net/
Dnet_namespace.h37 struct net { struct
38 atomic_t passive; /* To decided when the network argument
41 atomic_t count; /* To decided when the network argument
51 struct list_head list; /* list of network namespaces */ argument
53 struct list_head exit_list; /* Use only net_mutex */ argument
55 struct proc_dir_entry *proc_net; argument
56 struct proc_dir_entry *proc_net_stat; argument
62 struct sock *rtnl; /* rtnetlink socket */ argument
74 struct net_device *loopback_dev; /* The loopback */ argument
75 struct netns_core core; argument
[all …]
Dwext.h17 static inline int wext_handle_ioctl(struct net *net, struct ifreq *ifr, unsigned int cmd, in wext_handle_ioctl()
22 static inline int compat_wext_handle_ioctl(struct net *net, unsigned int cmd, in compat_wext_handle_ioctl()
33 static inline int wext_proc_init(struct net *net) in wext_proc_init()
37 static inline void wext_proc_exit(struct net *net) in wext_proc_exit()
Dicmp.h32 #define ICMP_INC_STATS(net, field) SNMP_INC_STATS((net)->mib.icmp_statistics, field) argument
33 #define ICMP_INC_STATS_BH(net, field) SNMP_INC_STATS_BH((net)->mib.icmp_statistics, field) argument
34 #define ICMPMSGOUT_INC_STATS(net, field) SNMP_INC_STATS_ATOMIC_LONG((net)->mib.icmpmsg_statistics, … argument
35 #define ICMPMSGIN_INC_STATS_BH(net, field) SNMP_INC_STATS_ATOMIC_LONG((net)->mib.icmpmsg_statistics… argument
/linux-3.3/net/netfilter/
Dnf_conntrack_ecache.c34 struct net *net = nf_ct_net(ct); in nf_ct_deliver_cached_events() local
81 int nf_conntrack_register_notifier(struct net *net, in nf_conntrack_register_notifier()
104 void nf_conntrack_unregister_notifier(struct net *net, in nf_conntrack_unregister_notifier()
118 int nf_ct_expect_register_notifier(struct net *net, in nf_ct_expect_register_notifier()
141 void nf_ct_expect_unregister_notifier(struct net *net, in nf_ct_expect_unregister_notifier()
186 static int nf_conntrack_event_init_sysctl(struct net *net) in nf_conntrack_event_init_sysctl()
213 static void nf_conntrack_event_fini_sysctl(struct net *net) in nf_conntrack_event_fini_sysctl()
222 static int nf_conntrack_event_init_sysctl(struct net *net) in nf_conntrack_event_init_sysctl()
227 static void nf_conntrack_event_fini_sysctl(struct net *net) in nf_conntrack_event_fini_sysctl()
232 int nf_conntrack_ecache_init(struct net *net) in nf_conntrack_ecache_init()
[all …]
Dnf_conntrack_timestamp.c43 static int nf_conntrack_tstamp_init_sysctl(struct net *net) in nf_conntrack_tstamp_init_sysctl()
68 static void nf_conntrack_tstamp_fini_sysctl(struct net *net) in nf_conntrack_tstamp_fini_sysctl()
77 static int nf_conntrack_tstamp_init_sysctl(struct net *net) in nf_conntrack_tstamp_init_sysctl()
82 static void nf_conntrack_tstamp_fini_sysctl(struct net *net) in nf_conntrack_tstamp_fini_sysctl()
87 int nf_conntrack_tstamp_init(struct net *net) in nf_conntrack_tstamp_init()
115 void nf_conntrack_tstamp_fini(struct net *net) in nf_conntrack_tstamp_fini()
Dnf_conntrack_acct.c61 static int nf_conntrack_acct_init_sysctl(struct net *net) in nf_conntrack_acct_init_sysctl()
86 static void nf_conntrack_acct_fini_sysctl(struct net *net) in nf_conntrack_acct_fini_sysctl()
95 static int nf_conntrack_acct_init_sysctl(struct net *net) in nf_conntrack_acct_init_sysctl()
100 static void nf_conntrack_acct_fini_sysctl(struct net *net) in nf_conntrack_acct_fini_sysctl()
105 int nf_conntrack_acct_init(struct net *net) in nf_conntrack_acct_init()
132 void nf_conntrack_acct_fini(struct net *net) in nf_conntrack_acct_fini()
Dnf_conntrack_standalone.c55 struct net *net = seq_file_net(seq); in ct_get_first() local
72 struct net *net = seq_file_net(seq); in ct_get_next() local
274 struct net *net = seq_file_net(seq); in ct_cpu_seq_start() local
292 struct net *net = seq_file_net(seq); in ct_cpu_seq_next() local
311 struct net *net = seq_file_net(seq); in ct_cpu_seq_show() local
365 static int nf_conntrack_standalone_init_proc(struct net *net) in nf_conntrack_standalone_init_proc()
385 static void nf_conntrack_standalone_fini_proc(struct net *net) in nf_conntrack_standalone_fini_proc()
391 static int nf_conntrack_standalone_init_proc(struct net *net) in nf_conntrack_standalone_init_proc()
396 static void nf_conntrack_standalone_fini_proc(struct net *net) in nf_conntrack_standalone_fini_proc()
476 static int nf_conntrack_standalone_init_sysctl(struct net *net) in nf_conntrack_standalone_init_sysctl()
[all …]
Dnf_conntrack_core.c91 static u32 hash_bucket(u32 hash, const struct net *net) in hash_bucket()
102 static inline u_int32_t hash_conntrack(const struct net *net, u16 zone, in hash_conntrack()
193 struct net *net = nf_ct_net(ct); in destroy_conntrack() local
235 struct net *net = nf_ct_net(ct); in nf_ct_delete_from_lists() local
250 struct net *net = nf_ct_net(ct); in death_by_event() local
269 struct net *net = nf_ct_net(ct); in nf_ct_insert_dying_list() local
313 ____nf_conntrack_find(struct net *net, u16 zone, in ____nf_conntrack_find()
349 __nf_conntrack_find(struct net *net, u16 zone, in __nf_conntrack_find()
359 __nf_conntrack_find_get(struct net *net, u16 zone, in __nf_conntrack_find_get()
387 nf_conntrack_find_get(struct net *net, u16 zone, in nf_conntrack_find_get()
[all …]
Dnfnetlink.c100 int nfnetlink_has_listeners(struct net *net, unsigned int group) in nfnetlink_has_listeners()
106 int nfnetlink_send(struct sk_buff *skb, struct net *net, u32 pid, in nfnetlink_send()
113 int nfnetlink_set_err(struct net *net, u32 pid, u32 group, int error) in nfnetlink_set_err()
119 int nfnetlink_unicast(struct sk_buff *skb, struct net *net, u_int32_t pid, int flags) in nfnetlink_unicast()
128 struct net *net = sock_net(skb->sk); in nfnetlink_rcv_msg() local
204 static int __net_init nfnetlink_net_init(struct net *net) in nfnetlink_net_init()
219 struct net *net; in nfnetlink_net_exit_batch() local
/linux-3.3/net/core/
Dnet_namespace.c47 static int net_assign_generic(struct net *net, int id, void *data) in net_assign_generic()
84 static int ops_init(const struct pernet_operations *ops, struct net *net) in ops_init()
103 static void ops_free(const struct pernet_operations *ops, struct net *net) in ops_free()
114 struct net *net; in ops_exit_list() local
126 struct net *net; in ops_free_list() local
136 static __net_init int setup_net(struct net *net) in setup_net()
183 struct net *net = NULL; in net_alloc() local
203 static void net_free(struct net *net) in net_free()
225 struct net *net; in copy_net_ns() local
255 struct net *net, *tmp; in cleanup_net() local
[all …]
/linux-3.3/fs/proc/
Dproc_net.c38 struct net *net; in seq_open_net() local
63 struct net *net; in single_open_net() local
107 struct net *net = NULL; in get_proc_task_net() local
125 struct net *net; in proc_tgid_net_lookup() local
140 struct net *net; in proc_tgid_net_getattr() local
163 struct net *net; in proc_tgid_net_readdir() local
181 struct proc_dir_entry *proc_net_fops_create(struct net *net, in proc_net_fops_create()
188 void proc_net_remove(struct net *net, const char *name) in proc_net_remove()
194 static __net_init int proc_net_ns_init(struct net *net) in proc_net_ns_init()
225 static __net_exit void proc_net_ns_exit(struct net *net) in proc_net_ns_exit()
/linux-3.3/drivers/net/hyperv/
Dnetvsc_drv.c56 struct net_device *net; member
63 struct net_device *net = swk->net; in do_set_multicast() local
90 static void netvsc_set_multicast_list(struct net_device *net) in netvsc_set_multicast_list()
102 static int netvsc_open(struct net_device *net) in netvsc_open()
120 static int netvsc_close(struct net_device *net) in netvsc_close()
147 static int netvsc_start_xmit(struct sk_buff *skb, struct net_device *net) in netvsc_start_xmit()
238 struct net_device *net; in netvsc_linkstatus_callback() local
270 struct net_device *net = dev_get_drvdata(&device_obj->device); in netvsc_recv_callback() local
313 static void netvsc_get_drvinfo(struct net_device *net, in netvsc_get_drvinfo()
379 struct net_device *net; in netvsc_send_garp() local
[all …]
/linux-3.3/net/ipv4/
Dfib_frontend.c51 static int __net_init fib4_rules_init(struct net *net) in fib4_rules_init()
75 struct fib_table *fib_new_table(struct net *net, u32 id) in fib_new_table()
94 struct fib_table *fib_get_table(struct net *net, u32 id) in fib_get_table()
118 static void fib_flush(struct net *net) in fib_flush()
140 static inline unsigned __inet_dev_addr_type(struct net *net, in __inet_dev_addr_type()
171 unsigned int inet_addr_type(struct net *net, __be32 addr) in inet_addr_type()
177 unsigned int inet_dev_addr_type(struct net *net, const struct net_device *dev, in inet_dev_addr_type()
202 struct net *net; in fib_validate_source() local
299 static int rtentry_to_fib_config(struct net *net, int cmd, struct rtentry *rt, in rtentry_to_fib_config()
431 int ip_rt_ioctl(struct net *net, unsigned int cmd, void __user *arg) in ip_rt_ioctl()
[all …]
Dipmr.c77 struct net *net; member
138 #define ipmr_for_each_table(mrt, net) \ argument
141 static struct mr_table *ipmr_get_table(struct net *net, u32 id) in ipmr_get_table()
152 static int ipmr_fib_lookup(struct net *net, struct flowi4 *flp4, in ipmr_fib_lookup()
237 static int __net_init ipmr_rules_init(struct net *net) in ipmr_rules_init()
269 static void __net_exit ipmr_rules_exit(struct net *net) in ipmr_rules_exit()
280 #define ipmr_for_each_table(mrt, net) \ argument
283 static struct mr_table *ipmr_get_table(struct net *net, u32 id) in ipmr_get_table()
288 static int ipmr_fib_lookup(struct net *net, struct flowi4 *flp4, in ipmr_fib_lookup()
295 static int __net_init ipmr_rules_init(struct net *net) in ipmr_rules_init()
[all …]
Dproc.c54 struct net *net = seq->private; in sockstat_seq_show() local
286 struct net *net = seq->private; in icmpmsg_put() local
308 struct net *net = seq->private; in icmp_put() local
337 struct net *net = seq->private; in snmp_seq_show() local
421 struct net *net = seq->private; in netstat_seq_show() local
461 static __net_init int ip_proc_init_net(struct net *net) in ip_proc_init_net()
480 static __net_exit void ip_proc_exit_net(struct net *net) in ip_proc_exit_net()
/linux-3.3/include/net/netfilter/
Dnf_conntrack_timestamp.h29 struct net *net = nf_ct_net(ct); in nf_ct_tstamp_ext_add() local
40 static inline bool nf_ct_tstamp_enabled(struct net *net) in nf_ct_tstamp_enabled()
45 static inline void nf_ct_set_tstamp(struct net *net, bool enable) in nf_ct_set_tstamp()
54 static inline int nf_conntrack_tstamp_init(struct net *net) in nf_conntrack_tstamp_init()
59 static inline void nf_conntrack_tstamp_fini(struct net *net) in nf_conntrack_tstamp_fini()
/linux-3.3/net/xfrm/
Dxfrm_sysctl.c6 static void __net_init __xfrm_sysctl_init(struct net *net) in __xfrm_sysctl_init()
43 int __net_init xfrm_sysctl_init(struct net *net) in xfrm_sysctl_init()
68 void __net_exit xfrm_sysctl_fini(struct net *net) in xfrm_sysctl_fini()
77 int __net_init xfrm_sysctl_init(struct net *net) in xfrm_sysctl_init()
Dxfrm_policy.c97 static inline struct dst_entry *__xfrm_dst_lookup(struct net *net, int tos, in __xfrm_dst_lookup()
121 struct net *net = xs_net(x); in xfrm_dst_lookup() local
259 struct xfrm_policy *xfrm_policy_alloc(struct net *net, gfp_t gfp) in xfrm_policy_alloc()
312 static inline unsigned int idx_hash(struct net *net, u32 index) in idx_hash()
317 static struct hlist_head *policy_hash_bysel(struct net *net, in policy_hash_bysel()
329 static struct hlist_head *policy_hash_direct(struct net *net, in policy_hash_direct()
392 static void xfrm_bydst_resize(struct net *net, int dir) in xfrm_bydst_resize()
417 static void xfrm_byidx_resize(struct net *net, int total) in xfrm_byidx_resize()
442 static inline int xfrm_bydst_should_resize(struct net *net, int dir, int *total) in xfrm_bydst_should_resize()
457 static inline int xfrm_byidx_should_resize(struct net *net, int total) in xfrm_byidx_should_resize()
[all …]
/linux-3.3/net/ipv6/
Dreassembly.c88 int ip6_frag_nqueues(struct net *net) in ip6_frag_nqueues()
93 int ip6_frag_mem(struct net *net) in ip6_frag_mem()
176 static void ip6_evictor(struct net *net, struct inet6_dev *idev) in ip6_evictor()
189 struct net *net; in ip6_frag_expire() local
228 fq_find(struct net *net, __be32 id, const struct in6_addr *src, const struct in6_addr *dst) in fq_find()
255 struct net *net = dev_net(skb_dst(skb)->dev); in ip6_frag_queue() local
414 struct net *net = container_of(fq->q.net, struct net, ipv6.frags); in ip6_frag_reasm() local
540 struct net *net = dev_net(skb_dst(skb)->dev); in ipv6_frag_rcv() local
634 static int __net_init ip6_frags_ns_sysctl_register(struct net *net) in ip6_frags_ns_sysctl_register()
664 static void __net_exit ip6_frags_ns_sysctl_unregister(struct net *net) in ip6_frags_ns_sysctl_unregister()
[all …]
Dip6mr.c60 struct net *net; member
125 #define ip6mr_for_each_table(mrt, net) \ argument
128 static struct mr6_table *ip6mr_get_table(struct net *net, u32 id) in ip6mr_get_table()
139 static int ip6mr_fib_lookup(struct net *net, struct flowi6 *flp6, in ip6mr_fib_lookup()
224 static int __net_init ip6mr_rules_init(struct net *net) in ip6mr_rules_init()
256 static void __net_exit ip6mr_rules_exit(struct net *net) in ip6mr_rules_exit()
267 #define ip6mr_for_each_table(mrt, net) \ argument
270 static struct mr6_table *ip6mr_get_table(struct net *net, u32 id) in ip6mr_get_table()
275 static int ip6mr_fib_lookup(struct net *net, struct flowi6 *flp6, in ip6mr_fib_lookup()
282 static int __net_init ip6mr_rules_init(struct net *net) in ip6mr_rules_init()
[all …]
Dxfrm6_tunnel.c49 static inline struct xfrm6_tunnel_net *xfrm6_tunnel_pernet(struct net *net) in xfrm6_tunnel_pernet()
88 static struct xfrm6_tunnel_spi *__xfrm6_tunnel_spi_lookup(struct net *net, const xfrm_address_t *sa… in __xfrm6_tunnel_spi_lookup()
104 __be32 xfrm6_tunnel_spi_lookup(struct net *net, const xfrm_address_t *saddr) in xfrm6_tunnel_spi_lookup()
118 static int __xfrm6_tunnel_spi_check(struct net *net, u32 spi) in __xfrm6_tunnel_spi_check()
134 static u32 __xfrm6_tunnel_alloc_spi(struct net *net, xfrm_address_t *saddr) in __xfrm6_tunnel_alloc_spi()
177 __be32 xfrm6_tunnel_alloc_spi(struct net *net, xfrm_address_t *saddr) in xfrm6_tunnel_alloc_spi()
202 static void xfrm6_tunnel_free_spi(struct net *net, xfrm_address_t *saddr) in xfrm6_tunnel_free_spi()
239 struct net *net = dev_net(skb->dev); in xfrm6_tunnel_rcv() local
303 struct net *net = xs_net(x); in xfrm6_tunnel_destroy() local
330 static int __net_init xfrm6_tunnel_net_init(struct net *net) in xfrm6_tunnel_net_init()
[all …]
Dip6_fib.c62 struct net *net; member
167 static void fib6_link_table(struct net *net, struct fib6_table *tb) in fib6_link_table()
188 static struct fib6_table *fib6_alloc_table(struct net *net, u32 id) in fib6_alloc_table()
202 struct fib6_table *fib6_new_table(struct net *net, u32 id) in fib6_new_table()
219 struct fib6_table *fib6_get_table(struct net *net, u32 id) in fib6_get_table()
242 static void __net_init fib6_tables_init(struct net *net) in fib6_tables_init()
249 struct fib6_table *fib6_new_table(struct net *net, u32 id) in fib6_new_table()
254 struct fib6_table *fib6_get_table(struct net *net, u32 id) in fib6_get_table()
259 struct dst_entry *fib6_rule_lookup(struct net *net, struct flowi6 *fl6, in fib6_rule_lookup()
265 static void __net_init fib6_tables_init(struct net *net) in fib6_tables_init()
[all …]
Droute.c333 static inline struct rt6_info *rt6_device_match(struct net *net, in rt6_device_match()
524 struct net *net; in rt6_select() local
552 struct net *net = dev_net(dev); in rt6_route_rcv() local
640 static struct rt6_info *ip6_pol_route_lookup(struct net *net, in ip6_pol_route_lookup()
660 struct dst_entry * ip6_route_lookup(struct net *net, struct flowi6 *fl6, in ip6_route_lookup()
667 struct rt6_info *rt6_lookup(struct net *net, const struct in6_addr *daddr, in rt6_lookup()
753 struct net *net = dev_net(rt->dst.dev); in rt6_alloc_cow() local
795 static struct rt6_info *ip6_pol_route(struct net *net, struct fib6_table *table, int oif, in ip6_pol_route()
865 static struct rt6_info *ip6_pol_route_input(struct net *net, struct fib6_table *table, in ip6_pol_route_input()
874 struct net *net = dev_net(skb->dev); in ip6_route_input() local
[all …]
Dip6_flowlabel.c67 static inline struct ip6_flowlabel *__fl_lookup(struct net *net, __be32 label) in __fl_lookup()
78 static struct ip6_flowlabel *fl_lookup(struct net *net, __be32 label) in fl_lookup()
159 static void __net_exit ip6_fl_purge(struct net *net) in ip6_fl_purge()
181 static struct ip6_flowlabel *fl_intern(struct net *net, in fl_intern()
326 fl_create(struct net *net, struct sock *sk, struct in6_flowlabel_req *freq, in fl_create()
476 struct net *net = sock_net(sk); in ipv6_flowlabel_opt() local
632 struct net *net = seq_file_net(seq); in ip6fl_get_first() local
648 struct net *net = seq_file_net(seq); in ip6fl_get_next() local
741 static int __net_init ip6_flowlabel_proc_init(struct net *net) in ip6_flowlabel_proc_init()
749 static void __net_exit ip6_flowlabel_proc_fini(struct net *net) in ip6_flowlabel_proc_fini()
[all …]
/linux-3.3/net/netfilter/ipvs/
Dip_vs_ctl.c79 static int __ip_vs_addr_is_local_v6(struct net *net, in __ip_vs_addr_is_local_v6()
269 ip_vs_svc_hashkey(struct net *net, int af, unsigned proto, in ip_vs_svc_hashkey()
289 static inline unsigned ip_vs_svc_fwm_hashkey(struct net *net, __u32 fwmark) in ip_vs_svc_fwm_hashkey()
361 __ip_vs_service_find(struct net *net, int af, __u16 protocol, in __ip_vs_service_find()
389 __ip_vs_svc_fwm_find(struct net *net, int af, __u32 fwmark) in __ip_vs_svc_fwm_find()
409 ip_vs_service_get(struct net *net, int af, __u32 fwmark, __u16 protocol, in ip_vs_service_get()
553 ip_vs_lookup_real_service(struct net *net, int af, __u16 protocol, in ip_vs_lookup_real_service()
618 struct ip_vs_dest *ip_vs_find_dest(struct net *net, int af, in ip_vs_find_dest()
712 static void ip_vs_trash_cleanup(struct net *net) in ip_vs_trash_cleanup()
1016 static void __ip_vs_del_dest(struct net *net, struct ip_vs_dest *dest) in __ip_vs_del_dest()
[all …]

12345678910>>...15