/linux-5.10/include/net/ |
D | l3mdev.h | 76 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-5.10/net/ipv6/ |
D | ip6_input.c | 49 static void ip6_rcv_finish_core(struct net *net, struct sock *sk, in ip6_rcv_finish_core() 66 int ip6_rcv_finish(struct net *net, struct sock *sk, struct sk_buff *skb) in ip6_rcv_finish() 96 static struct sk_buff *ip6_extract_route_hint(const struct net *net, in ip6_extract_route_hint() 105 static void ip6_list_rcv_finish(struct net *net, struct sock *sk, in ip6_list_rcv_finish() 146 struct net *net) in ip6_rcv_core() 302 struct net *net = dev_net(skb->dev); in ipv6_rcv() local 313 struct net *net) in ip6_sublist_rcv() 332 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() 471 static int ip6_input_finish(struct net *net, struct sock *sk, struct sk_buff *skb) in ip6_input_finish()
|
D | fib6_notifier.c | 18 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()
|
D | xfrm6_tunnel.c | 35 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 288 struct net *net = xs_net(x); in xfrm6_tunnel_destroy() local 315 static int __net_init xfrm6_tunnel_net_init(struct net *net) in xfrm6_tunnel_net_init() [all …]
|
D | xfrm6_policy.c | 26 static struct dst_entry *xfrm6_dst_lookup(struct net *net, int tos, int oif, in xfrm6_dst_lookup() 54 static int xfrm6_get_saddr(struct net *net, int oif, in xfrm6_get_saddr() 198 static int __net_init xfrm6_net_sysctl_init(struct net *net) in xfrm6_net_sysctl_init() 226 static void __net_exit xfrm6_net_sysctl_exit(struct net *net) in xfrm6_net_sysctl_exit() 239 static inline int xfrm6_net_sysctl_init(struct net *net) in xfrm6_net_sysctl_init() 244 static inline void xfrm6_net_sysctl_exit(struct net *net) in xfrm6_net_sysctl_exit() 249 static int __net_init xfrm6_net_init(struct net *net) in xfrm6_net_init() 266 static void __net_exit xfrm6_net_exit(struct net *net) in xfrm6_net_exit()
|
D | addrconf_core.c | 132 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()
|
/linux-5.10/net/ipv4/ |
D | fib_notifier.c | 20 int call_fib4_notifiers(struct net *net, enum fib_event_type event_type, in call_fib4_notifiers() 30 static unsigned int fib4_seq_read(struct net *net) in fib4_seq_read() 37 static int fib4_dump(struct net *net, struct notifier_block *nb, in fib4_dump() 56 int __net_init fib4_notifier_init(struct net *net) in fib4_notifier_init() 70 void __net_exit fib4_notifier_exit(struct net *net) in fib4_notifier_exit()
|
D | xfrm4_policy.c | 20 static struct dst_entry *__xfrm4_dst_lookup(struct net *net, struct flowi4 *fl4, in __xfrm4_dst_lookup() 45 static struct dst_entry *xfrm4_dst_lookup(struct net *net, int tos, int oif, in xfrm4_dst_lookup() 55 static int xfrm4_get_saddr(struct net *net, int oif, in xfrm4_get_saddr() 171 static __net_init int xfrm4_net_sysctl_init(struct net *net) in xfrm4_net_sysctl_init() 199 static __net_exit void xfrm4_net_sysctl_exit(struct net *net) in xfrm4_net_sysctl_exit() 212 static inline int xfrm4_net_sysctl_init(struct net *net) in xfrm4_net_sysctl_init() 217 static inline void xfrm4_net_sysctl_exit(struct net *net) in xfrm4_net_sysctl_exit() 222 static int __net_init xfrm4_net_init(struct net *net) in xfrm4_net_init() 239 static void __net_exit xfrm4_net_exit(struct net *net) in xfrm4_net_exit()
|
D | ip_fragment.c | 85 struct net *net = q->fqdir->net; in ip4_frag_init() local 138 struct net *net; in ip_expire() local 203 static struct ipq *ip_find(struct net *net, struct iphdr *iph, in ip_find() 274 struct net *net = qp->q.fqdir->net; in ip_frag_queue() local 405 struct net *net = qp->q.fqdir->net; in ip_frag_reasm() local 474 int ip_defrag(struct net *net, struct sk_buff *skb, u32 user) in ip_defrag() 503 struct sk_buff *ip_check_defrag(struct net *net, struct sk_buff *skb, u32 user) in ip_check_defrag() 590 static int __net_init ip4_frags_ns_ctl_register(struct net *net) in ip4_frags_ns_ctl_register() 623 static void __net_exit ip4_frags_ns_ctl_unregister(struct net *net) in ip4_frags_ns_ctl_unregister() 637 static int ip4_frags_ns_ctl_register(struct net *net) in ip4_frags_ns_ctl_register() [all …]
|
D | proc.c | 53 struct net *net = seq->private; in sockstat_seq_show() local 324 struct net *net = seq->private; in icmpmsg_put() local 346 struct net *net = seq->private; in icmp_put() local 375 struct net *net = seq->private; in snmp_seq_show_ipstats() local 402 struct net *net = seq->private; in snmp_seq_show_tcp_udp() local 467 struct net *net = seq->private; in netstat_seq_show() local 495 static __net_init int ip_proc_init_net(struct net *net) in ip_proc_init_net() 517 static __net_exit void ip_proc_exit_net(struct net *net) in ip_proc_exit_net()
|
D | nexthop.c | 39 static int call_nexthop_notifiers(struct net *net, in call_nexthop_notifiers() 59 static void nexthop_devhash_add(struct net *net, struct nh_info *nhi) in nexthop_devhash_add() 145 static void nh_base_seq_inc(struct net *net) in nh_base_seq_inc() 152 struct nexthop *nexthop_find_by_id(struct net *net, u32 id) in nexthop_find_by_id() 178 static u32 nh_find_unused_id(struct net *net) in nh_find_unused_id() 437 static int nh_check_attr_group(struct net *net, struct nlattr *tb[], in nh_check_attr_group() 780 static void remove_nh_grp_entry(struct net *net, struct nh_grp_entry *nhge, in remove_nh_grp_entry() 839 static void remove_nexthop_from_groups(struct net *net, struct nexthop *nh, in remove_nexthop_from_groups() 867 static void __remove_nexthop_fib(struct net *net, struct nexthop *nh) in __remove_nexthop_fib() 889 static void __remove_nexthop(struct net *net, struct nexthop *nh, in __remove_nexthop() [all …]
|
/linux-5.10/net/can/ |
D | proc.c | 79 static void can_init_stats(struct net *net) in can_init_stats() 121 struct net *net = from_timer(net, t, can.stattimer); in can_stat_update() local 214 struct net *net = m->private; in can_stats_proc_show() local 276 struct net *net = m->private; in can_reset_stats_proc_show() local 313 struct net *net = m->private; in can_rcvlist_proc_show() local 364 struct net *net = m->private; in can_rcvlist_sff_proc_show() local 395 struct net *net = m->private; in can_rcvlist_eff_proc_show() local 425 void can_init_proc(struct net *net) in can_init_proc() 463 void can_remove_proc(struct net *net) in can_remove_proc()
|
/linux-5.10/net/netfilter/ |
D | nf_conntrack_ecache.c | 137 struct net *net = nf_ct_net(ct); in nf_conntrack_eventmask_report() local 193 struct net *net = nf_ct_net(ct); in nf_ct_deliver_cached_events() local 248 struct net *net = nf_ct_exp_net(exp); in nf_ct_expect_event_report() local 273 int nf_conntrack_register_notifier(struct net *net, in nf_conntrack_register_notifier() 295 void nf_conntrack_unregister_notifier(struct net *net, in nf_conntrack_unregister_notifier() 310 int nf_ct_expect_register_notifier(struct net *net, in nf_ct_expect_register_notifier() 332 void nf_ct_expect_unregister_notifier(struct net *net, in nf_ct_expect_unregister_notifier() 356 void nf_conntrack_ecache_pernet_init(struct net *net) in nf_conntrack_ecache_pernet_init() 362 void nf_conntrack_ecache_pernet_fini(struct net *net) in nf_conntrack_ecache_pernet_fini()
|
D | nf_conntrack_proto_gre.c | 53 static inline struct nf_gre_net *gre_pernet(struct net *net) in gre_pernet() 58 void nf_ct_gre_keymap_flush(struct net *net) in nf_ct_gre_keymap_flush() 82 static __be16 gre_keymap_lookup(struct net *net, struct nf_conntrack_tuple *t) in gre_keymap_lookup() 105 struct net *net = nf_ct_net(ct); in nf_ct_gre_keymap_add() local 165 struct net *net, struct nf_conntrack_tuple *tuple) in gre_pkt_to_tuple() 209 static unsigned int *gre_get_timeouts(struct net *net) in gre_get_timeouts() 257 struct net *net, void *data) in gre_timeout_nlattr_to_obj() 302 void nf_conntrack_gre_init_net(struct net *net) in nf_conntrack_gre_init_net()
|
D | nfnetlink_cttimeout.c | 48 struct net *net, const struct nlattr *attr) in ctnl_timeout_parse_policy() 74 static int cttimeout_new_timeout(struct net *net, struct sock *ctnl, in cttimeout_new_timeout() 209 struct net *net = sock_net(skb->sk); in ctnl_timeout_dump() local 241 static int cttimeout_get_timeout(struct net *net, struct sock *ctnl, in cttimeout_get_timeout() 294 static int ctnl_timeout_try_del(struct net *net, struct ctnl_timeout *timeout) in ctnl_timeout_try_del() 312 static int cttimeout_del_timeout(struct net *net, struct sock *ctnl, in cttimeout_del_timeout() 344 static int cttimeout_default_set(struct net *net, struct sock *ctnl, in cttimeout_default_set() 379 cttimeout_default_fill_info(struct net *net, struct sk_buff *skb, u32 portid, in cttimeout_default_fill_info() 423 static int cttimeout_default_get(struct net *net, struct sock *ctnl, in cttimeout_default_get() 513 static struct nf_ct_timeout *ctnl_timeout_find_get(struct net *net, in ctnl_timeout_find_get() [all …]
|
D | nf_conntrack_standalone.c | 298 struct net *net = seq_file_net(s); in ct_seq_show() local 389 struct net *net = seq_file_net(seq); in ct_cpu_seq_start() local 407 struct net *net = seq_file_net(seq); in ct_cpu_seq_next() local 426 struct net *net = seq_file_net(seq); in ct_cpu_seq_show() local 466 static int nf_conntrack_standalone_init_proc(struct net *net) in nf_conntrack_standalone_init_proc() 494 static void nf_conntrack_standalone_fini_proc(struct net *net) in nf_conntrack_standalone_fini_proc() 500 static int nf_conntrack_standalone_init_proc(struct net *net) in nf_conntrack_standalone_init_proc() 505 static void nf_conntrack_standalone_fini_proc(struct net *net) in nf_conntrack_standalone_fini_proc() 939 static void nf_conntrack_standalone_init_tcp_sysctl(struct net *net, in nf_conntrack_standalone_init_tcp_sysctl() 968 static void nf_conntrack_standalone_init_sctp_sysctl(struct net *net, in nf_conntrack_standalone_init_sctp_sysctl() [all …]
|
/linux-5.10/net/xfrm/ |
D | xfrm_sysctl.c | 7 static void __net_init __xfrm_sysctl_init(struct net *net) in __xfrm_sysctl_init() 44 int __net_init xfrm_sysctl_init(struct net *net) in xfrm_sysctl_init() 73 void __net_exit xfrm_sysctl_fini(struct net *net) in xfrm_sysctl_fini() 82 int __net_init xfrm_sysctl_init(struct net *net) in xfrm_sysctl_init()
|
D | xfrm_policy.c | 113 possible_net_t net; member 253 struct dst_entry *__xfrm_dst_lookup(struct net *net, int tos, int oif, in __xfrm_dst_lookup() 279 struct net *net = xs_net(x); in xfrm_dst_lookup() local 387 struct xfrm_policy *xfrm_policy_alloc(struct net *net, gfp_t gfp) in xfrm_policy_alloc() 455 static inline unsigned int idx_hash(struct net *net, u32 index) in idx_hash() 461 static void __get_hash_thresh(struct net *net, in __get_hash_thresh() 482 static struct hlist_head *policy_hash_bysel(struct net *net, in policy_hash_bysel() 501 static struct hlist_head *policy_hash_direct(struct net *net, in policy_hash_direct() 518 static void xfrm_dst_hash_transfer(struct net *net, in xfrm_dst_hash_transfer() 575 static void xfrm_bydst_resize(struct net *net, int dir) in xfrm_bydst_resize() [all …]
|
/linux-5.10/net/tipc/ |
D | name_distr.c | 68 static struct sk_buff *named_prepare_buf(struct net *net, u32 type, u32 size, in named_prepare_buf() 87 struct sk_buff *tipc_named_publish(struct net *net, struct publication *publ) in tipc_named_publish() 115 struct sk_buff *tipc_named_withdraw(struct net *net, struct publication *publ) in tipc_named_withdraw() 145 static void named_distribute(struct net *net, struct sk_buff_head *list, in named_distribute() 198 void tipc_named_node_up(struct net *net, u32 dnode, u16 capabilities) in tipc_named_node_up() 224 static void tipc_publ_purge(struct net *net, struct publication *publ, u32 addr) in tipc_publ_purge() 250 static void tipc_dist_queue_purge(struct net *net, u32 addr) in tipc_dist_queue_purge() 265 void tipc_publ_notify(struct net *net, struct list_head *nsub_list, in tipc_publ_notify() 289 static bool tipc_update_nametbl(struct net *net, struct distr_item *i, in tipc_update_nametbl() 370 void tipc_named_rcv(struct net *net, struct sk_buff_head *namedq, in tipc_named_rcv() [all …]
|
/linux-5.10/fs/nfsd/ |
D | nfssvc.c | 280 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() 381 static int nfsd_startup_net(int nrservs, struct net *net, const struct cred *cred) in nfsd_startup_net() 425 static void nfsd_shutdown_net(struct net *net) in nfsd_shutdown_net() 444 struct net *net = dev_net(dev); in nfsd_inetaddr_event() local 475 struct net *net = dev_net(dev); in nfsd_inet6addr_event() local 505 static void nfsd_last_thread(struct svc_serv *serv, struct net *net) in nfsd_last_thread() 609 int nfsd_create_serv(struct net *net) in nfsd_create_serv() 647 int nfsd_nrpools(struct net *net) in nfsd_nrpools() 657 int nfsd_get_nrthreads(int n, int *nthreads, struct net *net) in nfsd_get_nrthreads() [all …]
|
/linux-5.10/include/linux/ |
D | netfilter.h | 73 struct net *net; member 145 struct net *net, in nf_hook_state_init() 146 int (*okfn)(struct net *, struct sock *, struct sk_buff *)) in nf_hook_state_init() 205 static inline int nf_hook(u_int8_t pf, unsigned int hook, struct net *net, in nf_hook() 208 int (*okfn)(struct net *, struct sock *, struct sk_buff *)) in nf_hook() 281 NF_HOOK_COND(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, in NF_HOOK_COND() 283 int (*okfn)(struct net *, struct sock *, struct sk_buff *), in NF_HOOK_COND() 295 NF_HOOK(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, struct sk_buff *skb, in NF_HOOK() 297 int (*okfn)(struct net *, struct sock *, struct sk_buff *)) in NF_HOOK() 306 NF_HOOK_LIST(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, in NF_HOOK_LIST() [all …]
|
/linux-5.10/net/ipv6/netfilter/ |
D | ip6table_nat.c | 65 static int ip6t_nat_register_lookups(struct net *net) in ip6t_nat_register_lookups() 82 static void ip6t_nat_unregister_lookups(struct net *net) in ip6t_nat_unregister_lookups() 90 static int __net_init ip6table_nat_table_init(struct net *net) in ip6table_nat_table_init() 117 static void __net_exit ip6table_nat_net_pre_exit(struct net *net) in ip6table_nat_net_pre_exit() 123 static void __net_exit ip6table_nat_net_exit(struct net *net) in ip6table_nat_net_exit()
|
D | nf_conntrack_reasm.c | 76 static int nf_ct_frag6_sysctl_register(struct net *net) in nf_ct_frag6_sysctl_register() 110 static void __net_exit nf_ct_frags6_sysctl_unregister(struct net *net) in nf_ct_frags6_sysctl_unregister() 121 static int nf_ct_frag6_sysctl_register(struct net *net) in nf_ct_frag6_sysctl_register() 125 static void __net_exit nf_ct_frags6_sysctl_unregister(struct net *net) in nf_ct_frags6_sysctl_unregister() 149 static struct frag_queue *fq_find(struct net *net, __be32 id, u32 user, in fq_find() 440 int nf_ct_frag6_gather(struct net *net, struct sk_buff *skb, u32 user) in nf_ct_frag6_gather() 496 static int nf_ct_net_init(struct net *net) in nf_ct_net_init() 514 static void nf_ct_net_pre_exit(struct net *net) in nf_ct_net_pre_exit() 519 static void nf_ct_net_exit(struct net *net) in nf_ct_net_exit()
|
/linux-5.10/net/ipv4/netfilter/ |
D | iptable_nat.c | 63 static int ipt_nat_register_lookups(struct net *net) in ipt_nat_register_lookups() 80 static void ipt_nat_unregister_lookups(struct net *net) in ipt_nat_unregister_lookups() 88 static int __net_init iptable_nat_table_init(struct net *net) in iptable_nat_table_init() 116 static void __net_exit iptable_nat_net_pre_exit(struct net *net) in iptable_nat_net_pre_exit() 122 static void __net_exit iptable_nat_net_exit(struct net *net) in iptable_nat_net_exit()
|
/linux-5.10/net/smc/ |
D | smc_pnet.c | 100 static int smc_pnet_remove_by_pnetid(struct net *net, char *pnet_name) in smc_pnet_remove_by_pnetid() 186 struct net *net = dev_net(ndev); in smc_pnet_add_by_ndev() local 218 struct net *net = dev_net(ndev); in smc_pnet_remove_by_ndev() local 341 static int smc_pnet_add_eth(struct smc_pnettable *pnettable, struct net *net, in smc_pnet_add_eth() 468 static int smc_pnet_enter(struct net *net, struct nlattr *tb[]) in smc_pnet_enter() 553 struct net *net = genl_info_net(info); in smc_pnet_add() local 560 struct net *net = genl_info_net(info); in smc_pnet_del() local 592 static int _smc_pnet_dump(struct net *net, struct sk_buff *skb, u32 portid, in _smc_pnet_dump() 626 struct net *net = sock_net(skb->sk); in smc_pnet_dump() local 639 struct net *net = genl_info_net(info); in smc_pnet_get() local [all …]
|