Home
last modified time | relevance | path

Searched defs:net (Results 176 – 200 of 814) sorted by relevance

12345678910>>...33

/linux-5.10/net/tipc/
Dtopsrv.c70 struct net *net; member
311 void tipc_topsrv_queue_evt(struct net *net, int conid, in tipc_topsrv_queue_evt()
559 bool tipc_topsrv_kern_subscr(struct net *net, u32 port, u32 type, u32 lower, in tipc_topsrv_kern_subscr()
586 void tipc_topsrv_kern_unsubscr(struct net *net, int conid) in tipc_topsrv_kern_unsubscr()
600 static void tipc_topsrv_kern_evt(struct net *net, struct tipc_event *evt) in tipc_topsrv_kern_evt()
643 static int tipc_topsrv_start(struct net *net) in tipc_topsrv_start()
682 static void tipc_topsrv_stop(struct net *net) in tipc_topsrv_stop()
708 int __net_init tipc_topsrv_init_net(struct net *net) in tipc_topsrv_init_net()
713 void __net_exit tipc_topsrv_exit_net(struct net *net) in tipc_topsrv_exit_net()
/linux-5.10/fs/nfsd/
Didmap.h46 static inline int nfsd_idmap_init(struct net *net) in nfsd_idmap_init()
50 static inline void nfsd_idmap_shutdown(struct net *net) in nfsd_idmap_shutdown()
/linux-5.10/net/ipv4/netfilter/
Diptable_mangle.c86 static int __net_init iptable_mangle_table_init(struct net *net) in iptable_mangle_table_init()
103 static void __net_exit iptable_mangle_net_pre_exit(struct net *net) in iptable_mangle_net_pre_exit()
110 static void __net_exit iptable_mangle_net_exit(struct net *net) in iptable_mangle_net_exit()
/linux-5.10/net/ipv6/netfilter/
Dip6table_mangle.c79 static int __net_init ip6table_mangle_table_init(struct net *net) in ip6table_mangle_table_init()
96 static void __net_exit ip6table_mangle_net_pre_exit(struct net *net) in ip6table_mangle_net_pre_exit()
103 static void __net_exit ip6table_mangle_net_exit(struct net *net) in ip6table_mangle_net_exit()
/linux-5.10/net/ipv6/
Dxfrm6_output.c50 static int __xfrm6_output_finish(struct net *net, struct sock *sk, struct sk_buff *skb) in __xfrm6_output_finish()
55 static int __xfrm6_output(struct net *net, struct sock *sk, struct sk_buff *skb) in __xfrm6_output()
97 int xfrm6_output(struct net *net, struct sock *sk, struct sk_buff *skb) in xfrm6_output()
Dseg6_iptunnel.c86 static void set_tun_src(struct net *net, struct net_device *dev, in set_tun_src()
107 static __be32 seg6_make_flowlabel(struct net *net, struct sk_buff *skb, in seg6_make_flowlabel()
128 struct net *net = dev_net(dst->dev); in seg6_do_srh_encap() local
227 struct net *net = dev_net(skb_dst(skb)->dev); in seg6_do_srh_inline() local
343 static int seg6_output(struct net *net, struct sock *sk, struct sk_buff *skb) in seg6_output()
396 static int seg6_build_state(struct net *net, struct nlattr *nla, in seg6_build_state()
Dsysctl_net_ipv6.c32 struct net *net; in proc_rt6_multipath_hash_policy() local
201 static int __net_init ipv6_sysctl_net_init(struct net *net) in ipv6_sysctl_net_init()
255 static void __net_exit ipv6_sysctl_net_exit(struct net *net) in ipv6_sysctl_net_exit()
Dip6_tunnel.c144 ip6_tnl_lookup(struct net *net, int link, in ip6_tnl_lookup()
283 struct net *net = dev_net(dev); in ip6_tnl_create2() local
316 static struct ip6_tnl *ip6_tnl_create(struct net *net, struct __ip6_tnl_parm *p) in ip6_tnl_create()
368 static struct ip6_tnl *ip6_tnl_locate(struct net *net, in ip6_tnl_locate()
406 struct net *net = t->net; in ip6_tnl_dev_uninit() local
501 struct net *net = dev_net(skb->dev); in ip6_tnl_err() local
803 struct net *net = t->net; in ip6_tnl_rcv_ctl() local
1054 struct net *net = t->net; in ip6_tnl_xmit_ctl() local
1111 struct net *net = t->net; in ip6_tnl_xmit() local
1566 struct net *net = t->net; in ip6_tnl_update() local
[all …]
/linux-5.10/net/netfilter/
Dnfnetlink_log.c64 struct net *net; member
90 static struct nfnl_log_net *nfnl_log_pernet(struct net *net) in nfnl_log_pernet()
154 instance_create(struct net *net, u_int16_t group_num, in instance_create()
322 nfulnl_alloc_skb(struct net *net, u32 peer_portid, unsigned int inst_size, in nfulnl_alloc_skb()
673 nfulnl_log_packet(struct net *net, in nfulnl_log_packet()
847 static int nfulnl_recv_unsupp(struct net *net, struct sock *ctnl, in nfulnl_recv_unsupp()
871 static int nfulnl_recv_config(struct net *net, struct sock *ctnl, in nfulnl_recv_config()
1015 static struct hlist_node *get_first(struct net *net, struct iter_state *st) in get_first()
1032 static struct hlist_node *get_next(struct net *net, struct iter_state *st, in get_next()
1050 static struct hlist_node *get_idx(struct net *net, struct iter_state *st, in get_idx()
[all …]
Dnfnetlink_queue.c91 static struct nfnl_queue_net *nfnl_queue_pernet(struct net *net) in nfnl_queue_pernet()
375 nfqnl_build_packet_message(struct net *net, struct nfqnl_instance *queue, in nfqnl_build_packet_message()
651 __nfqnl_enqueue_packet(struct net *net, struct nfqnl_instance *queue, in __nfqnl_enqueue_packet()
741 __nfqnl_enqueue_packet_gso(struct net *net, struct nfqnl_instance *queue, in __nfqnl_enqueue_packet_gso()
777 struct net *net = entry->state.net; in nfqnl_enqueue_packet() local
917 nfqnl_dev_drop(struct net *net, int ifindex) in nfqnl_dev_drop()
951 static void nfqnl_nf_hook_drop(struct net *net) in nfqnl_nf_hook_drop()
1051 static int nfqnl_recv_verdict_batch(struct net *net, struct sock *ctnl, in nfqnl_recv_verdict_batch()
1159 static int nfqnl_recv_verdict(struct net *net, struct sock *ctnl, in nfqnl_recv_verdict()
1225 static int nfqnl_recv_unsupp(struct net *net, struct sock *ctnl, in nfqnl_recv_unsupp()
[all …]
Dnf_conntrack_proto_icmpv6.c33 struct net *net, in icmpv6_pkt_to_tuple()
81 static unsigned int *icmpv6_get_timeouts(struct net *net) in icmpv6_get_timeouts()
246 struct net *net, void *data) in icmpv6_timeout_nlattr_to_obj()
282 void nf_conntrack_icmpv6_init_net(struct net *net) in nf_conntrack_icmpv6_init_net()
Dnf_nat_masquerade.c80 struct net *net = dev_net(dev); in masq_device_event() local
114 struct net *net = dev_net(idev->dev); in masq_inet_event() local
142 nat_ipv6_dev_get_saddr(struct net *net, const struct net_device *dev, in nat_ipv6_dev_get_saddr()
192 struct net *net; member
237 struct net *net; in masq_inet6_event() local
Dnf_tables_offload.c48 struct nft_flow_rule *nft_flow_rule_create(struct net *net, in nft_flow_rule_create()
274 struct net *net, in nft_flow_block_offload_init()
310 struct net *net = dev_net(dev); in nft_indr_block_cleanup() local
412 static void nft_flow_rule_offload_abort(struct net *net, in nft_flow_rule_offload_abort()
461 int nft_flow_rule_offload_commit(struct net *net) in nft_flow_rule_offload_commit()
542 struct net *net = dev_net(dev); in __nft_offload_get_chain() local
579 struct net *net = dev_net(dev); in nft_offload_netdev_event() local
/linux-5.10/fs/nfs/
Ddns_resolve.c18 ssize_t nfs_dns_resolve_name(struct net *net, char *name, size_t namelen, in nfs_dns_resolve_name()
343 ssize_t nfs_dns_resolve_name(struct net *net, char *name, in nfs_dns_resolve_name()
383 int nfs_dns_resolver_cache_init(struct net *net) in nfs_dns_resolver_cache_init()
402 void nfs_dns_resolver_cache_destroy(struct net *net) in nfs_dns_resolver_cache_destroy()
410 static int nfs4_dns_net_init(struct net *net) in nfs4_dns_net_init()
415 static void nfs4_dns_net_exit(struct net *net) in nfs4_dns_net_exit()
429 struct net *net = sb->s_fs_info; in rpc_pipefs_event() local
/linux-5.10/net/sunrpc/
Daddr.c161 static int rpc_parse_scope_id(struct net *net, const char *buf, in rpc_parse_scope_id()
203 static size_t rpc_pton6(struct net *net, const char *buf, const size_t buflen, in rpc_pton6()
226 static size_t rpc_pton6(struct net *net, const char *buf, const size_t buflen, in rpc_pton6()
248 size_t rpc_pton(struct net *net, const char *buf, const size_t buflen, in rpc_pton()
314 size_t rpc_uaddr2sockaddr(struct net *net, const char *uaddr, in rpc_uaddr2sockaddr()
Dsvc.c359 int svc_rpcb_setup(struct svc_serv *serv, struct net *net) in svc_rpcb_setup()
373 void svc_rpcb_cleanup(struct svc_serv *serv, struct net *net) in svc_rpcb_cleanup()
397 int svc_bind(struct svc_serv *serv, struct net *net) in svc_bind()
513 void svc_shutdown_net(struct svc_serv *serv, struct net *net) in svc_shutdown_net()
882 static int __svc_rpcb_register4(struct net *net, const u32 program, in __svc_rpcb_register4()
930 static int __svc_rpcb_register6(struct net *net, const u32 program, in __svc_rpcb_register6()
974 static int __svc_register(struct net *net, const char *progname, in __svc_register()
998 int svc_rpcbind_set_version(struct net *net, in svc_rpcbind_set_version()
1010 int svc_generic_rpcbind_set(struct net *net, in svc_generic_rpcbind_set()
1052 int svc_register(const struct svc_serv *serv, struct net *net, in svc_register()
[all …]
/linux-5.10/net/xfrm/
Dxfrm_interface.c69 static struct xfrm_if *xfrmi_lookup(struct net *net, struct xfrm_state *x) in xfrmi_lookup()
102 struct net *net = xs_net(xfrm_input_state(skb)); in xfrmi_decode_session() local
151 struct net *net = dev_net(dev); in xfrmi_create() local
168 static struct xfrm_if *xfrmi_locate(struct net *net, struct xfrm_if_parms *p) in xfrmi_locate()
406 struct net *net = dev_net(skb->dev); in xfrmi4_err() local
466 struct net *net = dev_net(skb->dev); in xfrmi6_err() local
529 struct net *net = xi->net; in xfrmi_update() local
642 struct net *net = dev_net(dev); in xfrmi_newlink() local
671 struct net *net = xi->net; in xfrmi_changelink() local
739 struct net *net; in xfrmi_exit_batch_net() local
/linux-5.10/net/ipv4/
Dudp_tunnel_core.c13 int udp_sock_create4(struct net *net, struct udp_port_cfg *cfg, in udp_sock_create4()
63 void setup_udp_tunnel_sock(struct net *net, struct socket *sock, in setup_udp_tunnel_sock()
127 struct net *net = sock_net(sk); in udp_tunnel_notify_add_rx_port() local
151 struct net *net = sock_net(sk); in udp_tunnel_notify_del_rx_port() local
Dudp.c132 static int udp_lib_lport_inuse(struct net *net, __u16 num, in udp_lib_lport_inuse()
168 static int udp_lib_lport_inuse2(struct net *net, __u16 num, in udp_lib_lport_inuse2()
201 struct net *net = sock_net(sk); in udp_reuseport_add_sock() local
236 struct net *net = sock_net(sk); in udp_lib_get_port() local
357 static int compute_score(struct sock *sk, struct net *net, in compute_score()
400 static u32 udp_ehashfn(const struct net *net, const __be32 laddr, in udp_ehashfn()
412 static struct sock *lookup_reuseport(struct net *net, struct sock *sk, in lookup_reuseport()
429 static struct sock *udp4_lib_lookup2(struct net *net, in udp4_lib_lookup2()
458 static struct sock *udp4_lookup_run_bpf(struct net *net, in udp4_lookup_run_bpf()
484 struct sock *__udp4_lib_lookup(struct net *net, __be32 saddr, in __udp4_lib_lookup()
[all …]
/linux-5.10/net/unix/
Dsysctl_net_unix.c25 int __net_init unix_sysctl_register(struct net *net) in unix_sysctl_register()
50 void unix_sysctl_unregister(struct net *net) in unix_sysctl_unregister()
/linux-5.10/fs/afs/
Dvlclient.c135 struct afs_net *net = vc->cell->net; in afs_vl_get_entry_by_name_u() local
274 struct afs_net *net = vc->cell->net; in afs_vl_get_addrs_u() local
380 struct afs_call *afs_vl_get_capabilities(struct afs_net *net, in afs_vl_get_capabilities()
623 struct afs_net *net = vc->cell->net; in afs_yfsvl_get_endpoints() local
737 struct afs_net *net = vc->cell->net; in afs_yfsvl_get_cell_name() local
/linux-5.10/net/mptcp/
Dmib.c42 bool mptcp_mib_alloc(struct net *net) in mptcp_mib_alloc()
57 struct net *net = seq->private; in mptcp_seq_show() local
/linux-5.10/net/core/
Drtnetlink.c412 static void __rtnl_kill_links(struct net *net, struct rtnl_link_ops *ops) in __rtnl_kill_links()
434 struct net *net; in __rtnl_link_unregister() local
448 struct net *net; in rtnl_lock_unregistering_all() local
706 int rtnetlink_send(struct sk_buff *skb, struct net *net, u32 pid, unsigned int group, int echo) in rtnetlink_send()
720 int rtnl_unicast(struct sk_buff *skb, struct net *net, u32 pid) in rtnl_unicast()
728 void rtnl_notify(struct sk_buff *skb, struct net *net, u32 pid, u32 group, in rtnl_notify()
741 void rtnl_set_sk_err(struct net *net, u32 group, int error) in rtnl_set_sk_err()
1993 struct net *net; in rtnl_get_net_ns_capable() local
2058 struct net *net = sock_net(skb->sk); in rtnl_dump_ifinfo() local
2166 struct net *net; in rtnl_link_get_net() local
[all …]
/linux-5.10/drivers/net/hyperv/
Dnetvsc_drv.c63 static void netvsc_change_rx_flags(struct net_device *net, int change) in netvsc_change_rx_flags()
83 static void netvsc_set_rx_mode(struct net_device *net) in netvsc_set_rx_mode()
111 static int netvsc_open(struct net_device *net) in netvsc_open()
197 static int netvsc_close(struct net_device *net) in netvsc_close()
497 static int netvsc_vf_xmit(struct net_device *net, struct net_device *vf_netdev, in netvsc_vf_xmit()
523 static int netvsc_xmit(struct sk_buff *skb, struct net_device *net, bool xdp_tx) in netvsc_xmit()
743 void netvsc_linkstatus_callback(struct net_device *net, in netvsc_linkstatus_callback()
813 static struct sk_buff *netvsc_alloc_recv_skb(struct net_device *net, in netvsc_alloc_recv_skb()
895 int netvsc_recv_callback(struct net_device *net, in netvsc_recv_callback()
954 static void netvsc_get_drvinfo(struct net_device *net, in netvsc_get_drvinfo()
[all …]
/linux-5.10/net/sched/
Dact_connmark.c97 static int tcf_connmark_init(struct net *net, struct nlattr *nla, in tcf_connmark_init()
203 static int tcf_connmark_walker(struct net *net, struct sk_buff *skb, in tcf_connmark_walker()
213 static int tcf_connmark_search(struct net *net, struct tc_action **a, u32 index) in tcf_connmark_search()
232 static __net_init int connmark_init_net(struct net *net) in connmark_init_net()

12345678910>>...33