Home
last modified time | relevance | path

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

12345678910>>...36

/linux-6.15/include/net/
H A Dnet_namespace.h61 struct net { struct
78 * methods on dead net ( argument
94 struct idr netns_ids; argument
99 * refcounted against netns argument
102 struct proc_dir_entry *proc_net; argument
109 struct sock *rtnl; /* rtnetlink socket */ argument
117 struct raw_notifier_head netdev_chain; argument
124 struct net_device *loopback_dev; /* The loopback */ argument
129 struct netns_core core; argument
161 struct net_generic __rcu *gen; argument
[all …]
/linux-6.15/include/linux/
H A Drtnetlink.h111 #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
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()
148 static inline void ASSERT_RTNL_NET(struct net *net) in ASSERT_RTNL_NET()
153 #define rcu_dereference_rtnl_net(net, p) \ argument
155 #define rtnl_net_dereference(net, p) \ argument
[all …]
/linux-6.15/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()
470 void tipc_bcast_ack_rcv(struct net *net, struct tipc_link *l, in tipc_bcast_ack_rcv()
498 int tipc_bcast_sync_rcv(struct net *net, struct tipc_link *l, in tipc_bcast_sync_rcv()
689 int tipc_bcast_init(struct net *net) in tipc_bcast_init()
722 void tipc_bcast_stop(struct net *net) in tipc_bcast_stop()
761 u32 tipc_bcast_get_mode(struct net *net) in tipc_bcast_get_mode()
[all …]
H A Dbearer.c533 int tipc_bearer_mtu(struct net *net, u32 bearer_id) in tipc_bearer_mtu()
690 struct net *net = dev_net(dev); in tipc_l2_device_event() local
748 void tipc_bearer_stop(struct net *net) in tipc_bearer_stop()
798 int tipc_attach_loopback(struct net *net) in tipc_attach_loopback()
814 void tipc_detach_loopback(struct net *net) in tipc_detach_loopback()
885 struct net *net = sock_net(skb->sk); in tipc_nl_bearer_dump() local
919 struct net *net = genl_info_net(info); in tipc_nl_bearer_get() local
969 struct net *net = sock_net(skb->sk); in __tipc_nl_bearer_disable() local
1012 struct net *net = sock_net(skb->sk); in __tipc_nl_bearer_enable() local
1068 struct net *net = sock_net(skb->sk); in tipc_nl_bearer_add() local
[all …]
/linux-6.15/net/core/
H A Dnet_namespace.c158 struct net *net; in ops_pre_exit_list() local
169 struct net *net; in ops_exit_list() local
183 struct net *net; in ops_free_list() local
422 struct net *net = NULL; in net_alloc() local
459 struct net *net, *next; in net_complete_free() local
494 struct net *net; in copy_net_ns() local
717 struct net *net; in get_net_ns() local
747 struct net *net; in get_net_ns_by_pid() local
1063 struct net *net; in rtnl_valid_dump_net_req() local
1264 struct net *net; in __register_pernet_operations() local
[all …]
H A Dfib_notifier.c29 int call_fib_notifiers(struct net *net, enum fib_event_type event_type, in call_fib_notifiers()
40 static unsigned int fib_seq_sum(struct net *net) in fib_seq_sum()
58 static int fib_net_dump(struct net *net, struct notifier_block *nb, in fib_net_dump()
81 static bool fib_dump_is_consistent(struct net *net, struct notifier_block *nb, in fib_dump_is_consistent()
97 int register_fib_notifier(struct net *net, struct notifier_block *nb, in register_fib_notifier()
119 int unregister_fib_notifier(struct net *net, struct notifier_block *nb) in unregister_fib_notifier()
128 struct net *net) in __fib_notifier_ops_register()
141 fib_notifier_ops_register(const struct fib_notifier_ops *tmpl, struct net *net) in fib_notifier_ops_register()
169 static int __net_init fib_notifier_net_init(struct net *net) in fib_notifier_net_init()
178 static void __net_exit fib_notifier_net_exit(struct net *net) in fib_notifier_net_exit()
/linux-6.15/net/sctp/
H A Dsm_statefuns.c1512 struct net *net, in sctp_sf_do_unexpected_init()
1731 struct net *net, in sctp_sf_do_5_2_1_siminit()
1786 struct net *net, in sctp_sf_do_5_2_2_dupinit()
1810 struct net *net, in sctp_sf_do_5_2_3_initack()
1856 struct net *net, in sctp_sf_do_dupcook_a()
1979 struct net *net, in sctp_sf_do_dupcook_b()
2063 struct net *net, in sctp_sf_do_dupcook_c()
2086 struct net *net, in sctp_sf_do_dupcook_d()
2198 struct net *net, in sctp_sf_do_5_2_4_dupcook()
2335 struct net *net, in sctp_sf_shutdown_pending_abort()
[all …]
/linux-6.15/net/ipv4/
H A Dfib_frontend.c152 int fib_unmerge(struct net *net) in fib_unmerge()
184 void fib_flush(struct net *net) in fib_flush()
277 struct net *net; in fib_compute_spec_dst() local
348 struct net *net = dev_net(dev); in __fib_validate_source() local
433 struct net *net = dev_net(dev); in fib_validate_source() local
878 struct net *net = sock_net(skb->sk); in inet_rtm_delroute() local
912 struct net *net = sock_net(skb->sk); in inet_rtm_newroute() local
1405 struct net *net; in nl_fib_input() local
1465 struct net *net = dev_net(dev); in fib_inetaddr_event() local
1498 struct net *net = dev_net(dev); in fib_netdev_event() local
[all …]
H A Dipmr.c312 #define ipmr_for_each_table(mrt, net) \ argument
393 struct net *net) in ipmr_new_table_set()
511 struct net *net = dev_net(dev); in reg_vif_xmit() local
1350 struct net *net = sock_net(sk); in mrtsock_destruct() local
1377 struct net *net = sock_net(sk); in ip_mroute_setsockopt() local
1594 struct net *net = sock_net(sk); in ip_mroute_getsockopt() local
1640 struct net *net = sock_net(sk); in ipmr_ioctl() local
1710 struct net *net = sock_net(sk); in ipmr_compat_ioctl() local
1766 struct net *net = dev_net(dev); in ipmr_device_event() local
2123 struct net *net = dev_net(skb->dev); in ip_mr_input() local
[all …]
H A 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()
247 struct net *net = dev_net(skb->dev); in ip_local_deliver() local
317 static int ip_rcv_finish_core(struct net *net, in ip_rcv_finish_core()
433 static int ip_rcv_finish(struct net *net, struct sock *sk, struct sk_buff *skb) in ip_rcv_finish()
454 static struct sk_buff *ip_rcv_core(struct sk_buff *skb, struct net *net) in ip_rcv_core()
561 struct net *net = dev_net(dev); in ip_rcv() local
582 static struct sk_buff *ip_extract_route_hint(const struct net *net, in ip_extract_route_hint()
592 static void ip_list_rcv_finish(struct net *net, struct list_head *head) in ip_list_rcv_finish()
631 struct net *net) in ip_sublist_rcv()
[all …]
/linux-6.15/net/ipv6/
H A Dip6_fib.c44 struct net *net; member
75 #define FOR_WALKERS(net, w) \ argument
428 struct net *net; member
571 struct net *net = sock_net(skb->sk); in fib6_dump_table() local
622 struct net *net = sock_net(skb->sk); in inet6_dump_fib() local
1029 struct net *net) in fib6_purge_rt()
1923 struct net *net = info->nl_net; in fib6_del_route() local
2013 struct net *net = info->nl_net; in fib6_del() local
2590 struct net *net) in ipv6_route_seq_setup_walk()
2604 struct net *net) in ipv6_route_seq_next_table()
[all …]
H A Dip6mr.c376 struct net *net) in ip6mr_new_table_set()
427 struct net *net = seq_file_net(seq); in ip6mr_vif_seq_start() local
615 struct net *net = dev_net(dev); in reg_vif_xmit() local
1262 struct net *net = dev_net(dev); in ip6mr_device_event() local
1374 struct net *net; in ip6mr_net_exit_batch() local
1587 struct net *net = sock_net(sk); in ip6mr_sk_init() local
1612 struct net *net = sock_net(sk); in ip6mr_sk_done() local
1681 struct net *net = sock_net(sk); in ip6_mroute_setsockopt() local
1856 struct net *net = sock_net(sk); in ip6_mroute_getsockopt() local
1906 struct net *net = sock_net(sk); in ip6mr_ioctl() local
[all …]
H A Dreassembly.c85 fq_find(struct net *net, __be32 id, const struct ipv6hdr *hdr, int iif) in fq_find()
111 struct net *net = dev_net(skb_dst(skb)->dev); in ip6_frag_queue() local
261 struct net *net = fq->q.fqdir->net; in ip6_frag_reasm() local
330 struct net *net = dev_net(skb_dst(skb)->dev); 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 Dip6_input.c48 static void ip6_rcv_finish_core(struct net *net, struct sock *sk, in ip6_rcv_finish_core()
69 int ip6_rcv_finish(struct net *net, struct sock *sk, struct sk_buff *skb) in ip6_rcv_finish()
99 static struct sk_buff *ip6_extract_route_hint(const struct net *net, in ip6_extract_route_hint()
109 static void ip6_list_rcv_finish(struct net *net, struct sock *sk, in ip6_list_rcv_finish()
149 struct net *net) in ip6_rcv_core()
304 struct net *net = dev_net(skb->dev); in ipv6_rcv() local
315 struct net *net) in ip6_sublist_rcv()
333 struct net *net = dev_net(dev); in ipv6_list_rcv() local
361 void ip6_protocol_deliver_rcu(struct net *net, struct sk_buff *skb, int nexthdr, in ip6_protocol_deliver_rcu()
477 static int ip6_input_finish(struct net *net, struct sock *sk, struct sk_buff *skb) in ip6_input_finish()
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()
/linux-6.15/kernel/bpf/
H A Dnet_namespace.c22 struct net *net; member
56 static void netns_bpf_run_array_detach(struct net *net, in netns_bpf_run_array_detach()
108 struct net *net; in bpf_netns_link_release() local
172 struct net *net; in bpf_netns_link_update_prog() local
210 struct net *net; in bpf_netns_link_fill_info() local
248 struct net *net, in __netns_bpf_prog_query()
275 struct net *net; in netns_bpf_prog_query() local
302 struct net *net; in netns_bpf_prog_attach() local
364 static int __netns_bpf_prog_detach(struct net *net, in __netns_bpf_prog_detach()
483 struct net *net; in netns_bpf_link_create() local
[all …]
/linux-6.15/net/netfilter/
H A Dnf_synproxy_core.c418 synproxy_send_tcp(struct net *net, in synproxy_send_tcp()
447 synproxy_send_client_synack(struct net *net, in synproxy_send_client_synack()
490 synproxy_send_server_syn(struct net *net, in synproxy_send_server_syn()
535 synproxy_send_server_ack(struct net *net, in synproxy_send_server_ack()
574 synproxy_send_client_ack(struct net *net, in synproxy_send_client_ack()
613 synproxy_recv_client_ack(struct net *net, in synproxy_recv_client_ack()
642 struct net *net = nhs->net; in ipv4_synproxy_hook() local
812 synproxy_send_tcp_ipv6(struct net *net, in synproxy_send_tcp_ipv6()
859 synproxy_send_client_synack_ipv6(struct net *net, in synproxy_send_client_synack_ipv6()
1029 synproxy_recv_client_ack_ipv6(struct net *net, in synproxy_recv_client_ack_ipv6()
[all …]
H A Dnf_log.c128 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()
211 void nf_log_packet(struct net *net, in nf_log_packet()
240 void nf_log_trace(struct net *net, in nf_log_trace()
324 struct net *net = seq_file_net(seq); in seq_start() local
336 struct net *net = seq_file_net(s); in seq_next() local
356 struct net *net = seq_file_net(s); in seq_show() local
418 struct net *net = table->extra2; in nf_log_proc_dostring() local
461 static int netfilter_log_sysctl_init(struct net *net) in netfilter_log_sysctl_init()
514 static void netfilter_log_sysctl_exit(struct net *net) in netfilter_log_sysctl_exit()
[all …]
/linux-6.15/drivers/rapidio/
H A Drio-scan.c56 static u16 rio_destid_alloc(struct rio_net *net) in rio_destid_alloc()
101 static void rio_destid_free(struct rio_net *net, u16 destid) in rio_destid_free()
115 static u16 rio_destid_first(struct rio_net *net) in rio_destid_first()
135 static u16 rio_destid_next(struct rio_net *net, u16 from) in rio_destid_next()
191 static int rio_clear_locks(struct rio_net *net) in rio_clear_locks()
812 static void rio_scan_release_net(struct rio_net *net) in rio_scan_release_net()
820 struct rio_net *net; in rio_scan_release_dev() local
840 struct rio_net *net; in rio_scan_alloc_net() local
951 struct rio_net *net = NULL; in rio_enum_mport() local
1027 static void rio_build_route_tables(struct rio_net *net) in rio_build_route_tables()
[all …]
/linux-6.15/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()
423 static void nfsd_shutdown_net(struct net *net) in nfsd_shutdown_net()
455 struct net *net = dev_net(dev); in nfsd_inetaddr_event() local
485 struct net *net = dev_net(dev); in nfsd_inet6addr_event() local
519 void nfsd_destroy_serv(struct net *net) in nfsd_destroy_serv()
591 void nfsd_shutdown_threads(struct net *net) in nfsd_shutdown_threads()
616 int nfsd_create_serv(struct net *net) in nfsd_create_serv()
662 int nfsd_nrpools(struct net *net) in nfsd_nrpools()
[all …]
/linux-6.15/net/smc/
H A Dsmc_pnet.c189 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
562 struct net *net = genl_info_net(info); in smc_pnet_add() local
635 struct net *net = sock_net(skb->sk); in smc_pnet_dump() local
843 struct net *net = dev_net(event_dev); in smc_pnet_netdev_event() local
877 int smc_pnet_net_init(struct net *net) in smc_pnet_net_init()
955 struct net *net = dev_net(ndev); in smc_pnet_find_ndev_pnetid_by_table() local
1001 struct net *net) in _smc_pnet_find_roce_by_pnetid()
1031 struct net *net = lgr->net; in smc_pnet_find_alt_roce() local
1042 struct net *net = dev_net(netdev); in smc_pnet_find_rdma_dev() local
[all …]
/linux-6.15/fs/lockd/
H A Dsvc.c87 static unsigned long get_lockd_grace_period(struct net *net) in get_lockd_grace_period()
111 static void set_grace_period(struct net *net) in set_grace_period()
128 struct net *net = &init_net; in lockd() local
159 struct net *net, const int family, in create_lockd_listener()
198 static int make_socks(struct svc_serv *serv, struct net *net, in make_socks()
382 int lockd_up(struct net *net, const struct cred *cred) in lockd_up()
408 lockd_down(struct net *net) in lockd_down()
548 static int lockd_init_net(struct net *net) in lockd_init_net()
559 static void lockd_exit_net(struct net *net) in lockd_exit_net()
742 struct net *net = genl_info_net(info); in lockd_nl_server_set_doit() local
[all …]
/linux-6.15/net/bridge/
H A Dbr_netfilter_hooks.c99 const struct net *net) in is_vlan_ipv6()
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()
432 const struct net *net) in brnf_get_logical_dev()
1098 struct net *net; in brnf_device_event() local
1128 int br_nf_hook_thresh(unsigned int hook, struct net *net, in br_nf_hook_thresh()
1132 int (*okfn)(struct net *, struct sock *, in br_nf_hook_thresh()
1238 static int br_netfilter_sysctl_init_net(struct net *net) in br_netfilter_sysctl_init_net()
1271 static void br_netfilter_sysctl_exit_net(struct net *net, in br_netfilter_sysctl_exit_net()
1281 static int __net_init brnf_init_net(struct net *net) in brnf_init_net()
[all …]
/linux-6.15/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()
/linux-6.15/net/mptcp/
H A Dctrl.c50 int mptcp_is_enabled(const struct net *net) in mptcp_is_enabled()
60 int mptcp_is_checksum_enabled(const struct net *net) in mptcp_is_checksum_enabled()
65 int mptcp_allow_join_id0(const struct net *net) in mptcp_allow_join_id0()
70 unsigned int mptcp_stale_loss_cnt(const struct net *net) in mptcp_stale_loss_cnt()
82 int mptcp_get_pm_type(const struct net *net) in mptcp_get_pm_type()
87 const char *mptcp_get_path_manager(const struct net *net) in mptcp_get_path_manager()
92 const char *mptcp_get_scheduler(const struct net *net) in mptcp_get_scheduler()
442 struct net *net = sock_net(sk); in mptcp_active_disable() local
468 struct net *net = sock_net(ssk); in mptcp_active_should_disable() local
516 struct net *net; in mptcp_active_detect_blackhole() local
[all …]

12345678910>>...36