Home
last modified time | relevance | path

Searched defs:net (Results 76 – 100 of 814) sorted by relevance

12345678910>>...33

/linux-5.10/net/tipc/
Dnode.c112 struct net *net; member
198 int tipc_node_get_mtu(struct net *net, u32 addr, u32 sel, bool connected) in tipc_node_get_mtu()
223 bool tipc_node_get_id(struct net *net, u32 addr, u8 *id) in tipc_node_get_id()
244 u16 tipc_node_get_capabilities(struct net *net, u32 addr) in tipc_node_get_capabilities()
282 struct tipc_crypto *tipc_node_crypto_rx_by_addr(struct net *net, u32 addr) in tipc_node_crypto_rx_by_addr()
322 static struct tipc_node *tipc_node_find(struct net *net, u32 addr) in tipc_node_find()
344 static struct tipc_node *tipc_node_find_by_id(struct net *net, u8 *id) in tipc_node_find_by_id()
386 struct net *net = n->net; in tipc_node_write_unlock() local
454 struct tipc_node *tipc_node_create(struct net *net, u32 addr, u8 *peer_id, in tipc_node_create()
612 void tipc_node_stop(struct net *net) in tipc_node_stop()
[all …]
Dmonitor.c95 struct net *net; member
100 static struct tipc_monitor *tipc_monitor(struct net *net, int bearer_id) in tipc_monitor()
165 static struct tipc_peer *get_self(struct net *net, int bearer_id) in get_self()
172 static inline bool tipc_mon_is_active(struct net *net, struct tipc_monitor *mon) in tipc_mon_is_active()
322 void tipc_mon_remove_peer(struct net *net, u32 addr, int bearer_id) in tipc_mon_remove_peer()
392 void tipc_mon_peer_up(struct net *net, u32 addr, int bearer_id) in tipc_mon_peer_up()
411 void tipc_mon_peer_down(struct net *net, u32 addr, int bearer_id) in tipc_mon_peer_down()
450 void tipc_mon_rcv(struct net *net, void *data, u16 dlen, u32 addr, in tipc_mon_rcv()
533 void tipc_mon_prep(struct net *net, void *data, int *dlen, in tipc_mon_prep()
566 void tipc_mon_get_state(struct net *net, u32 addr, in tipc_mon_get_state()
[all …]
Ddiscover.c65 struct net *net; member
80 static void tipc_disc_init_msg(struct net *net, struct sk_buff *skb, in tipc_disc_init_msg()
101 static void tipc_disc_msg_xmit(struct net *net, u32 mtyp, u32 dst, in tipc_disc_msg_xmit()
148 struct net *net = d->net; in tipc_disc_addr_trial_msg() local
192 void tipc_disc_rcv(struct net *net, struct sk_buff *skb, in tipc_disc_rcv()
295 struct net *net = d->net; in tipc_disc_timeout() local
346 int tipc_disc_create(struct net *net, struct tipc_bearer *b, in tipc_disc_create()
397 void tipc_disc_reset(struct net *net, struct tipc_bearer *b) in tipc_disc_reset()
/linux-5.10/net/l3mdev/
Dl3mdev.c77 struct net *net, u32 table_id) in l3mdev_ifindex_lookup_by_table_id()
144 int l3mdev_master_upper_ifindex_by_index_rcu(struct net *net, int ifindex) in l3mdev_master_upper_ifindex_by_index_rcu()
189 u32 l3mdev_fib_table_by_index(struct net *net, int ifindex) in l3mdev_fib_table_by_index()
218 struct dst_entry *l3mdev_link_scope_lookup(struct net *net, in l3mdev_link_scope_lookup()
246 int l3mdev_fib_rule_match(struct net *net, struct flowi *fl, in l3mdev_fib_rule_match()
276 void l3mdev_update_flow(struct net *net, struct flowi *fl) in l3mdev_update_flow()
/linux-5.10/net/mpls/
Daf_mpls.c77 static struct mpls_route *mpls_route_input_rcu(struct net *net, unsigned index) in mpls_route_input_rcu()
269 static bool mpls_egress(struct net *net, struct mpls_route *rt, in mpls_egress()
344 struct net *net = dev_net(dev); in mpls_forward() local
536 static void mpls_notify_route(struct net *net, unsigned index, in mpls_notify_route()
550 static void mpls_route_update(struct net *net, unsigned index, in mpls_route_update()
569 static unsigned find_free_label(struct net *net) in find_free_label()
586 static struct net_device *inet_fib_lookup_dev(struct net *net, in inet_fib_lookup_dev()
606 static struct net_device *inet_fib_lookup_dev(struct net *net, in inet_fib_lookup_dev()
614 static struct net_device *inet6_fib_lookup_dev(struct net *net, in inet6_fib_lookup_dev()
637 static struct net_device *inet6_fib_lookup_dev(struct net *net, in inet6_fib_lookup_dev()
[all …]
/linux-5.10/net/ipv4/
Dicmp.c202 static struct sock *icmp_sk(struct net *net) in icmp_sk()
208 static inline struct sock *icmp_xmit_lock(struct net *net) in icmp_xmit_lock()
282 static bool icmpv4_mask_allow(struct net *net, int type, int code) in icmpv4_mask_allow()
298 static bool icmpv4_global_allow(struct net *net, int type, int code) in icmpv4_global_allow()
313 static bool icmpv4_xrlim_allow(struct net *net, struct rtable *rt, in icmpv4_xrlim_allow()
340 void icmp_out_count(struct net *net, unsigned char type) in icmp_out_count()
405 struct net *net = dev_net(rt->dst.dev); in icmp_reply() local
480 static struct rtable *icmp_route_lookup(struct net *net, in icmp_route_lookup()
603 struct net *net; in __icmp_send() local
847 struct net *net; in icmp_unreach() local
[all …]
Dfib_rules.c69 int fib4_rules_dump(struct net *net, struct notifier_block *nb, in fib4_rules_dump()
75 unsigned int fib4_rules_seq_read(struct net *net) in fib4_rules_seq_read()
80 int __fib_lookup(struct net *net, struct flowi4 *flp, in __fib_lookup()
204 static struct fib_table *fib_empty_table(struct net *net) in fib_empty_table()
228 struct net *net = sock_net(skb->sk); in fib4_rule_configure() local
288 struct net *net = rule->fr_net; in fib4_rule_delete() local
408 int __net_init fib4_rules_init(struct net *net) in fib4_rules_init()
431 void __net_exit fib4_rules_exit(struct net *net) in fib4_rules_exit()
Ddevinet.c93 #define IPV4_DEVCONF_DFLT(net, attr) \ argument
121 static u32 inet_addr_hash(const struct net *net, __be32 addr) in inet_addr_hash()
128 static void inet_hash_insert(struct net *net, struct in_ifaddr *ifa) in inet_hash_insert()
150 struct net_device *__ip_dev_find(struct net *net, __be32 addr, bool devref) in __ip_dev_find()
181 struct in_ifaddr *inet_lookup_ifaddr_rcu(struct net *net, __be32 addr) in inet_lookup_ifaddr_rcu()
588 struct in_device *inetdev_by_index(struct net *net, int ifindex) in inetdev_by_index()
618 static int ip_mc_autojoin_config(struct net *net, bool join, in ip_mc_autojoin_config()
647 struct net *net = sock_net(skb->sk); in inet_rtm_deladdr() local
823 static struct in_ifaddr *rtm_to_ifaddr(struct net *net, struct nlmsghdr *nlh, in rtm_to_ifaddr()
931 struct net *net = sock_net(skb->sk); in inet_rtm_newaddr() local
[all …]
/linux-5.10/net/ipv4/netfilter/
Diptable_filter.c46 static int __net_init iptable_filter_table_init(struct net *net) in iptable_filter_table_init()
67 static int __net_init iptable_filter_net_init(struct net *net) in iptable_filter_net_init()
75 static void __net_exit iptable_filter_net_pre_exit(struct net *net) in iptable_filter_net_pre_exit()
82 static void __net_exit iptable_filter_net_exit(struct net *net) in iptable_filter_net_exit()
/linux-5.10/include/net/
Dicmp.h29 #define ICMP_INC_STATS(net, field) SNMP_INC_STATS((net)->mib.icmp_statistics, field) argument
30 #define __ICMP_INC_STATS(net, field) __SNMP_INC_STATS((net)->mib.icmp_statistics, field) argument
31 #define ICMPMSGOUT_INC_STATS(net, field) SNMP_INC_STATS_ATOMIC_LONG((net)->mib.icmpmsg_statistics, … argument
32 #define ICMPMSGIN_INC_STATS(net, field) SNMP_INC_STATS_ATOMIC_LONG((net)->mib.icmpmsg_statistics, … argument
/linux-5.10/net/ipv6/netfilter/
Dip6table_filter.c47 static int __net_init ip6table_filter_table_init(struct net *net) in ip6table_filter_table_init()
68 static int __net_init ip6table_filter_net_init(struct net *net) in ip6table_filter_net_init()
76 static void __net_exit ip6table_filter_net_pre_exit(struct net *net) in ip6table_filter_net_pre_exit()
83 static void __net_exit ip6table_filter_net_exit(struct net *net) in ip6table_filter_net_exit()
/linux-5.10/include/linux/sunrpc/
Dstats.h47 static inline int rpc_proc_init(struct net *net) in rpc_proc_init()
52 static inline void rpc_proc_exit(struct net *net) in rpc_proc_exit()
73 static inline struct proc_dir_entry *rpc_proc_register(struct net *net, struct rpc_stat *s) { retur… in rpc_proc_register()
74 static inline void rpc_proc_unregister(struct net *net, const char *p) {} in rpc_proc_unregister()
77 static inline struct proc_dir_entry *svc_proc_register(struct net *net, struct svc_stat *s, in svc_proc_register()
79 static inline void svc_proc_unregister(struct net *net, const char *p) {} in svc_proc_unregister()
/linux-5.10/net/ipv6/
Dproc.c36 struct net *net = seq->private; in sockstat6_seq_show() local
215 struct net *net = (struct net *)seq->private; in snmp6_seq_show() local
245 struct net *net; in snmp6_register_dev() local
265 struct net *net = dev_net(idev->dev); in snmp6_unregister_dev() local
275 static int __net_init ipv6_proc_init_net(struct net *net) in ipv6_proc_init_net()
297 static void __net_exit ipv6_proc_exit_net(struct net *net) in ipv6_proc_exit_net()
Doutput_core.c14 static u32 __ipv6_select_ident(struct net *net, in __ipv6_select_ident()
53 __be32 ipv6_proxy_select_ident(struct net *net, struct sk_buff *skb) in ipv6_proxy_select_ident()
71 __be32 ipv6_select_ident(struct net *net, in ipv6_select_ident()
148 int __ip6_local_out(struct net *net, struct sock *sk, struct sk_buff *skb) in __ip6_local_out()
173 int ip6_local_out(struct net *net, struct sock *sk, struct sk_buff *skb) in ip6_local_out()
Dinet6_hashtables.c26 u32 inet6_ehashfn(const struct net *net, in inet6_ehashfn()
51 struct sock *__inet6_lookup_established(struct net *net, in __inet6_lookup_established()
94 static inline int compute_score(struct sock *sk, struct net *net, in compute_score()
116 static inline struct sock *lookup_reuseport(struct net *net, struct sock *sk, in lookup_reuseport()
134 static struct sock *inet6_lhash2_lookup(struct net *net, in inet6_lhash2_lookup()
162 static inline struct sock *inet6_lookup_run_bpf(struct net *net, in inet6_lookup_run_bpf()
187 struct sock *inet6_lookup_listener(struct net *net, in inet6_lookup_listener()
229 struct sock *inet6_lookup(struct net *net, struct inet_hashinfo *hashinfo, in inet6_lookup()
255 struct net *net = sock_net(sk); in __inet6_check_established() local
/linux-5.10/net/netfilter/
Dnf_conntrack_expect.c51 struct net *net = nf_ct_exp_net(exp); in nf_ct_unlink_expect_report() local
98 const struct net *net) in nf_ct_exp_equal()
117 __nf_ct_expect_find(struct net *net, in __nf_ct_expect_find()
138 nf_ct_expect_find_get(struct net *net, in nf_ct_expect_find_get()
157 nf_ct_find_expectation(struct net *net, in nf_ct_find_expectation()
373 struct net *net = nf_ct_exp_net(exp); in nf_ct_expect_insert() local
421 struct net *net = nf_ct_exp_net(expect); in __nf_ct_expect_check() local
514 void nf_ct_expect_iterate_net(struct net *net, in nf_ct_expect_iterate_net()
658 static int exp_proc_init(struct net *net) in exp_proc_init()
678 static void exp_proc_remove(struct net *net) in exp_proc_remove()
[all …]
Dnf_conntrack_proto.c52 struct net *net, in nf_l4proto_log_invalid()
79 struct net *net; in nf_ct_l4proto_log_invalid() local
447 static int nf_ct_netns_do_get(struct net *net, u8 nfproto) in nf_ct_netns_do_get()
532 static void nf_ct_netns_do_put(struct net *net, u8 nfproto) in nf_ct_netns_do_put()
563 static int nf_ct_netns_inet_get(struct net *net) in nf_ct_netns_inet_get()
583 int nf_ct_netns_get(struct net *net, u8 nfproto) in nf_ct_netns_get()
610 void nf_ct_netns_put(struct net *net, uint8_t nfproto) in nf_ct_netns_put()
676 void nf_conntrack_proto_pernet_init(struct net *net) in nf_conntrack_proto_pernet_init()
696 void nf_conntrack_proto_pernet_fini(struct net *net) in nf_conntrack_proto_pernet_fini()
Dnft_set_rbtree.c47 static bool __nft_rbtree_lookup(const struct net *net, const struct nft_set *set, in __nft_rbtree_lookup()
110 static bool nft_rbtree_lookup(const struct net *net, const struct nft_set *set, in nft_rbtree_lookup()
129 static bool __nft_rbtree_get(const struct net *net, const struct nft_set *set, in __nft_rbtree_get()
193 static void *nft_rbtree_get(const struct net *net, const struct nft_set *set, in nft_rbtree_get()
217 static int __nft_rbtree_insert(const struct net *net, const struct nft_set *set, in __nft_rbtree_insert()
366 static int nft_rbtree_insert(const struct net *net, const struct nft_set *set, in nft_rbtree_insert()
383 static void nft_rbtree_remove(const struct net *net, in nft_rbtree_remove()
397 static void nft_rbtree_activate(const struct net *net, in nft_rbtree_activate()
407 static bool nft_rbtree_flush(const struct net *net, in nft_rbtree_flush()
420 static void *nft_rbtree_deactivate(const struct net *net, in nft_rbtree_deactivate()
/linux-5.10/net/wireless/
Dwext-proc.c92 struct net *net = seq_file_net(seq); in wireless_dev_seq_start() local
109 struct net *net = seq_file_net(seq); in wireless_dev_seq_next() local
129 int __net_init wext_proc_init(struct net *net) in wext_proc_init()
139 void __net_exit wext_proc_exit(struct net *net) in wext_proc_exit()
/linux-5.10/fs/nfs/blocklayout/
Drpc_pipefs.c56 struct net *net = server->nfs_client->cl_net; in bl_resolve_deviceid() local
169 struct net *net = sb->s_fs_info; in rpc_pipefs_event() local
207 static struct dentry *nfs4blocklayout_register_net(struct net *net, in nfs4blocklayout_register_net()
221 static void nfs4blocklayout_unregister_net(struct net *net, in nfs4blocklayout_unregister_net()
233 static int nfs4blocklayout_net_init(struct net *net) in nfs4blocklayout_net_init()
252 static void nfs4blocklayout_net_exit(struct net *net) in nfs4blocklayout_net_exit()
/linux-5.10/net/ieee802154/6lowpan/
Dreassembly.c63 fq_find(struct net *net, const struct lowpan_802154_cb *cb, in fq_find()
279 struct net *net = dev_net(skb->dev); in lowpan_frag_rcv() local
356 static int __net_init lowpan_frags_ns_sysctl_register(struct net *net) in lowpan_frags_ns_sysctl_register()
395 static void __net_exit lowpan_frags_ns_sysctl_unregister(struct net *net) in lowpan_frags_ns_sysctl_unregister()
422 static inline int lowpan_frags_ns_sysctl_register(struct net *net) in lowpan_frags_ns_sysctl_register()
427 static inline void lowpan_frags_ns_sysctl_unregister(struct net *net) in lowpan_frags_ns_sysctl_unregister()
441 static int __net_init lowpan_frags_init_net(struct net *net) in lowpan_frags_init_net()
462 static void __net_exit lowpan_frags_pre_exit_net(struct net *net) in lowpan_frags_pre_exit_net()
470 static void __net_exit lowpan_frags_exit_net(struct net *net) in lowpan_frags_exit_net()
/linux-5.10/net/sunrpc/
Dstats.c282 do_register(struct net *net, const char *name, void *data, in do_register()
293 rpc_proc_register(struct net *net, struct rpc_stat *statp) in rpc_proc_register()
300 rpc_proc_unregister(struct net *net, const char *name) in rpc_proc_unregister()
310 svc_proc_register(struct net *net, struct svc_stat *statp, const struct proc_ops *proc_ops) in svc_proc_register()
317 svc_proc_unregister(struct net *net, const char *name) in svc_proc_unregister()
326 int rpc_proc_init(struct net *net) in rpc_proc_init()
339 void rpc_proc_exit(struct net *net) in rpc_proc_exit()
/linux-5.10/net/phonet/
Dpn_dev.c36 static struct phonet_net *phonet_pernet(struct net *net) in phonet_pernet()
41 struct phonet_device_list *phonet_device_list(struct net *net) in phonet_device_list()
109 struct net_device *phonet_device_get(struct net *net) in phonet_device_get()
207 int phonet_address_lookup(struct net *net, u8 addr) in phonet_address_lookup()
304 static int __net_init phonet_init_net(struct net *net) in phonet_init_net()
318 static void __net_exit phonet_exit_net(struct net *net) in phonet_exit_net()
394 struct net_device *phonet_route_get_rcu(struct net *net, u8 daddr) in phonet_route_get_rcu()
405 struct net_device *phonet_route_output(struct net *net, u8 daddr) in phonet_route_output()
/linux-5.10/fs/proc/
Dproc_net.c62 struct net *net; in seq_open_net() local
185 struct net *net; in single_open_net() local
277 struct net *net = NULL; in get_proc_task_net() local
297 struct net *net; in proc_tgid_net_lookup() local
312 struct net *net; in proc_tgid_net_getattr() local
334 struct net *net; in proc_tgid_net_readdir() local
351 static __net_init int proc_net_ns_init(struct net *net) in proc_net_ns_init()
396 static __net_exit void proc_net_ns_exit(struct net *net) in proc_net_ns_exit()
/linux-5.10/fs/afs/
Drxrpc.c36 int afs_open_socket(struct afs_net *net) in afs_open_socket()
106 void afs_close_socket(struct afs_net *net) in afs_close_socket()
134 static struct afs_call *afs_alloc_call(struct afs_net *net, in afs_alloc_call()
165 struct afs_net *net = call->net; in afs_put_call() local
226 struct afs_call *afs_alloc_flat_call(struct afs_net *net, in afs_alloc_flat_call()
751 struct afs_net *net = in afs_charge_preallocation() local
798 struct afs_net *net = afs_sock2net(sk); in afs_rx_new_call() local
851 struct afs_net *net = call->net; in afs_send_empty_reply() local
887 struct afs_net *net = call->net; in afs_send_simple_reply() local
926 struct afs_net *net = call->net; in afs_extract_data() local

12345678910>>...33