Home
last modified time | relevance | path

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

12345678910>>...21

/net/tipc/
Dbcast.c76 static struct tipc_bc_base *tipc_bc_base(struct net *net) in tipc_bc_base()
85 int tipc_bcast_get_mtu(struct net *net) in tipc_bcast_get_mtu()
90 void tipc_bcast_disable_rcast(struct net *net) in tipc_bcast_disable_rcast()
95 static void tipc_bcbase_calc_bc_threshold(struct net *net) in tipc_bcbase_calc_bc_threshold()
106 static void tipc_bcbase_select_primary(struct net *net) in tipc_bcbase_select_primary()
140 void tipc_bcast_inc_bearer_dst_cnt(struct net *net, int bearer_id) in tipc_bcast_inc_bearer_dst_cnt()
150 void tipc_bcast_dec_bearer_dst_cnt(struct net *net, int bearer_id) in tipc_bcast_dec_bearer_dst_cnt()
170 static void tipc_bcbase_xmit(struct net *net, struct sk_buff_head *xmitq) in tipc_bcbase_xmit()
205 static void tipc_bcast_select_xmit_method(struct net *net, int dests, in tipc_bcast_select_xmit_method()
252 static int tipc_bcast_xmit(struct net *net, struct sk_buff_head *pkts, in tipc_bcast_xmit()
[all …]
Dbearer.c61 static struct tipc_bearer *bearer_get(struct net *net, int bearer_id) in bearer_get()
172 struct tipc_bearer *tipc_bearer_find(struct net *net, const char *name) in tipc_bearer_find()
191 int tipc_bearer_get_name(struct net *net, char *name, u32 bearer_id) in tipc_bearer_get_name()
207 void tipc_bearer_add_dest(struct net *net, u32 bearer_id, u32 dest) in tipc_bearer_add_dest()
219 void tipc_bearer_remove_dest(struct net *net, u32 bearer_id, u32 dest) in tipc_bearer_remove_dest()
234 static int tipc_enable_bearer(struct net *net, const char *name, in tipc_enable_bearer()
346 static int tipc_reset_bearer(struct net *net, struct tipc_bearer *b) in tipc_reset_bearer()
359 static void bearer_disable(struct net *net, struct tipc_bearer *b) in bearer_disable()
376 int tipc_enable_l2_media(struct net *net, struct tipc_bearer *b, in tipc_enable_l2_media()
446 int tipc_l2_send_msg(struct net *net, struct sk_buff *skb, in tipc_l2_send_msg()
[all …]
Dname_distr.c68 static struct sk_buff *named_prepare_buf(struct net *net, u32 type, u32 size, in named_prepare_buf()
87 struct sk_buff *tipc_named_publish(struct net *net, struct publication *publ) in tipc_named_publish()
114 struct sk_buff *tipc_named_withdraw(struct net *net, struct publication *publ) in tipc_named_withdraw()
143 static void named_distribute(struct net *net, struct sk_buff_head *list, in named_distribute()
188 void tipc_named_node_up(struct net *net, u32 dnode) in tipc_named_node_up()
207 static void tipc_publ_purge(struct net *net, struct publication *publ, u32 addr) in tipc_publ_purge()
233 static void tipc_dist_queue_purge(struct net *net, u32 addr) in tipc_dist_queue_purge()
248 void tipc_publ_notify(struct net *net, struct list_head *nsub_list, u32 addr) in tipc_publ_notify()
264 static bool tipc_update_nametbl(struct net *net, struct distr_item *i, in tipc_update_nametbl()
301 void tipc_named_rcv(struct net *net, struct sk_buff_head *inputq) in tipc_named_rcv()
[all …]
Daddr.h46 static inline u32 tipc_own_addr(struct net *net) in tipc_own_addr()
51 static inline u8 *tipc_own_id(struct net *net) in tipc_own_id()
60 static inline char *tipc_own_id_string(struct net *net) in tipc_own_id_string()
75 static inline int tipc_scope2node(struct net *net, int sc) in tipc_scope2node()
80 static inline int in_own_node(struct net *net, u32 addr) in in_own_node()
Dnet.c110 struct net *net; member
116 int tipc_net_init(struct net *net, u8 *node_id, u32 addr) in tipc_net_init()
131 static void tipc_net_finalize(struct net *net, u32 addr) in tipc_net_finalize()
154 void tipc_sched_net_finalize(struct net *net, u32 addr) in tipc_sched_net_finalize()
166 void tipc_net_stop(struct net *net) in tipc_net_stop()
179 static int __tipc_nl_add_net(struct net *net, struct tipc_nl_msg *msg) in __tipc_nl_add_net()
217 struct net *net = sock_net(skb->sk); in tipc_nl_net_dump() local
243 struct net *net = sock_net(skb->sk); in __tipc_nl_net_set() local
/net/core/
Dnet_namespace.c84 static int net_assign_generic(struct net *net, unsigned int id, void *data) in net_assign_generic()
121 static int ops_init(const struct pernet_operations *ops, struct net *net) in ops_init()
148 static void ops_free(const struct pernet_operations *ops, struct net *net) in ops_free()
158 struct net *net; in ops_pre_exit_list() local
169 struct net *net; in ops_exit_list() local
181 struct net *net; in ops_free_list() local
189 static int alloc_netid(struct net *net, struct net *peer, int reqid) in alloc_netid()
207 static int net_eq_idr(int id, void *net, void *peer) in net_eq_idr()
218 static int __peernet2id_alloc(struct net *net, struct net *peer, bool *alloc) in __peernet2id_alloc()
241 static int __peernet2id(struct net *net, struct net *peer) in __peernet2id()
[all …]
Dfib_notifier.c19 int call_fib_notifier(struct notifier_block *nb, struct net *net, in call_fib_notifier()
31 int call_fib_notifiers(struct net *net, enum fib_event_type event_type, in call_fib_notifiers()
47 struct net *net; in fib_seq_sum() local
68 static int fib_net_dump(struct net *net, struct notifier_block *nb) in fib_net_dump()
109 struct net *net; in register_fib_notifier() local
138 struct net *net) in __fib_notifier_ops_register()
151 fib_notifier_ops_register(const struct fib_notifier_ops *tmpl, struct net *net) in fib_notifier_ops_register()
179 static int __net_init fib_notifier_net_init(struct net *net) in fib_notifier_net_init()
187 static void __net_exit fib_notifier_net_exit(struct net *net) in fib_notifier_net_exit()
/net/ipv4/
Dfib_frontend.c51 static int __net_init fib4_rules_init(struct net *net) in fib4_rules_init()
74 static bool fib4_has_custom_rules(struct net *net) in fib4_has_custom_rules()
80 struct fib_table *fib_new_table(struct net *net, u32 id) in fib_new_table()
116 struct fib_table *fib_get_table(struct net *net, u32 id) in fib_get_table()
135 static bool fib4_has_custom_rules(struct net *net) in fib4_has_custom_rules()
141 static void fib_replace_table(struct net *net, struct fib_table *old, in fib_replace_table()
161 int fib_unmerge(struct net *net) in fib_unmerge()
193 void fib_flush(struct net *net) in fib_flush()
215 static inline unsigned int __inet_dev_addr_type(struct net *net, in __inet_dev_addr_type()
246 unsigned int inet_addr_type_table(struct net *net, __be32 addr, u32 tb_id) in inet_addr_type_table()
[all …]
Dfib_notifier.c12 int call_fib4_notifier(struct notifier_block *nb, struct net *net, in call_fib4_notifier()
20 int call_fib4_notifiers(struct net *net, enum fib_event_type event_type, in call_fib4_notifiers()
30 static unsigned int fib4_seq_read(struct net *net) in fib4_seq_read()
37 static int fib4_dump(struct net *net, struct notifier_block *nb) in fib4_dump()
57 int __net_init fib4_notifier_init(struct net *net) in fib4_notifier_init()
71 void __net_exit fib4_notifier_exit(struct net *net) in fib4_notifier_exit()
Dipmr.c112 #define ipmr_for_each_table(mrt, net) \ argument
115 static struct mr_table *ipmr_mr_table_iter(struct net *net, in ipmr_mr_table_iter()
132 static struct mr_table *ipmr_get_table(struct net *net, u32 id) in ipmr_get_table()
143 static int ipmr_fib_lookup(struct net *net, struct flowi4 *flp4, in ipmr_fib_lookup()
236 static int __net_init ipmr_rules_init(struct net *net) in ipmr_rules_init()
268 static void __net_exit ipmr_rules_exit(struct net *net) in ipmr_rules_exit()
281 static int ipmr_rules_dump(struct net *net, struct notifier_block *nb) in ipmr_rules_dump()
286 static unsigned int ipmr_rules_seq_read(struct net *net) in ipmr_rules_seq_read()
297 #define ipmr_for_each_table(mrt, net) \ argument
300 static struct mr_table *ipmr_mr_table_iter(struct net *net, in ipmr_mr_table_iter()
[all …]
Dip_input.c154 struct net *net = dev_net(dev); in ip_call_ra_chain() local
187 void ip_protocol_deliver_rcu(struct net *net, struct sk_buff *skb, int protocol) in ip_protocol_deliver_rcu()
226 static int ip_local_deliver_finish(struct net *net, struct sock *sk, struct sk_buff *skb) in ip_local_deliver_finish()
245 struct net *net = dev_net(skb->dev); in ip_local_deliver() local
307 static int ip_rcv_finish_core(struct net *net, struct sock *sk, in ip_rcv_finish_core()
399 static int ip_rcv_finish(struct net *net, struct sock *sk, struct sk_buff *skb) in ip_rcv_finish()
420 static struct sk_buff *ip_rcv_core(struct sk_buff *skb, struct net *net) in ip_rcv_core()
517 struct net *net = dev_net(dev); in ip_rcv() local
538 static void ip_list_rcv_finish(struct net *net, struct sock *sk, in ip_list_rcv_finish()
576 struct net *net) in ip_sublist_rcv()
[all …]
Dxfrm4_policy.c20 static struct dst_entry *__xfrm4_dst_lookup(struct net *net, struct flowi4 *fl4, in __xfrm4_dst_lookup()
45 static struct dst_entry *xfrm4_dst_lookup(struct net *net, int tos, int oif, in xfrm4_dst_lookup()
55 static int xfrm4_get_saddr(struct net *net, int oif, in xfrm4_get_saddr()
171 static __net_init int xfrm4_net_sysctl_init(struct net *net) in xfrm4_net_sysctl_init()
199 static __net_exit void xfrm4_net_sysctl_exit(struct net *net) in xfrm4_net_sysctl_exit()
212 static inline int xfrm4_net_sysctl_init(struct net *net) in xfrm4_net_sysctl_init()
217 static inline void xfrm4_net_sysctl_exit(struct net *net) in xfrm4_net_sysctl_exit()
222 static int __net_init xfrm4_net_init(struct net *net) in xfrm4_net_init()
239 static void __net_exit xfrm4_net_exit(struct net *net) in xfrm4_net_exit()
Dproc.c52 struct net *net = seq->private; in sockstat_seq_show() local
319 struct net *net = seq->private; in icmpmsg_put() local
341 struct net *net = seq->private; in icmp_put() local
370 struct net *net = seq->private; in snmp_seq_show_ipstats() local
397 struct net *net = seq->private; in snmp_seq_show_tcp_udp() local
462 struct net *net = seq->private; in netstat_seq_show() local
489 static __net_init int ip_proc_init_net(struct net *net) in ip_proc_init_net()
511 static __net_exit void ip_proc_exit_net(struct net *net) in ip_proc_exit_net()
Dip_fragment.c85 struct net *net = q->fqdir->net; in ip4_frag_init() local
138 struct net *net; in ip_expire() local
203 static struct ipq *ip_find(struct net *net, struct iphdr *iph, in ip_find()
274 struct net *net = qp->q.fqdir->net; in ip_frag_queue() local
405 struct net *net = qp->q.fqdir->net; in ip_frag_reasm() local
474 int ip_defrag(struct net *net, struct sk_buff *skb, u32 user) in ip_defrag()
503 struct sk_buff *ip_check_defrag(struct net *net, struct sk_buff *skb, u32 user) in ip_check_defrag()
590 static int __net_init ip4_frags_ns_ctl_register(struct net *net) in ip4_frags_ns_ctl_register()
623 static void __net_exit ip4_frags_ns_ctl_unregister(struct net *net) in ip4_frags_ns_ctl_unregister()
637 static int ip4_frags_ns_ctl_register(struct net *net) in ip4_frags_ns_ctl_register()
[all …]
/net/ipv6/
Dip6_fib.c42 struct net *net; member
73 #define FOR_WALKERS(net, w) \ argument
76 static void fib6_walker_link(struct net *net, struct fib6_walker *w) in fib6_walker_link()
83 static void fib6_walker_unlink(struct net *net, struct fib6_walker *w) in fib6_walker_unlink()
90 static int fib6_new_sernum(struct net *net) in fib6_new_sernum()
106 void fib6_update_sernum(struct net *net, struct fib6_info *f6i) in fib6_update_sernum()
181 static struct fib6_node *node_alloc(struct net *net) in node_alloc()
192 static void node_free_immediate(struct net *net, struct fib6_node *fn) in node_free_immediate()
205 static void node_free(struct net *net, struct fib6_node *fn) in node_free()
217 static void fib6_link_table(struct net *net, struct fib6_table *tb) in fib6_link_table()
[all …]
Dfib6_notifier.c10 int call_fib6_notifier(struct notifier_block *nb, struct net *net, in call_fib6_notifier()
18 int call_fib6_notifiers(struct net *net, enum fib_event_type event_type, in call_fib6_notifiers()
25 static unsigned int fib6_seq_read(struct net *net) in fib6_seq_read()
30 static int fib6_dump(struct net *net, struct notifier_block *nb) in fib6_dump()
48 int __net_init fib6_notifier_init(struct net *net) in fib6_notifier_init()
60 void __net_exit fib6_notifier_exit(struct net *net) in fib6_notifier_exit()
Dip6mr.c99 #define ip6mr_for_each_table(mrt, net) \ argument
102 static struct mr_table *ip6mr_mr_table_iter(struct net *net, in ip6mr_mr_table_iter()
119 static struct mr_table *ip6mr_get_table(struct net *net, u32 id) in ip6mr_get_table()
130 static int ip6mr_fib_lookup(struct net *net, struct flowi6 *flp6, in ip6mr_fib_lookup()
223 static int __net_init ip6mr_rules_init(struct net *net) in ip6mr_rules_init()
255 static void __net_exit ip6mr_rules_exit(struct net *net) in ip6mr_rules_exit()
268 static int ip6mr_rules_dump(struct net *net, struct notifier_block *nb) in ip6mr_rules_dump()
273 static unsigned int ip6mr_rules_seq_read(struct net *net) in ip6mr_rules_seq_read()
285 #define ip6mr_for_each_table(mrt, net) \ argument
288 static struct mr_table *ip6mr_mr_table_iter(struct net *net, in ip6mr_mr_table_iter()
[all …]
Dreassembly.c82 fq_find(struct net *net, __be32 id, const struct ipv6hdr *hdr, int iif) in fq_find()
108 struct net *net = dev_net(skb_dst(skb)->dev); in ip6_frag_queue() local
251 struct net *net = fq->q.fqdir->net; in ip6_frag_reasm() local
324 struct net *net = dev_net(skb_dst(skb)->dev); in ipv6_frag_rcv() local
430 static int __net_init ip6_frags_ns_sysctl_register(struct net *net) in ip6_frags_ns_sysctl_register()
462 static void __net_exit ip6_frags_ns_sysctl_unregister(struct net *net) in ip6_frags_ns_sysctl_unregister()
486 static int ip6_frags_ns_sysctl_register(struct net *net) in ip6_frags_ns_sysctl_register()
491 static void ip6_frags_ns_sysctl_unregister(struct net *net) in ip6_frags_ns_sysctl_unregister()
505 static int __net_init ipv6_frags_init_net(struct net *net) in ipv6_frags_init_net()
523 static void __net_exit ipv6_frags_pre_exit_net(struct net *net) in ipv6_frags_pre_exit_net()
[all …]
Dxfrm6_tunnel.c35 static inline struct xfrm6_tunnel_net *xfrm6_tunnel_pernet(struct net *net) in xfrm6_tunnel_pernet()
74 static struct xfrm6_tunnel_spi *__xfrm6_tunnel_spi_lookup(struct net *net, const xfrm_address_t *sa… in __xfrm6_tunnel_spi_lookup()
89 __be32 xfrm6_tunnel_spi_lookup(struct net *net, const xfrm_address_t *saddr) in xfrm6_tunnel_spi_lookup()
102 static int __xfrm6_tunnel_spi_check(struct net *net, u32 spi) in __xfrm6_tunnel_spi_check()
117 static u32 __xfrm6_tunnel_alloc_spi(struct net *net, xfrm_address_t *saddr) in __xfrm6_tunnel_alloc_spi()
163 __be32 xfrm6_tunnel_alloc_spi(struct net *net, xfrm_address_t *saddr) in xfrm6_tunnel_alloc_spi()
187 static void xfrm6_tunnel_free_spi(struct net *net, xfrm_address_t *saddr) in xfrm6_tunnel_free_spi()
224 struct net *net = dev_net(skb->dev); in xfrm6_tunnel_rcv() local
288 struct net *net = xs_net(x); in xfrm6_tunnel_destroy() local
315 static int __net_init xfrm6_tunnel_net_init(struct net *net) in xfrm6_tunnel_net_init()
[all …]
/net/sctp/
Dsm_statefuns.c208 enum sctp_disposition sctp_sf_do_4_C(struct net *net, in sctp_sf_do_4_C()
293 enum sctp_disposition sctp_sf_do_5_1B_init(struct net *net, in sctp_sf_do_5_1B_init()
492 enum sctp_disposition sctp_sf_do_5_1C_ack(struct net *net, in sctp_sf_do_5_1C_ack()
611 static bool sctp_auth_chunk_verify(struct net *net, struct sctp_chunk *chunk, in sctp_auth_chunk_verify()
674 enum sctp_disposition sctp_sf_do_5_1D_ce(struct net *net, in sctp_sf_do_5_1D_ce()
888 enum sctp_disposition sctp_sf_do_5_1E_ca(struct net *net, in sctp_sf_do_5_1E_ca()
1005 enum sctp_disposition sctp_sf_sendbeat_8_3(struct net *net, in sctp_sf_sendbeat_8_3()
1053 enum sctp_disposition sctp_sf_send_reconf(struct net *net, in sctp_sf_send_reconf()
1105 enum sctp_disposition sctp_sf_beat_8_3(struct net *net, in sctp_sf_beat_8_3()
1179 enum sctp_disposition sctp_sf_backbeat_8_3(struct net *net, in sctp_sf_backbeat_8_3()
[all …]
/net/netfilter/
Dnf_synproxy_core.c307 static int __net_init synproxy_proc_init(struct net *net) in synproxy_proc_init()
315 static void __net_exit synproxy_proc_exit(struct net *net) in synproxy_proc_exit()
320 static int __net_init synproxy_proc_init(struct net *net) in synproxy_proc_init()
325 static void __net_exit synproxy_proc_exit(struct net *net) in synproxy_proc_exit()
331 static int __net_init synproxy_net_init(struct net *net) in synproxy_net_init()
368 static void __net_exit synproxy_net_exit(struct net *net) in synproxy_net_exit()
414 synproxy_build_ip(struct net *net, struct sk_buff *skb, __be32 saddr, in synproxy_build_ip()
436 synproxy_send_tcp(struct net *net, in synproxy_send_tcp()
465 synproxy_send_client_synack(struct net *net, in synproxy_send_client_synack()
508 synproxy_send_server_syn(struct net *net, in synproxy_send_server_syn()
[all …]
Dnf_log.c45 int nf_log_set(struct net *net, u_int8_t pf, const struct nf_logger *logger) in nf_log_set()
63 void nf_log_unset(struct net *net, const struct nf_logger *logger) in nf_log_unset()
128 int nf_log_bind_pf(struct net *net, u_int8_t pf, in nf_log_bind_pf()
144 void nf_log_unbind_pf(struct net *net, u_int8_t pf) in nf_log_unbind_pf()
215 void nf_log_packet(struct net *net, in nf_log_packet()
244 void nf_log_trace(struct net *net, in nf_log_trace()
328 struct net *net = seq_file_net(seq); in seq_start() local
340 struct net *net = seq_file_net(s); in seq_next() local
360 struct net *net = seq_file_net(s); in seq_show() local
423 struct net *net = table->extra2; in nf_log_proc_dostring() local
[all …]
/net/bridge/
Dbr_netfilter_hooks.c85 static inline bool is_vlan_ip(const struct sk_buff *skb, const struct net *net) in is_vlan_ip()
93 const struct net *net) in is_vlan_ipv6()
101 static inline bool is_vlan_arp(const struct sk_buff *skb, const struct net *net) in is_vlan_arp()
114 static inline bool is_pppoe_ip(const struct sk_buff *skb, const struct net *net) in is_pppoe_ip()
123 const struct net *net) in is_pppoe_ipv6()
196 static int br_validate_ipv4(struct net *net, struct sk_buff *skb) in br_validate_ipv4()
266 int br_nf_pre_routing_finish_bridge(struct net *net, struct sock *sk, struct sk_buff *skb) in br_nf_pre_routing_finish_bridge()
352 static int br_nf_pre_routing_finish(struct net *net, struct sock *sk, struct sk_buff *skb) in br_nf_pre_routing_finish()
429 const struct net *net) in brnf_get_logical_dev()
446 struct net_device *setup_pre_routing(struct sk_buff *skb, const struct net *net) in setup_pre_routing()
[all …]
/net/xfrm/
Dxfrm_sysctl.c7 static void __net_init __xfrm_sysctl_init(struct net *net) in __xfrm_sysctl_init()
44 int __net_init xfrm_sysctl_init(struct net *net) in xfrm_sysctl_init()
73 void __net_exit xfrm_sysctl_fini(struct net *net) in xfrm_sysctl_fini()
82 int __net_init xfrm_sysctl_init(struct net *net) in xfrm_sysctl_init()
/net/can/
Dproc.c80 static void can_init_stats(struct net *net) in can_init_stats()
122 struct net *net = from_timer(net, t, can.stattimer); in can_stat_update() local
215 struct net *net = m->private; in can_stats_proc_show() local
277 struct net *net = m->private; in can_reset_stats_proc_show() local
320 struct net *net = m->private; in can_rcvlist_proc_show() local
371 struct net *net = m->private; in can_rcvlist_sff_proc_show() local
402 struct net *net = m->private; in can_rcvlist_eff_proc_show() local
432 void can_init_proc(struct net *net) in can_init_proc()
472 void can_remove_proc(struct net *net) in can_remove_proc()

12345678910>>...21