Home
last modified time | relevance | path

Searched defs:net (Results 26 – 50 of 859) sorted by relevance

12345678910>>...35

/Linux-v6.6/include/net/
Dl3mdev.h76 static inline int l3mdev_master_ifindex_by_index(struct net *net, int ifindex) in l3mdev_master_ifindex_by_index()
121 int l3mdev_master_upper_ifindex_by_index(struct net *net, int ifindex) in l3mdev_master_upper_ifindex_by_index()
143 static inline bool netif_index_is_l3_master(struct net *net, int ifindex) in netif_index_is_l3_master()
232 static inline int l3mdev_master_ifindex_by_index(struct net *net, int ifindex) in l3mdev_master_ifindex_by_index()
238 int l3mdev_master_upper_ifindex_by_index_rcu(struct net *net, int ifindex) in l3mdev_master_upper_ifindex_by_index_rcu()
243 int l3mdev_master_upper_ifindex_by_index(struct net *net, int ifindex) in l3mdev_master_upper_ifindex_by_index()
262 static inline u32 l3mdev_fib_table_by_index(struct net *net, int ifindex) in l3mdev_fib_table_by_index()
267 static inline bool netif_index_is_l3_master(struct net *net, int ifindex) in netif_index_is_l3_master()
273 struct dst_entry *l3mdev_link_scope_lookup(struct net *net, struct flowi6 *fl6) in l3mdev_link_scope_lookup()
316 int l3mdev_ifindex_lookup_by_table_id(enum l3mdev_type l3type, struct net *net, in l3mdev_ifindex_lookup_by_table_id()
[all …]
/Linux-v6.6/net/ipv4/
Dxfrm4_policy.c20 static struct dst_entry *__xfrm4_dst_lookup(struct net *net, struct flowi4 *fl4, in __xfrm4_dst_lookup()
43 static struct dst_entry *xfrm4_dst_lookup(struct net *net, int tos, int oif, in xfrm4_dst_lookup()
53 static int xfrm4_get_saddr(struct net *net, int oif, in xfrm4_get_saddr()
158 static __net_init int xfrm4_net_sysctl_init(struct net *net) in xfrm4_net_sysctl_init()
187 static __net_exit void xfrm4_net_sysctl_exit(struct net *net) in xfrm4_net_sysctl_exit()
200 static inline int xfrm4_net_sysctl_init(struct net *net) in xfrm4_net_sysctl_init()
205 static inline void xfrm4_net_sysctl_exit(struct net *net) in xfrm4_net_sysctl_exit()
210 static int __net_init xfrm4_net_init(struct net *net) in xfrm4_net_init()
227 static void __net_exit xfrm4_net_exit(struct net *net) in xfrm4_net_exit()
Dip_fragment.c85 struct net *net = q->fqdir->net; in ip4_frag_init() local
138 struct net *net; in ip_expire() local
205 static struct ipq *ip_find(struct net *net, struct iphdr *iph, in ip_find()
277 struct net *net = qp->q.fqdir->net; in ip_frag_queue() local
414 struct net *net = qp->q.fqdir->net; in ip_frag_reasm() local
483 int ip_defrag(struct net *net, struct sk_buff *skb, u32 user) in ip_defrag()
512 struct sk_buff *ip_check_defrag(struct net *net, struct sk_buff *skb, u32 user) in ip_check_defrag()
599 static int __net_init ip4_frags_ns_ctl_register(struct net *net) in ip4_frags_ns_ctl_register()
633 static void __net_exit ip4_frags_ns_ctl_unregister(struct net *net) in ip4_frags_ns_ctl_unregister()
647 static int ip4_frags_ns_ctl_register(struct net *net) in ip4_frags_ns_ctl_register()
[all …]
Dfib_notifier.c19 int call_fib4_notifiers(struct net *net, enum fib_event_type event_type, in call_fib4_notifiers()
29 static unsigned int fib4_seq_read(struct net *net) in fib4_seq_read()
36 static int fib4_dump(struct net *net, struct notifier_block *nb, in fib4_dump()
55 int __net_init fib4_notifier_init(struct net *net) in fib4_notifier_init()
69 void __net_exit fib4_notifier_exit(struct net *net) in fib4_notifier_exit()
Dproc.c53 struct net *net = seq->private; in sockstat_seq_show() local
328 struct net *net = seq->private; in icmpmsg_put() local
350 struct net *net = seq->private; in icmp_put() local
381 struct net *net = seq->private; in snmp_seq_show_ipstats() local
408 struct net *net = seq->private; in snmp_seq_show_tcp_udp() local
474 struct net *net = seq->private; in netstat_seq_show() local
523 static __net_init int ip_proc_init_net(struct net *net) in ip_proc_init_net()
545 static __net_exit void ip_proc_exit_net(struct net *net) in ip_proc_exit_net()
Dsysctl_net_ipv4.c53 static void set_local_port_range(struct net *net, int range[2]) in set_local_port_range()
71 struct net *net = in ipv4_local_port_range() local
106 struct net *net = container_of(table->data, struct net, in ipv4_privileged_ports() local
140 struct net *net = in inet_get_ping_group_range_table() local
155 struct net *net = in set_ping_group_range() local
202 struct net *net; in ipv4_fwd_update_priority() local
218 struct net *net = container_of(ctl->data, struct net, in proc_tcp_congestion_control() local
291 struct net *net = container_of(table->data, struct net, in proc_tcp_fastopen_key() local
363 struct net *net = container_of(table->data, struct net, in proc_tfo_blackhole_detect_timeout() local
394 struct net *net = container_of(table->data, struct net, in proc_tcp_ehash_entries() local
[all …]
/Linux-v6.6/net/ipv6/
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()
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 …]
Dfib6_notifier.c18 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()
49 int __net_init fib6_notifier_init(struct net *net) in fib6_notifier_init()
61 void __net_exit fib6_notifier_exit(struct net *net) in fib6_notifier_exit()
Dxfrm6_policy.c26 static struct dst_entry *xfrm6_dst_lookup(struct net *net, int tos, int oif, in xfrm6_dst_lookup()
53 static int xfrm6_get_saddr(struct net *net, int oif, in xfrm6_get_saddr()
190 static int __net_init xfrm6_net_sysctl_init(struct net *net) in xfrm6_net_sysctl_init()
219 static void __net_exit xfrm6_net_sysctl_exit(struct net *net) in xfrm6_net_sysctl_exit()
232 static inline int xfrm6_net_sysctl_init(struct net *net) in xfrm6_net_sysctl_init()
237 static inline void xfrm6_net_sysctl_exit(struct net *net) in xfrm6_net_sysctl_exit()
242 static int __net_init xfrm6_net_init(struct net *net) in xfrm6_net_init()
259 static void __net_exit xfrm6_net_exit(struct net *net) in xfrm6_net_exit()
Dfib6_rules.c52 int fib6_rules_dump(struct net *net, struct notifier_block *nb, in fib6_rules_dump()
58 unsigned int fib6_rules_seq_read(struct net *net) in fib6_rules_seq_read()
64 int fib6_lookup(struct net *net, int oif, struct flowi6 *fl6, in fib6_lookup()
92 struct dst_entry *fib6_rule_lookup(struct net *net, struct flowi6 *fl6, in fib6_rule_lookup()
133 static int fib6_rule_saddr(struct net *net, struct fib_rule *rule, int flags, in fib6_rule_saddr()
163 struct net *net = rule->fr_net; in fib6_rule_action_alt() local
203 struct net *net = rule->fr_net; in __fib6_rule_action() local
350 struct net *net = sock_net(skb->sk); in fib6_rule_configure() local
392 struct net *net = rule->fr_net; in fib6_rule_delete() local
469 static int __net_init fib6_rules_net_init(struct net *net) in fib6_rules_net_init()
[all …]
/Linux-v6.6/net/tipc/
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-v6.6/net/netfilter/
Dnf_conntrack_standalone.c300 struct net *net = seq_file_net(s); in ct_seq_show() local
392 struct net *net = seq_file_net(seq); in ct_cpu_seq_start() local
410 struct net *net = seq_file_net(seq); in ct_cpu_seq_next() local
429 struct net *net = seq_file_net(seq); in ct_cpu_seq_show() local
471 static int nf_conntrack_standalone_init_proc(struct net *net) in nf_conntrack_standalone_init_proc()
499 static void nf_conntrack_standalone_fini_proc(struct net *net) in nf_conntrack_standalone_fini_proc()
505 static int nf_conntrack_standalone_init_proc(struct net *net) in nf_conntrack_standalone_init_proc()
510 static void nf_conntrack_standalone_fini_proc(struct net *net) in nf_conntrack_standalone_fini_proc()
515 u32 nf_conntrack_count(const struct net *net) in nf_conntrack_count()
974 static void nf_conntrack_standalone_init_tcp_sysctl(struct net *net, in nf_conntrack_standalone_init_tcp_sysctl()
[all …]
Dnf_conntrack_ecache.c41 struct nf_conntrack_net_ecache *nf_conn_pernet_ecache(const struct net *net) in nf_conn_pernet_ecache()
132 struct net *net = nf_ct_net(item->ct); in __nf_conntrack_eventmask_report() local
236 struct net *net = nf_ct_exp_net(exp); in nf_ct_expect_event_report() local
261 void nf_conntrack_register_notifier(struct net *net, in nf_conntrack_register_notifier()
275 void nf_conntrack_unregister_notifier(struct net *net) in nf_conntrack_unregister_notifier()
284 void nf_conntrack_ecache_work(struct net *net, enum nf_ct_ecache_state state) in nf_conntrack_ecache_work()
302 struct net *net = nf_ct_net(ct); in nf_ct_ecache_ext_add() local
340 void nf_conntrack_ecache_pernet_init(struct net *net) in nf_conntrack_ecache_pernet_init()
353 void nf_conntrack_ecache_pernet_fini(struct net *net) in nf_conntrack_ecache_pernet_fini()
/Linux-v6.6/net/can/
Dproc.c79 static void can_init_stats(struct net *net) in can_init_stats()
117 struct net *net = from_timer(net, t, can.stattimer); in can_stat_update() local
212 struct net *net = m->private; in can_stats_proc_show() local
274 struct net *net = m->private; in can_reset_stats_proc_show() local
311 struct net *net = m->private; in can_rcvlist_proc_show() local
365 struct net *net = m->private; in can_rcvlist_sff_proc_show() local
398 struct net *net = m->private; in can_rcvlist_eff_proc_show() local
430 void can_init_proc(struct net *net) in can_init_proc()
468 void can_remove_proc(struct net *net) in can_remove_proc()
/Linux-v6.6/drivers/usb/gadget/function/
Du_ether.c61 struct net_device *net; member
109 static void eth_get_drvinfo(struct net_device *net, struct ethtool_drvinfo *p) in eth_get_drvinfo()
455 struct net_device *net) in eth_start_xmit()
614 static int eth_open(struct net_device *net) in eth_open()
632 static int eth_stop(struct net_device *net) in eth_stop()
744 struct net_device *net; in gether_setup_name() local
816 struct net_device *net; in gether_setup_name_default() local
857 int gether_register_netdev(struct net_device *net) in gether_register_netdev()
889 void gether_set_gadget(struct net_device *net, struct usb_gadget *g) in gether_set_gadget()
899 int gether_set_dev_addr(struct net_device *net, const char *dev_addr) in gether_set_dev_addr()
[all …]
/Linux-v6.6/net/ipv6/netfilter/
Dnf_conntrack_reasm.c39 static struct nft_ct_frag6_pernet *nf_frag_pernet(struct net *net) in nf_frag_pernet()
68 static int nf_ct_frag6_sysctl_register(struct net *net) in nf_ct_frag6_sysctl_register()
105 static void __net_exit nf_ct_frags6_sysctl_unregister(struct net *net) in nf_ct_frags6_sysctl_unregister()
117 static int nf_ct_frag6_sysctl_register(struct net *net) in nf_ct_frag6_sysctl_register()
121 static void __net_exit nf_ct_frags6_sysctl_unregister(struct net *net) in nf_ct_frags6_sysctl_unregister()
145 static struct frag_queue *fq_find(struct net *net, __be32 id, u32 user, in fq_find()
438 int nf_ct_frag6_gather(struct net *net, struct sk_buff *skb, u32 user) in nf_ct_frag6_gather()
494 static int nf_ct_net_init(struct net *net) in nf_ct_net_init()
513 static void nf_ct_net_pre_exit(struct net *net) in nf_ct_net_pre_exit()
520 static void nf_ct_net_exit(struct net *net) in nf_ct_net_exit()
/Linux-v6.6/net/xfrm/
Dxfrm_policy.c115 possible_net_t net; member
254 struct dst_entry *__xfrm_dst_lookup(struct net *net, int tos, int oif, in __xfrm_dst_lookup()
280 struct net *net = xs_net(x); in xfrm_dst_lookup() local
388 struct xfrm_policy *xfrm_policy_alloc(struct net *net, gfp_t gfp) in xfrm_policy_alloc()
457 static inline unsigned int idx_hash(struct net *net, u32 index) in idx_hash()
463 static void __get_hash_thresh(struct net *net, in __get_hash_thresh()
484 static struct hlist_head *policy_hash_bysel(struct net *net, in policy_hash_bysel()
503 static struct hlist_head *policy_hash_direct(struct net *net, in policy_hash_direct()
520 static void xfrm_dst_hash_transfer(struct net *net, in xfrm_dst_hash_transfer()
577 static void xfrm_bydst_resize(struct net *net, int dir) in xfrm_bydst_resize()
[all …]
/Linux-v6.6/drivers/net/thunderbolt/
Dmain.c240 static int tbnet_login_response(struct tbnet *net, u64 route, u8 sequence, in tbnet_login_response()
257 static int tbnet_login_request(struct tbnet *net, u8 sequence) in tbnet_login_request()
277 static int tbnet_logout_response(struct tbnet *net, u64 route, u8 sequence, in tbnet_logout_response()
291 static int tbnet_logout_request(struct tbnet *net) in tbnet_logout_request()
308 static void start_login(struct tbnet *net) in start_login()
321 static void stop_login(struct tbnet *net) in stop_login()
372 static void tbnet_tear_down(struct tbnet *net, bool send_logout) in tbnet_tear_down()
421 struct tbnet *net = data; in tbnet_handle_packet() local
499 static int tbnet_alloc_rx_buffers(struct tbnet *net, unsigned int nbuffers) in tbnet_alloc_rx_buffers()
548 static struct tbnet_frame *tbnet_get_tx_buffer(struct tbnet *net) in tbnet_get_tx_buffer()
[all …]
/Linux-v6.6/include/net/netfilter/
Dnf_conntrack_l4proto.h186 static inline struct nf_generic_net *nf_generic_pernet(struct net *net) in nf_generic_pernet()
191 static inline struct nf_tcp_net *nf_tcp_pernet(struct net *net) in nf_tcp_pernet()
196 static inline struct nf_udp_net *nf_udp_pernet(struct net *net) in nf_udp_pernet()
201 static inline struct nf_icmp_net *nf_icmp_pernet(struct net *net) in nf_icmp_pernet()
206 static inline struct nf_icmp_net *nf_icmpv6_pernet(struct net *net) in nf_icmpv6_pernet()
227 static inline struct nf_dccp_net *nf_dccp_pernet(struct net *net) in nf_dccp_pernet()
234 static inline struct nf_sctp_net *nf_sctp_pernet(struct net *net) in nf_sctp_pernet()
241 static inline struct nf_gre_net *nf_gre_pernet(struct net *net) in nf_gre_pernet()
/Linux-v6.6/net/mctp/
Dneigh.c28 struct net *net = dev_net(mdev->dev); in mctp_neigh_add() local
73 struct net *net = dev_net(mdev->dev); in mctp_neigh_remove_dev() local
91 struct net *net = dev_net(mdev->dev); in mctp_neigh_remove() local
118 struct net *net = sock_net(skb->sk); in mctp_rtm_newneigh() local
176 struct net *net = sock_net(skb->sk); in mctp_rtm_delneigh() local
245 struct net *net = sock_net(skb->sk); in mctp_rtm_getneigh() local
281 struct net *net = dev_net(mdev->dev); in mctp_neigh_lookup() local
300 static int __net_init mctp_neigh_net_init(struct net *net) in mctp_neigh_net_init()
309 static void __net_exit mctp_neigh_net_exit(struct net *net) in mctp_neigh_net_exit()
/Linux-v6.6/fs/lockd/
Dsvc.c109 static void set_grace_period(struct net *net) in set_grace_period()
126 struct net *net = &init_net; in lockd() local
158 struct net *net, const int family, in create_lockd_listener()
172 static int create_lockd_family(struct svc_serv *serv, struct net *net, in create_lockd_family()
196 static int make_socks(struct svc_serv *serv, struct net *net, in make_socks()
222 static int lockd_up_net(struct svc_serv *serv, struct net *net, in lockd_up_net()
247 static void lockd_down_net(struct svc_serv *serv, struct net *net) in lockd_down_net()
385 int lockd_up(struct net *net, const struct cred *cred) in lockd_up()
411 lockd_down(struct net *net) in lockd_down()
552 static int lockd_init_net(struct net *net) in lockd_init_net()
[all …]
/Linux-v6.6/fs/afs/
Dproc.c91 struct afs_net *net = afs_seq2net(m); in afs_proc_cells_write() local
155 struct afs_net *net; in afs_proc_rootcell_show() local
175 struct afs_net *net = afs_seq2net_single(m); in afs_proc_rootcell_write() local
438 struct afs_net *net = afs_seq2net(m); in afs_proc_sysname_show() local
450 struct afs_net *net = afs_seq2net(m); in afs_proc_sysname_start() local
463 struct afs_net *net = afs_seq2net(m); in afs_proc_sysname_next() local
475 struct afs_net *net = afs_seq2net(m); in afs_proc_sysname_stop() local
494 struct afs_net *net = afs_seq2net(m); in afs_proc_sysname_write() local
583 struct afs_net *net = afs_seq2net_single(m); in afs_proc_stats_show() local
615 struct afs_net *net = cell->net; in afs_proc_cell_setup() local
[all …]
/Linux-v6.6/fs/nfsd/
Dnfssvc.c280 int nfsd_nrthreads(struct net *net) in nfsd_nrthreads()
292 static int nfsd_init_socks(struct net *net, const struct cred *cred) in nfsd_init_socks()
410 static int nfsd_startup_net(struct net *net, const struct cred *cred) in nfsd_startup_net()
464 static void nfsd_shutdown_net(struct net *net) in nfsd_shutdown_net()
485 struct net *net = dev_net(dev); in nfsd_inetaddr_event() local
515 struct net *net = dev_net(dev); in nfsd_inet6addr_event() local
545 static void nfsd_last_thread(struct net *net) in nfsd_last_thread()
639 void nfsd_shutdown_threads(struct net *net) in nfsd_shutdown_threads()
664 int nfsd_create_serv(struct net *net) in nfsd_create_serv()
704 int nfsd_nrpools(struct net *net) in nfsd_nrpools()
[all …]
/Linux-v6.6/include/linux/
Dnetfilter.h74 struct net *net; member
153 struct net *net, in nf_hook_state_init()
154 int (*okfn)(struct net *, struct sock *, struct sk_buff *)) in nf_hook_state_init()
213 static inline int nf_hook(u_int8_t pf, unsigned int hook, struct net *net, in nf_hook()
216 int (*okfn)(struct net *, struct sock *, struct sk_buff *)) in nf_hook()
284 NF_HOOK_COND(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, in NF_HOOK_COND()
286 int (*okfn)(struct net *, struct sock *, struct sk_buff *), in NF_HOOK_COND()
298 NF_HOOK(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, struct sk_buff *skb, in NF_HOOK()
300 int (*okfn)(struct net *, struct sock *, struct sk_buff *)) in NF_HOOK()
309 NF_HOOK_LIST(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, in NF_HOOK_LIST()
[all …]

12345678910>>...35