Home
last modified time | relevance | path

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

12345678910>>...31

/linux/include/net/
H A Dnet_namespace.h61 struct net { global() struct
65 passivenet global() argument
76 listnet global() argument
77 exit_listnet global() argument
78 fnhe_genidnet global() argument
94 netns_idsnet global() argument
99 notrefcnt_trackernet global() argument
102 proc_netnet global() argument
103 proc_net_statnet global() argument
109 rtnlnet global() argument
117 netdev_chainnet global() argument
124 loopback_devnet global() argument
129 corenet global() argument
130 mibnet global() argument
131 packetnet global() argument
133 unxnet global() argument
135 nexthopnet global() argument
136 ipv4net global() argument
138 ipv6net global() argument
141 ieee802154_lowpannet global() argument
144 sctpnet global() argument
147 nfnet global() argument
149 ctnet global() argument
152 nftnet global() argument
155 ftnet global() argument
161 gennet global() argument
164 bpfnet global() argument
168 xfrmnet global() argument
171 net_cookienet global() argument
174 ipvsnet global() argument
177 mplsnet global() argument
180 cannet global() argument
183 xdpnet global() argument
186 mctpnet global() argument
193 smcnet global() argument
204 rtnl_mutexnet global() argument
229 net_ns_get_ownership(const struct net * net,kuid_t * uid,kgid_t * gid) net_ns_get_ownership() argument
271 get_net(struct net * net) get_net() argument
277 maybe_get_net(struct net * net) maybe_get_net() argument
290 put_net(struct net * net) put_net() argument
302 check_net(const struct net * net) check_net() argument
312 get_net(struct net * net) get_net() argument
317 put_net(struct net * net) put_net() argument
321 maybe_get_net(struct net * net) maybe_get_net() argument
332 check_net(const struct net * net) check_net() argument
339 net_passive_dec(struct net * net) net_passive_dec() argument
345 net_passive_inc(struct net * net) net_passive_inc() argument
351 net_initialized(const struct net * net) net_initialized() argument
356 __netns_tracker_alloc(struct net * net,netns_tracker * tracker,bool refcounted,gfp_t gfp) __netns_tracker_alloc() argument
368 netns_tracker_alloc(struct net * net,netns_tracker * tracker,gfp_t gfp) netns_tracker_alloc() argument
374 __netns_tracker_free(struct net * net,netns_tracker * tracker,bool refcounted) __netns_tracker_free() argument
384 get_net_track(struct net * net,netns_tracker * tracker,gfp_t gfp) get_net_track() argument
392 put_net_track(struct net * net,netns_tracker * tracker) put_net_track() argument
400 struct net __rcu *net; global() member
404 write_pnet(possible_net_t * pnet,struct net * net) write_pnet() argument
515 register_net_sysctl(net,path,table) global() argument
524 register_net_sysctl_sz(struct net * net,const char * path,struct ctl_table * table,size_t table_size) register_net_sysctl_sz() argument
534 rt_genid_ipv4(const struct net * net) rt_genid_ipv4() argument
540 rt_genid_ipv6(const struct net * net) rt_genid_ipv6() argument
546 rt_genid_bump_ipv4(struct net * net) rt_genid_bump_ipv4() argument
552 rt_genid_bump_ipv6(struct net * net) rt_genid_bump_ipv6() argument
560 net_ieee802154_lowpan(struct net * net) net_ieee802154_lowpan() argument
567 rt_genid_bump_all(struct net * net) rt_genid_bump_all() argument
573 fnhe_genid(const struct net * net) fnhe_genid() argument
578 fnhe_genid_bump(struct net * net) fnhe_genid_bump() argument
[all...]
/linux/include/linux/
H A Drtnetlink.h14 static inline int rtnetlink_maybe_send(struct sk_buff *skb, struct net *net, in rtnetlink_maybe_send()
111 #define ASSERT_RTNL_NET(net) \ argument
118 #define rcu_dereference_rtnl_net(net, p) \ argument
120 #define rtnl_net_dereference(net, p) \ argument
122 #define rcu_replace_pointer_rtnl_net(net, rp, p) \ argument
125 static inline void __rtnl_net_lock(struct net *net) {} in __rtnl_net_lock()
126 static inline void __rtnl_net_unlock(struct net *net) {} in __rtnl_net_unlock()
128 static inline void rtnl_net_lock(struct net *net) in rtnl_net_lock()
133 static inline void rtnl_net_unlock(struct net *net) in rtnl_net_unlock()
138 static inline int rtnl_net_trylock(struct net *net) in rtnl_net_trylock()
[all …]
/linux/net/tipc/
H A Dbcast.c77 static struct tipc_bc_base *tipc_bc_base(struct net *net) in tipc_bc_base()
86 int tipc_bcast_get_mtu(struct net *net) in tipc_bcast_get_mtu()
91 void tipc_bcast_toggle_rcast(struct net *net, bool supp) in tipc_bcast_toggle_rcast()
96 static void tipc_bcbase_calc_bc_threshold(struct net *net) in tipc_bcbase_calc_bc_threshold()
107 static void tipc_bcbase_select_primary(struct net *net) in tipc_bcbase_select_primary()
147 void tipc_bcast_inc_bearer_dst_cnt(struct net *net, int bearer_id) in tipc_bcast_inc_bearer_dst_cnt()
157 void tipc_bcast_dec_bearer_dst_cnt(struct net *net, int bearer_id) in tipc_bcast_dec_bearer_dst_cnt()
177 static void tipc_bcbase_xmit(struct net *net, struct sk_buff_head *xmitq) in tipc_bcbase_xmit()
212 static void tipc_bcast_select_xmit_method(struct net *net, int dests, in tipc_bcast_select_xmit_method()
259 int tipc_bcast_xmit(struct net *net, struct sk_buff_head *pkts, in tipc_bcast_xmit()
[all …]
H A Dbearer.c62 static struct tipc_bearer *bearer_get(struct net *net, int bearer_id) in bearer_get()
181 struct tipc_bearer *tipc_bearer_find(struct net *net, const char *name) in tipc_bearer_find()
200 int tipc_bearer_get_name(struct net *net, char *name, u32 bearer_id) in tipc_bearer_get_name()
216 void tipc_bearer_add_dest(struct net *net, u32 bearer_id, u32 dest) in tipc_bearer_add_dest()
227 void tipc_bearer_remove_dest(struct net *net, u32 bearer_id, u32 dest) in tipc_bearer_remove_dest()
247 static int tipc_enable_bearer(struct net *net, const char *name, in tipc_enable_bearer()
381 static int tipc_reset_bearer(struct net *net, struct tipc_bearer *b) in tipc_reset_bearer()
407 static void bearer_disable(struct net *net, struct tipc_bearer *b) in bearer_disable()
424 int tipc_enable_l2_media(struct net *net, struct tipc_bearer *b, in tipc_enable_l2_media()
496 int tipc_l2_send_msg(struct net *net, struct sk_buff *skb, in tipc_l2_send_msg()
[all …]
H A Dnet.c111 int tipc_net_init(struct net *net, u8 *node_id, u32 addr) in tipc_net_init()
126 static void tipc_net_finalize(struct net *net, u32 addr) in tipc_net_finalize()
153 void tipc_net_stop(struct net *net) in tipc_net_stop()
166 static int __tipc_nl_add_net(struct net *net, struct tipc_nl_msg *msg) in __tipc_nl_add_net()
204 struct net *net = sock_net(skb->sk); in tipc_nl_net_dump() local
230 struct net *net = sock_net(skb->sk); in __tipc_nl_net_set() local
293 static int __tipc_nl_addr_legacy_get(struct net *net, struct tipc_nl_msg *msg) in __tipc_nl_addr_legacy_get()
327 struct net *net = sock_net(skb->sk); in tipc_nl_net_addr_legacy_get() local
H A Dname_distr.c67 static struct sk_buff *named_prepare_buf(struct net *net, u32 type, u32 size, in named_prepare_buf()
88 struct sk_buff *tipc_named_publish(struct net *net, struct publication *p) in tipc_named_publish()
118 struct sk_buff *tipc_named_withdraw(struct net *net, struct publication *p) in tipc_named_withdraw()
150 static void named_distribute(struct net *net, struct sk_buff_head *list, in named_distribute()
206 void tipc_named_node_up(struct net *net, u32 dnode, u16 capabilities) in tipc_named_node_up()
235 static void tipc_publ_purge(struct net *net, struct publication *p, u32 addr) in tipc_publ_purge()
252 void tipc_publ_notify(struct net *net, struct list_head *nsub_list, in tipc_publ_notify()
279 static bool tipc_update_nametbl(struct net *net, struct distr_item *i, in tipc_update_nametbl()
364 void tipc_named_rcv(struct net *net, struct sk_buff_head *namedq, in tipc_named_rcv()
396 void tipc_named_reinit(struct net *net) in tipc_named_reinit()
/linux/net/sctp/
H A Dsm_statefuns.c233 enum sctp_disposition sctp_sf_do_4_C(struct net *net, in sctp_sf_do_4_C()
318 enum sctp_disposition sctp_sf_do_5_1B_init(struct net *net, in sctp_sf_do_5_1B_init()
518 enum sctp_disposition sctp_sf_do_5_1C_ack(struct net *net, in sctp_sf_do_5_1C_ack()
637 static bool sctp_auth_chunk_verify(struct net *net, struct sctp_chunk *chunk, in sctp_auth_chunk_verify()
700 enum sctp_disposition sctp_sf_do_5_1D_ce(struct net *net, in sctp_sf_do_5_1D_ce()
922 enum sctp_disposition sctp_sf_do_5_1E_ca(struct net *net, in sctp_sf_do_5_1E_ca()
1041 enum sctp_disposition sctp_sf_sendbeat_8_3(struct net *net, in sctp_sf_sendbeat_8_3()
1089 enum sctp_disposition sctp_sf_send_reconf(struct net *net, in sctp_sf_send_reconf()
1118 enum sctp_disposition sctp_sf_send_probe(struct net *net, in sctp_sf_send_probe()
1166 enum sctp_disposition sctp_sf_beat_8_3(struct net *net, in sctp_sf_beat_8_3()
[all …]
/linux/net/core/
H A Dnet_namespace.c83 static int net_assign_generic(struct net *net, unsigned int id, void *data) in net_assign_generic()
120 static int ops_init(const struct pernet_operations *ops, struct net *net) in ops_init()
157 struct net *net; in ops_pre_exit_list() local
171 struct net *net; in ops_exit_rtnl_list() local
196 struct net *net; in ops_exit_list() local
211 struct net *net; in ops_free_list() local
270 static int alloc_netid(struct net *net, struct net *peer, int reqid) in alloc_netid()
288 static int net_eq_idr(int id, void *net, void *peer) in net_eq_idr()
296 static int __peernet2id(const struct net *net, struct net *peer) in __peernet2id()
314 int peernet2id_alloc(struct net *net, struct net *peer, gfp_t gfp) in peernet2id_alloc()
[all …]
/linux/net/ipv6/
H A Dip6mr.c106 #define ip6mr_for_each_table(mrt, net) \ argument
111 static struct mr_table *ip6mr_mr_table_iter(struct net *net, in ip6mr_mr_table_iter()
128 static struct mr_table *__ip6mr_get_table(struct net *net, u32 id) in __ip6mr_get_table()
139 static struct mr_table *ip6mr_get_table(struct net *net, u32 id) in ip6mr_get_table()
149 static int ip6mr_fib_lookup(struct net *net, struct flowi6 *flp6, in ip6mr_fib_lookup()
237 static int __net_init ip6mr_rules_init(struct net *net) in ip6mr_rules_init()
271 static void __net_exit ip6mr_rules_exit(struct net *net) in ip6mr_rules_exit()
283 static int ip6mr_rules_dump(struct net *net, struct notifier_block *nb, in ip6mr_rules_dump()
289 static unsigned int ip6mr_rules_seq_read(const struct net *net) in ip6mr_rules_seq_read()
301 #define ip6mr_for_each_table(mrt, net) \ argument
[all …]
H A Dip6_fib.c44 struct net *net; global() member
75 FOR_WALKERS(net,w) global() argument
78 fib6_walker_link(struct net * net,struct fib6_walker * w) fib6_walker_link() argument
85 fib6_walker_unlink(struct net * net,struct fib6_walker * w) fib6_walker_unlink() argument
92 fib6_new_sernum(struct net * net) fib6_new_sernum() argument
107 fib6_update_sernum(struct net * net,struct fib6_info * f6i) fib6_update_sernum() argument
184 node_alloc(struct net * net) node_alloc() argument
195 node_free_immediate(struct net * net,struct fib6_node * fn) node_free_immediate() argument
201 node_free(struct net * net,struct fib6_node * fn) node_free() argument
213 fib6_link_table(struct net * net,struct fib6_table * tb) fib6_link_table() argument
233 fib6_alloc_table(struct net * net,u32 id) fib6_alloc_table() argument
250 fib6_new_table(struct net * net,u32 id) fib6_new_table() argument
282 fib6_get_table(struct net * net,u32 id) fib6_get_table() argument
303 fib6_tables_init(struct net * net) fib6_tables_init() argument
310 fib6_new_table(struct net * net,u32 id) fib6_new_table() argument
315 fib6_get_table(struct net * net,u32 id) fib6_get_table() argument
320 fib6_rule_lookup(struct net * net,struct flowi6 * fl6,const struct sk_buff * skb,int flags,pol_lookup_t lookup) fib6_rule_lookup() argument
339 fib6_lookup(struct net * net,int oif,struct flowi6 * fl6,struct fib6_result * res,int flags) fib6_lookup() argument
346 fib6_tables_init(struct net * net) fib6_tables_init() argument
353 fib6_tables_seq_read(const struct net * net) fib6_tables_seq_read() argument
398 call_fib6_entry_notifiers(struct net * net,enum fib_event_type event_type,struct fib6_info * rt,struct netlink_ext_ack * extack) call_fib6_entry_notifiers() argument
412 call_fib6_multipath_entry_notifiers(struct net * net,enum fib_event_type event_type,struct fib6_info * rt,unsigned int nsiblings,struct netlink_ext_ack * extack) call_fib6_multipath_entry_notifiers() argument
428 call_fib6_entry_notifiers_replace(struct net * net,struct fib6_info * rt) call_fib6_entry_notifiers_replace() argument
440 struct net *net; global() member
476 fib6_table_dump(struct net * net,struct fib6_table * tb,struct fib6_walker * w) fib6_table_dump() argument
489 fib6_tables_dump(struct net * net,struct notifier_block * nb,struct netlink_ext_ack * extack) fib6_tables_dump() argument
561 struct net *net = sock_net(cb->skb->sk); fib6_dump_end() local
585 struct net *net = sock_net(skb->sk); fib6_dump_table() local
636 struct net *net = sock_net(skb->sk); inet6_dump_fib() local
754 fib6_add_1(struct net * net,struct fib6_table * table,struct fib6_node * root,struct in6_addr * addr,int plen,int offset,int allow_create,int replace_required,struct netlink_ext_ack * extack) fib6_add_1() argument
1032 fib6_purge_rt(struct fib6_info * rt,struct fib6_node * fn,struct net * net) fib6_purge_rt() argument
1373 fib6_start_gc(struct net * net,struct fib6_info * rt) fib6_start_gc() argument
1381 fib6_force_start_gc(struct net * net) fib6_force_start_gc() argument
1403 fib6_update_sernum_upto_root(struct net * net,struct fib6_info * rt) fib6_update_sernum_upto_root() argument
1409 fib6_update_sernum_stub(struct net * net,struct fib6_info * f6i) fib6_update_sernum_stub() argument
1807 fib6_find_prefix(struct net * net,struct fib6_table * table,struct fib6_node * fn) fib6_find_prefix() argument
1839 fib6_repair_tree(struct net * net,struct fib6_table * table,struct fib6_node * fn) fib6_repair_tree() argument
1974 struct net *net = info->nl_net; fib6_del_route() local
2065 struct net *net = info->nl_net; fib6_del() local
2216 fib6_walk(struct net * net,struct fib6_walker * w) fib6_walk() argument
2287 fib6_clean_tree(struct net * net,struct fib6_node * root,int (* func)(struct fib6_info *,void * arg),int sernum,void * arg,bool skip_notify) fib6_clean_tree() argument
2307 __fib6_clean_all(struct net * net,int (* func)(struct fib6_info *,void *),int sernum,void * arg,bool skip_notify) __fib6_clean_all() argument
2328 fib6_clean_all(struct net * net,int (* func)(struct fib6_info *,void *),void * arg) fib6_clean_all() argument
2334 fib6_clean_all_skip_notify(struct net * net,int (* func)(struct fib6_info *,void *),void * arg) fib6_clean_all_skip_notify() argument
2341 fib6_flush_trees(struct net * net) fib6_flush_trees() argument
2378 fib6_gc_table(struct net * net,struct fib6_table * tb6,struct fib6_gc_args * gc_args) fib6_gc_table() argument
2394 fib6_gc_all(struct net * net,struct fib6_gc_args * gc_args) fib6_gc_all() argument
2414 fib6_run_gc(unsigned long expires,struct net * net,bool force) fib6_run_gc() argument
2449 fib6_net_init(struct net * net) fib6_net_init() argument
2521 fib6_net_exit(struct net * net) fib6_net_exit() argument
2642 ipv6_route_seq_setup_walk(struct ipv6_route_iter * iter,struct net * net) ipv6_route_seq_setup_walk() argument
2656 ipv6_route_seq_next_table(struct fib6_table * tbl,struct net * net) ipv6_route_seq_next_table() argument
2693 struct net *net = seq_file_net(seq); ipv6_route_seq_next() local
2728 struct net *net = seq_file_net(seq); ipv6_route_seq_start() local
2754 struct net *net = seq_file_net(seq); ipv6_route_native_seq_stop() local
[all...]
H A Dreassembly.c85 fq_find(struct net *net, __be32 id, const struct ipv6hdr *hdr, int iif) in fq_find()
107 static int ip6_frag_queue(struct net *net, in ip6_frag_queue()
261 struct net *net = fq->q.fqdir->net; in ip6_frag_reasm() local
328 struct net *net = skb_dst_dev_net(skb); in ipv6_frag_rcv() local
454 static int __net_init ip6_frags_ns_sysctl_register(struct net *net) in ip6_frags_ns_sysctl_register()
487 static void __net_exit ip6_frags_ns_sysctl_unregister(struct net *net) in ip6_frags_ns_sysctl_unregister()
511 static int ip6_frags_ns_sysctl_register(struct net *net) in ip6_frags_ns_sysctl_register()
516 static void ip6_frags_ns_sysctl_unregister(struct net *net) in ip6_frags_ns_sysctl_unregister()
530 static int __net_init ipv6_frags_init_net(struct net *net) in ipv6_frags_init_net()
548 static void __net_exit ipv6_frags_pre_exit_net(struct net *net) in ipv6_frags_pre_exit_net()
[all …]
H A Daddrconf_core.c132 static struct dst_entry *eafnosupport_ipv6_dst_lookup_flow(struct net *net, in eafnosupport_ipv6_dst_lookup_flow()
145 static struct fib6_table *eafnosupport_fib6_get_table(struct net *net, u32 id) in eafnosupport_fib6_get_table()
151 eafnosupport_fib6_table_lookup(struct net *net, struct fib6_table *table, in eafnosupport_fib6_table_lookup()
159 eafnosupport_fib6_lookup(struct net *net, int oif, struct flowi6 *fl6, in eafnosupport_fib6_lookup()
166 eafnosupport_fib6_select_path(const struct net *net, struct fib6_result *res, in eafnosupport_fib6_select_path()
180 static int eafnosupport_fib6_nh_init(struct net *net, struct fib6_nh *fib6_nh, in eafnosupport_fib6_nh_init()
188 static int eafnosupport_ip6_del_rt(struct net *net, struct fib6_info *rt, in eafnosupport_ip6_del_rt()
194 static int eafnosupport_ipv6_fragment(struct net *net, struct sock *sk, struct sk_buff *skb, in eafnosupport_ipv6_fragment()
195 int (*output)(struct net *, struct sock *, struct sk_buff *)) in eafnosupport_ipv6_fragment()
201 static struct net_device *eafnosupport_ipv6_dev_find(struct net *net, const struct in6_addr *addr, in eafnosupport_ipv6_dev_find()
H A Dip6_input.c48 ip6_rcv_finish_core(struct net * net,struct sock * sk,struct sk_buff * skb) ip6_rcv_finish_core() argument
69 ip6_rcv_finish(struct net * net,struct sock * sk,struct sk_buff * skb) ip6_rcv_finish() argument
99 ip6_extract_route_hint(const struct net * net,struct sk_buff * skb) ip6_extract_route_hint() argument
109 ip6_list_rcv_finish(struct net * net,struct sock * sk,struct list_head * head) ip6_list_rcv_finish() argument
149 ip6_rcv_core(struct sk_buff * skb,struct net_device * dev,struct net * net) ip6_rcv_core() argument
306 struct net *net = dev_net(skb->dev); ipv6_rcv() local
317 ip6_sublist_rcv(struct list_head * head,struct net_device * dev,struct net * net) ip6_sublist_rcv() argument
335 struct net *net = dev_net(dev); ipv6_list_rcv() local
363 ip6_protocol_deliver_rcu(struct net * net,struct sk_buff * skb,int nexthdr,bool have_final) ip6_protocol_deliver_rcu() argument
479 ip6_input_finish(struct net * net,struct sock * sk,struct sk_buff * skb) ip6_input_finish() argument
[all...]
H A 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
292 struct net *net = xs_net(x); in xfrm6_tunnel_destroy() local
318 static int __net_init xfrm6_tunnel_net_init(struct net *net) in xfrm6_tunnel_net_init()
[all …]
/linux/kernel/bpf/
H A Dnet_namespace.c20 struct net *net; member
55 static void netns_bpf_run_array_detach(struct net *net, in netns_bpf_run_array_detach()
65 static int link_index(struct net *net, enum netns_bpf_attach_type type, in link_index()
79 static int link_count(struct net *net, enum netns_bpf_attach_type type) in link_count()
89 static void fill_prog_array(struct net *net, enum netns_bpf_attach_type type, in fill_prog_array()
107 struct net *net; in bpf_netns_link_release() local
171 struct net *net; in bpf_netns_link_update_prog() local
209 struct net *net; in bpf_netns_link_fill_info() local
247 struct net *net, in __netns_bpf_prog_query()
274 struct net *net; in netns_bpf_prog_query() local
[all …]
/linux/net/netfilter/
H A Dnf_synproxy_core.c306 synproxy_proc_init(struct net * net) synproxy_proc_init() argument
314 synproxy_proc_exit(struct net * net) synproxy_proc_exit() argument
319 synproxy_proc_init(struct net * net) synproxy_proc_init() argument
324 synproxy_proc_exit(struct net * net) synproxy_proc_exit() argument
330 synproxy_net_init(struct net * net) synproxy_net_init() argument
366 synproxy_net_exit(struct net * net) synproxy_net_exit() argument
396 synproxy_build_ip(struct net * net,struct sk_buff * skb,__be32 saddr,__be32 daddr) synproxy_build_ip() argument
418 synproxy_send_tcp(struct net * net,const struct sk_buff * skb,struct sk_buff * nskb,struct nf_conntrack * nfct,enum ip_conntrack_info ctinfo,struct iphdr * niph,struct tcphdr * nth,unsigned int tcp_hdr_size) synproxy_send_tcp() argument
447 synproxy_send_client_synack(struct net * net,const struct sk_buff * skb,const struct tcphdr * th,const struct synproxy_options * opts) synproxy_send_client_synack() argument
490 synproxy_send_server_syn(struct net * net,const struct sk_buff * skb,const struct tcphdr * th,const struct synproxy_options * opts,u32 recv_seq) synproxy_send_server_syn() argument
535 synproxy_send_server_ack(struct net * net,const struct ip_ct_tcp * state,const struct sk_buff * skb,const struct tcphdr * th,const struct synproxy_options * opts) synproxy_send_server_ack() argument
574 synproxy_send_client_ack(struct net * net,const struct sk_buff * skb,const struct tcphdr * th,const struct synproxy_options * opts) synproxy_send_client_ack() argument
613 synproxy_recv_client_ack(struct net * net,const struct sk_buff * skb,const struct tcphdr * th,struct synproxy_options * opts,u32 recv_seq) synproxy_recv_client_ack() argument
642 struct net *net = nhs->net; ipv4_synproxy_hook() local
767 nf_synproxy_ipv4_init(struct synproxy_net * snet,struct net * net) nf_synproxy_ipv4_init() argument
783 nf_synproxy_ipv4_fini(struct synproxy_net * snet,struct net * net) nf_synproxy_ipv4_fini() argument
794 synproxy_build_ip_ipv6(struct net * net,struct sk_buff * skb,const struct in6_addr * saddr,const struct in6_addr * daddr) synproxy_build_ip_ipv6() argument
812 synproxy_send_tcp_ipv6(struct net * net,const struct sk_buff * skb,struct sk_buff * nskb,struct nf_conntrack * nfct,enum ip_conntrack_info ctinfo,struct ipv6hdr * niph,struct tcphdr * nth,unsigned int tcp_hdr_size) synproxy_send_tcp_ipv6() argument
859 synproxy_send_client_synack_ipv6(struct net * net,const struct sk_buff * skb,const struct tcphdr * th,const struct synproxy_options * opts) synproxy_send_client_synack_ipv6() argument
904 synproxy_send_server_syn_ipv6(struct net * net,const struct sk_buff * skb,const struct tcphdr * th,const struct synproxy_options * opts,u32 recv_seq) synproxy_send_server_syn_ipv6() argument
949 synproxy_send_server_ack_ipv6(struct net * net,const struct ip_ct_tcp * state,const struct sk_buff * skb,const struct tcphdr * th,const struct synproxy_options * opts) synproxy_send_server_ack_ipv6() argument
989 synproxy_send_client_ack_ipv6(struct net * net,const struct sk_buff * skb,const struct tcphdr * th,const struct synproxy_options * opts) synproxy_send_client_ack_ipv6() argument
1029 synproxy_recv_client_ack_ipv6(struct net * net,const struct sk_buff * skb,const struct tcphdr * th,struct synproxy_options * opts,u32 recv_seq) synproxy_recv_client_ack_ipv6() argument
1059 struct net *net = nhs->net; ipv6_synproxy_hook() local
1191 nf_synproxy_ipv6_init(struct synproxy_net * snet,struct net * net) nf_synproxy_ipv6_init() argument
1208 nf_synproxy_ipv6_fini(struct synproxy_net * snet,struct net * net) nf_synproxy_ipv6_fini() argument
[all...]
H A 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()
154 int nf_log_bind_pf(struct net *net, u_int8_t pf, in nf_log_bind_pf()
170 void nf_log_unbind_pf(struct net *net, u_int8_t pf) in nf_log_unbind_pf()
237 void nf_log_packet(struct net *net, in nf_log_packet()
266 void nf_log_trace(struct net *net, in nf_log_trace()
350 struct net *net = seq_file_net(seq); in seq_start() local
362 struct net *net = seq_file_net(s); in seq_next() local
382 struct net *net = seq_file_net(s); in seq_show() local
444 struct net *net = table->extra2; in nf_log_proc_dostring() local
[all …]
/linux/net/mctp/
H A Droute.c43 static struct mctp_sock *mctp_lookup_bind_details(struct net *net, in mctp_lookup_bind_details()
81 static struct mctp_sock *mctp_lookup_bind(struct net *net, struct sk_buff *skb) in mctp_lookup_bind()
163 static bool mctp_key_match(struct mctp_sk_key *key, unsigned int net, in mctp_key_match()
184 static struct mctp_sk_key *mctp_lookup_key(struct net *net, struct sk_buff *skb, in mctp_lookup_key()
224 unsigned int net, in mctp_key_alloc()
267 struct net *net = sock_net(&msk->sk); in mctp_key_add() local
312 static void __mctp_key_done_in(struct mctp_sk_key *key, struct net *net, in __mctp_key_done_in()
437 struct net *net = dev_net(skb->dev); in mctp_dst_input() local
692 unsigned int mctp_default_net(struct net *net) in mctp_default_net()
697 int mctp_default_net_set(struct net *net, unsigned int index) in mctp_default_net_set()
[all …]
/linux/net/smc/
H A Dsmc_pnet.c101 static int smc_pnet_remove_by_pnetid(struct net *net, char *pnet_name) in smc_pnet_remove_by_pnetid()
189 struct net *net = dev_net(ndev); in smc_pnet_add_by_ndev() local
221 struct net *net = dev_net(ndev); in smc_pnet_remove_by_ndev() local
348 static int smc_pnet_add_eth(struct smc_pnettable *pnettable, struct net *net, in smc_pnet_add_eth()
477 static int smc_pnet_enter(struct net *net, struct nlattr *tb[]) in smc_pnet_enter()
562 struct net *net = genl_info_net(info); in smc_pnet_add() local
569 struct net *net = genl_info_net(info); in smc_pnet_del() local
601 static int _smc_pnet_dump(struct net *net, struct sk_buff *skb, u32 portid, in _smc_pnet_dump()
635 struct net *net = sock_net(skb->sk); in smc_pnet_dump() local
648 struct net *net = genl_info_net(info); in smc_pnet_get() local
[all …]
/linux/drivers/usb/gadget/function/
H A Du_ether.c62 struct net_device *net; member
110 static void eth_get_drvinfo(struct net_device *net, struct ethtool_drvinfo *p) in eth_get_drvinfo()
456 struct net_device *net) in eth_start_xmit()
615 static int eth_open(struct net_device *net) in eth_open()
633 static int eth_stop(struct net_device *net) in eth_stop()
745 struct net_device *net; in gether_setup_name() local
817 struct net_device *net; in gether_setup_name_default() local
858 int gether_register_netdev(struct net_device *net) in gether_register_netdev()
890 void gether_set_gadget(struct net_device *net, struct usb_gadget *g) in gether_set_gadget()
900 int gether_attach_gadget(struct net_device *net, struct usb_gadget *g) in gether_attach_gadget()
[all …]
/linux/net/bridge/
H A Dbr_netfilter_hooks.c91 static inline bool is_vlan_ip(const struct sk_buff *skb, const struct net *net) in is_vlan_ip()
99 const struct net *net) in is_vlan_ipv6()
107 static inline bool is_vlan_arp(const struct sk_buff *skb, const struct net *net) in is_vlan_arp()
120 static inline bool is_pppoe_ip(const struct sk_buff *skb, const struct net *net) in is_pppoe_ip()
129 const struct net *net) in is_pppoe_ipv6()
205 static int br_validate_ipv4(struct net *net, struct sk_buff *skb) in br_validate_ipv4()
275 int br_nf_pre_routing_finish_bridge(struct net *net, struct sock *sk, struct sk_buff *skb) in br_nf_pre_routing_finish_bridge()
371 static int br_nf_pre_routing_finish(struct net *net, struct sock *sk, struct sk_buff *skb) in br_nf_pre_routing_finish()
432 const struct net *net) in brnf_get_logical_dev()
449 struct net_device *setup_pre_routing(struct sk_buff *skb, const struct net *net) in setup_pre_routing()
[all …]
/linux/fs/nfsd/
H A Dnfssvc.c207 bool nfsd_net_try_get(struct net *net) __must_hold(rcu) in nfsd_net_try_get()
214 void nfsd_net_put(struct net *net) __must_hold(rcu) in nfsd_net_put()
240 int nfsd_nrthreads(struct net *net) in nfsd_nrthreads()
349 static int nfsd_startup_net(struct net *net, const struct cred *cred) in nfsd_startup_net()
406 static void nfsd_shutdown_net(struct net *net) in nfsd_shutdown_net()
438 struct net *net = dev_net(dev); in nfsd_inetaddr_event() local
468 struct net *net = dev_net(dev); in nfsd_inet6addr_event() local
502 void nfsd_destroy_serv(struct net *net) in nfsd_destroy_serv()
571 void nfsd_shutdown_threads(struct net *net) in nfsd_shutdown_threads()
596 int nfsd_create_serv(struct net *net) in nfsd_create_serv()
[all …]
/linux/net/xfrm/
H A Dxfrm_policy.c121 possible_net_t net; global() member
298 struct net *net = xs_net(x); xfrm_dst_lookup() local
428 xfrm_policy_alloc(struct net * net,gfp_t gfp) xfrm_policy_alloc() argument
479 struct net *net = xp_net(policy); xfrm_policy_kill() local
509 idx_hash(struct net * net,u32 index) idx_hash() argument
515 __get_hash_thresh(struct net * net,unsigned short family,int dir,u8 * dbits,u8 * sbits) __get_hash_thresh() argument
536 policy_hash_bysel(struct net * net,const struct xfrm_selector * sel,unsigned short family,int dir) policy_hash_bysel() argument
555 policy_hash_direct(struct net * net,const xfrm_address_t * daddr,const xfrm_address_t * saddr,unsigned short family,int dir) policy_hash_direct() argument
572 xfrm_dst_hash_transfer(struct net * net,struct hlist_head * list,struct hlist_head * ndsttable,unsigned int nhashmask,int dir) xfrm_dst_hash_transfer() argument
629 xfrm_bydst_resize(struct net * net,int dir) xfrm_bydst_resize() argument
661 xfrm_byidx_resize(struct net * net) xfrm_byidx_resize() argument
686 xfrm_bydst_should_resize(struct net * net,int dir,int * total) xfrm_bydst_should_resize() argument
701 xfrm_byidx_should_resize(struct net * net,int total) xfrm_byidx_should_resize() argument
712 xfrm_spd_getinfo(struct net * net,struct xfrmk_spdinfo * si) xfrm_spd_getinfo() argument
728 struct net *net = container_of(work, struct net, xfrm.policy_hash_work); xfrm_hash_resize() local
758 struct net *net = xp_net(pol); xfrm_policy_inexact_alloc_bin() local
892 xfrm_policy_inexact_list_reinsert(struct net * net,struct xfrm_pol_inexact_node * n,u16 family) xfrm_policy_inexact_list_reinsert() argument
955 xfrm_policy_inexact_node_reinsert(struct net * net,struct xfrm_pol_inexact_node * n,struct rb_root * new,u16 family) xfrm_policy_inexact_node_reinsert() argument
1013 xfrm_policy_inexact_node_merge(struct net * net,struct xfrm_pol_inexact_node * v,struct xfrm_pol_inexact_node * n,u16 family) xfrm_policy_inexact_node_merge() argument
1042 xfrm_policy_inexact_insert_node(struct net * net,struct rb_root * root,xfrm_address_t * addr,u16 family,u8 prefixlen,u8 dir) xfrm_policy_inexact_insert_node() argument
1161 struct net *net = read_pnet(&b->k.net); xfrm_policy_inexact_prune_bin() local
1168 __xfrm_policy_inexact_flush(struct net * net) __xfrm_policy_inexact_flush() argument
1183 struct net *net; xfrm_policy_inexact_alloc_chain() local
1244 struct net *net; xfrm_policy_inexact_insert() local
1284 struct net *net = container_of(work, struct net, xfrm_hash_rebuild() local
1405 xfrm_policy_hash_rebuild(struct net * net) xfrm_policy_hash_rebuild() argument
1413 xfrm_gen_index(struct net * net,int dir,u32 index) xfrm_gen_index() argument
1580 struct net *net = xp_net(policy); xfrm_policy_insert() local
1651 xfrm_policy_bysel_ctx(struct net * net,const struct xfrm_mark * mark,u32 if_id,u8 type,int dir,struct xfrm_selector * sel,struct xfrm_sec_ctx * ctx,int delete,int * err) xfrm_policy_bysel_ctx() argument
1721 xfrm_policy_byid(struct net * net,const struct xfrm_mark * mark,u32 if_id,u8 type,int dir,u32 id,int delete,int * err) xfrm_policy_byid() argument
1762 xfrm_policy_flush_secctx_check(struct net * net,u8 type,bool task_valid) xfrm_policy_flush_secctx_check() argument
1782 xfrm_dev_policy_flush_secctx_check(struct net * net,struct net_device * dev,bool task_valid) xfrm_dev_policy_flush_secctx_check() argument
1805 xfrm_policy_flush_secctx_check(struct net * net,u8 type,bool task_valid) xfrm_policy_flush_secctx_check() argument
1810 xfrm_dev_policy_flush_secctx_check(struct net * net,struct net_device * dev,bool task_valid) xfrm_dev_policy_flush_secctx_check() argument
1818 xfrm_policy_flush(struct net * net,u8 type,bool task_valid) xfrm_policy_flush() argument
1857 xfrm_dev_policy_flush(struct net * net,struct net_device * dev,bool task_valid) xfrm_dev_policy_flush() argument
1897 xfrm_policy_walk(struct net * net,struct xfrm_policy_walk * walk,int (* func)(struct xfrm_policy *,int,int,void *),void * data) xfrm_policy_walk() argument
1954 xfrm_policy_walk_done(struct xfrm_policy_walk * walk,struct net * net) xfrm_policy_walk_done() argument
2062 xfrm_policy_inexact_lookup_rcu(struct net * net,u8 type,u16 family,u8 dir,u32 if_id) xfrm_policy_inexact_lookup_rcu() argument
2079 xfrm_policy_inexact_lookup(struct net * net,u8 type,u16 family,u8 dir,u32 if_id) xfrm_policy_inexact_lookup() argument
2156 xfrm_policy_lookup_bytype(struct net * net,u8 type,const struct flowi * fl,u16 family,u8 dir,u32 if_id) xfrm_policy_lookup_bytype() argument
2224 xfrm_policy_lookup(struct net * net,const struct flowi * fl,u16 family,u8 dir,u32 if_id) xfrm_policy_lookup() argument
2283 xfrm_gen_pos_slow(struct net * net) xfrm_gen_pos_slow() argument
2297 xfrm_gen_pos(struct net * net) xfrm_gen_pos() argument
2319 struct net *net = xp_net(pol); __xfrm_policy_link() local
2337 struct net *net = xp_net(pol); __xfrm_policy_unlink() local
2366 struct net *net = xp_net(pol); xfrm_policy_delete() local
2381 struct net *net = sock_net(sk); xfrm_sk_policy_insert() local
2418 struct net *net = xp_net(old); clone_policy() local
2489 struct net *net = xp_net(policy); xfrm_tmpl_resolve_one() local
2602 xfrm_alloc_dst(struct net * net,int family) xfrm_alloc_dst() argument
2675 struct net *net = xp_net(policy); xfrm_bundle_create() local
2863 struct net *net = xp_net(pols[0]); xfrm_resolve_and_create_bundle() local
2902 struct net *net = xp_net(pol); xfrm_policy_queue_process() local
2983 xdst_queue_output(struct net * net,struct sock * sk,struct sk_buff * skb) xdst_queue_output() argument
3025 xfrm_create_dummy_bundle(struct net * net,struct xfrm_flo * xflo,const struct flowi * fl,int num_xfrms,u16 family) xfrm_create_dummy_bundle() argument
3084 xfrm_bundle_lookup(struct net * net,const struct flowi * fl,u16 family,u8 dir,struct xfrm_flo * xflo,u32 if_id) xfrm_bundle_lookup() argument
3147 make_blackhole(struct net * net,u16 family,struct dst_entry * dst_orig) make_blackhole() argument
3172 xfrm_lookup_with_ifid(struct net * net,struct dst_entry * dst_orig,const struct flowi * fl,const struct sock * sk,int flags,u32 if_id) xfrm_lookup_with_ifid() argument
3332 xfrm_lookup(struct net * net,struct dst_entry * dst_orig,const struct flowi * fl,const struct sock * sk,int flags) xfrm_lookup() argument
3343 xfrm_lookup_route(struct net * net,struct dst_entry * dst_orig,const struct flowi * fl,const struct sock * sk,int flags) xfrm_lookup_route() argument
3502 __xfrm_decode_session(struct net * net,struct sk_buff * skb,struct flowi * fl,unsigned int family,int reverse) __xfrm_decode_session() argument
3633 struct net *net = dev_net(skb->dev); xfrm_in_fwd_icmp() local
3651 struct net *net = dev_net(skb->dev); xfrm_out_fwd_icmp() local
3679 struct net *net = dev_net(skb->dev); __xfrm_policy_check() local
3880 struct net *net = dev_net(skb->dev); __xfrm_route_forward() local
4190 xfrm_statistics_init(struct net * net) xfrm_statistics_init() argument
4202 xfrm_statistics_fini(struct net * net) xfrm_statistics_fini() argument
4208 xfrm_statistics_init(struct net * net) xfrm_statistics_init() argument
4213 xfrm_statistics_fini(struct net * net) xfrm_statistics_fini() argument
4218 xfrm_policy_init(struct net * net) xfrm_policy_init() argument
4279 xfrm_policy_fini(struct net * net) xfrm_policy_fini() argument
4312 xfrm_net_init(struct net * net) xfrm_net_init() argument
4356 xfrm_net_exit(struct net * net) xfrm_net_exit() argument
4490 xfrm_migrate_policy_find(const struct xfrm_selector * sel,u8 dir,u8 type,struct net * net,u32 if_id) xfrm_migrate_policy_find() argument
4647 xfrm_migrate(const struct xfrm_selector * sel,u8 dir,u8 type,struct xfrm_migrate * m,int num_migrate,struct xfrm_kmaddress * k,struct net * net,struct xfrm_encap_tmpl * encap,u32 if_id,struct netlink_ext_ack * extack,struct xfrm_user_offload * xuo) xfrm_migrate() argument
[all...]
/linux/net/ipv4/
H A Dip_fragment.c87 struct net *net = q->fqdir->net; in ip4_frag_init() local
129 struct net *net; in ip_expire() local
199 static struct ipq *ip_find(struct net *net, struct iphdr *iph, in ip_find()
265 struct net *net = qp->q.fqdir->net; in ip_frag_queue() local
404 struct net *net = qp->q.fqdir->net; in ip_frag_reasm() local
473 int ip_defrag(struct net *net, struct sk_buff *skb, u32 user) in ip_defrag()
506 struct sk_buff *ip_check_defrag(struct net *net, struct sk_buff *skb, u32 user) in ip_check_defrag()
591 static int __net_init ip4_frags_ns_ctl_register(struct net *net) in ip4_frags_ns_ctl_register()
625 static void __net_exit ip4_frags_ns_ctl_unregister(struct net *net) in ip4_frags_ns_ctl_unregister()
639 static int ip4_frags_ns_ctl_register(struct net *net) in ip4_frags_ns_ctl_register()
[all …]
/linux/fs/nfs_common/
H A Dgrace.c30 locks_start_grace(struct net *net, struct lock_manager *lm) in locks_start_grace()
64 __state_in_grace(struct net *net, bool open) in __state_in_grace()
91 bool locks_in_grace(struct net *net) in locks_in_grace()
97 bool opens_in_grace(struct net *net) in opens_in_grace()
104 grace_init_net(struct net *net) in grace_init_net()
113 grace_exit_net(struct net *net) in grace_exit_net()

12345678910>>...31