/linux-5.10/net/netfilter/ |
D | nf_queue.c | 34 void nf_register_queue_handler(struct net *net, const struct nf_queue_handler *qh) in nf_register_queue_handler() 43 void nf_unregister_queue_handler(struct net *net) in nf_unregister_queue_handler() 114 void nf_queue_nf_hook_drop(struct net *net) in nf_queue_nf_hook_drop() 160 struct net *net = state->net; in __nf_queue() local 262 static struct nf_hook_entries *nf_hook_entries_head(const struct net *net, u8 pf, u8 hooknum) in nf_hook_entries_head() 287 const struct net *net; in nf_reinject() local
|
D | nfnetlink_acct.c | 47 static int nfnl_acct_new(struct net *net, struct sock *nfnl, in nfnl_acct_new() 190 struct net *net = sock_net(skb->sk); in nfnl_acct_dump() local 267 static int nfnl_acct_get(struct net *net, struct sock *nfnl, in nfnl_acct_get() 340 static int nfnl_acct_del(struct net *net, struct sock *nfnl, in nfnl_acct_del() 403 struct nf_acct *nfnl_acct_find_get(struct net *net, const char *acct_name) in nfnl_acct_find_get() 445 static void nfnl_overquota_report(struct net *net, struct nf_acct *nfacct) in nfnl_overquota_report() 464 int nfnl_acct_overquota(struct net *net, struct nf_acct *nfacct) in nfnl_acct_overquota() 489 static int __net_init nfnl_acct_net_init(struct net *net) in nfnl_acct_net_init() 496 static void __net_exit nfnl_acct_net_exit(struct net *net) in nfnl_acct_net_exit()
|
D | nft_set_hash.c | 77 static bool nft_rhash_lookup(const struct net *net, const struct nft_set *set, in nft_rhash_lookup() 95 static void *nft_rhash_get(const struct net *net, const struct nft_set *set, in nft_rhash_get() 158 static int nft_rhash_insert(const struct net *net, const struct nft_set *set, in nft_rhash_insert() 182 static void nft_rhash_activate(const struct net *net, const struct nft_set *set, in nft_rhash_activate() 191 static bool nft_rhash_flush(const struct net *net, in nft_rhash_flush() 204 static void *nft_rhash_deactivate(const struct net *net, in nft_rhash_deactivate() 227 static void nft_rhash_remove(const struct net *net, in nft_rhash_remove() 422 static bool nft_hash_lookup(const struct net *net, const struct nft_set *set, in nft_hash_lookup() 442 static void *nft_hash_get(const struct net *net, const struct nft_set *set, in nft_hash_get() 460 static bool nft_hash_lookup_fast(const struct net *net, in nft_hash_lookup_fast() [all …]
|
D | nf_tables_api.c | 69 static void nft_validate_state_update(struct net *net, u8 new_validate_state) in nft_validate_state_update() 88 struct net *net, in nft_ctx_init() 137 struct net *net = ctx->net; in nft_set_trans_bind() local 157 static int nft_netdev_register_hooks(struct net *net, in nft_netdev_register_hooks() 183 static void nft_netdev_unregister_hooks(struct net *net, in nft_netdev_unregister_hooks() 192 static int nf_tables_register_hook(struct net *net, in nf_tables_register_hook() 215 static void nf_tables_unregister_hook(struct net *net, in nf_tables_unregister_hook() 509 static struct nft_table *nft_table_lookup(const struct net *net, in nft_table_lookup() 529 static struct nft_table *nft_table_lookup_byhandle(const struct net *net, in nft_table_lookup_byhandle() 584 static int nft_request_module(struct net *net, const char *fmt, ...) in nft_request_module() [all …]
|
D | core.c | 267 nf_hook_entry_head(struct net *net, int pf, unsigned int hooknum, in nf_hook_entry_head() 324 static int nf_ingress_check(struct net *net, const struct nf_hook_ops *reg, in nf_ingress_check() 377 static int __nf_register_net_hook(struct net *net, int pf, in __nf_register_net_hook() 455 static void __nf_unregister_net_hook(struct net *net, int pf, in __nf_unregister_net_hook() 492 void nf_unregister_net_hook(struct net *net, const struct nf_hook_ops *reg) in nf_unregister_net_hook() 520 int nf_register_net_hook(struct net *net, const struct nf_hook_ops *reg) in nf_register_net_hook() 550 int nf_register_net_hooks(struct net *net, const struct nf_hook_ops *reg, in nf_register_net_hooks() 570 void nf_unregister_net_hooks(struct net *net, const struct nf_hook_ops *reg, in nf_unregister_net_hooks() 714 static int __net_init netfilter_net_init(struct net *net) in netfilter_net_init() 742 static void __net_exit netfilter_net_exit(struct net *net) in netfilter_net_exit()
|
D | nfnetlink.c | 150 int nfnetlink_has_listeners(struct net *net, unsigned int group) in nfnetlink_has_listeners() 156 int nfnetlink_send(struct sk_buff *skb, struct net *net, u32 portid, in nfnetlink_send() 163 int nfnetlink_set_err(struct net *net, u32 portid, u32 group, int error) in nfnetlink_set_err() 169 int nfnetlink_unicast(struct sk_buff *skb, struct net *net, u32 portid) in nfnetlink_unicast() 185 struct net *net = sock_net(skb->sk); in nfnetlink_rcv_msg() local 324 struct net *net = sock_net(skb->sk); in nfnetlink_rcv_batch() local 604 static int nfnetlink_bind(struct net *net, int group) in nfnetlink_bind() 623 static int __net_init nfnetlink_net_init(struct net *net) in nfnetlink_net_init() 644 struct net *net; in nfnetlink_net_exit_batch() local
|
D | nf_conncount.c | 61 struct net *net; member 97 find_or_evict(struct net *net, struct nf_conncount_list *list, in find_or_evict() 125 static int __nf_conncount_add(struct net *net, in __nf_conncount_add() 196 int nf_conncount_add(struct net *net, in nf_conncount_add() 221 bool nf_conncount_gc_list(struct net *net, in nf_conncount_gc_list() 300 insert_tree(struct net *net, in insert_tree() 385 count_tree(struct net *net, in count_tree() 506 unsigned int nf_conncount_count(struct net *net, in nf_conncount_count() 516 struct nf_conncount_data *nf_conncount_init(struct net *net, unsigned int family, in nf_conncount_init() 575 void nf_conncount_destroy(struct net *net, unsigned int family, in nf_conncount_destroy()
|
/linux-5.10/net/ipv6/ |
D | addrconf.c | 566 void inet6_netconf_notify_devconf(struct net *net, int event, int type, in inet6_netconf_notify_devconf() 640 struct net *net = sock_net(in_skb->sk); in inet6_netconf_get_devconf() local 704 struct net *net = sock_net(skb->sk); in inet6_netconf_dump_devconf() local 824 static void addrconf_forward_change(struct net *net, __s32 newf) in addrconf_forward_change() 842 struct net *net; in addrconf_fixup_forwarding() local 887 static void addrconf_linkdown_change(struct net *net, __s32 newf) in addrconf_linkdown_change() 910 struct net *net; in addrconf_fixup_linkdown() local 991 static u32 inet6_addr_hash(const struct net *net, const struct in6_addr *addr) in inet6_addr_hash() 998 static bool ipv6_chk_same_addr(struct net *net, const struct in6_addr *addr, in ipv6_chk_same_addr() 1042 struct net *net = dev_net(idev->dev); in ipv6_add_addr() local [all …]
|
D | seg6_hmac.c | 240 struct net *net = dev_net(skb->dev); in seg6_hmac_validate_skb() local 281 struct seg6_hmac_info *seg6_hmac_info_lookup(struct net *net, u32 key) in seg6_hmac_info_lookup() 292 int seg6_hmac_info_add(struct net *net, u32 key, struct seg6_hmac_info *hinfo) in seg6_hmac_info_add() 304 int seg6_hmac_info_del(struct net *net, u32 key) in seg6_hmac_info_del() 326 int seg6_push_hmac(struct net *net, struct in6_addr *saddr, in seg6_push_hmac() 405 int __net_init seg6_hmac_net_init(struct net *net) in seg6_hmac_net_init() 438 void __net_exit seg6_hmac_net_exit(struct net *net) in seg6_hmac_net_exit()
|
/linux-5.10/net/xfrm/ |
D | xfrm_proc.c | 50 struct net *net = seq->private; in xfrm_statistics_seq_show() local 64 int __net_init xfrm_proc_init(struct net *net) in xfrm_proc_init() 72 void xfrm_proc_fini(struct net *net) in xfrm_proc_fini()
|
D | xfrm_user.c | 570 static struct xfrm_state *xfrm_state_construct(struct net *net, in xfrm_state_construct() 674 struct net *net = sock_net(skb->sk); in xfrm_add_sa() local 716 static struct xfrm_state *xfrm_user_state_lookup(struct net *net, in xfrm_user_state_lookup() 753 struct net *net = sock_net(skb->sk); in xfrm_del_sa() local 1015 struct net *net = sock_net(sk); in xfrm_dump_sa_done() local 1024 struct net *net = sock_net(skb->sk); in xfrm_dump_sa() local 1094 static inline int xfrm_nlmsg_multicast(struct net *net, struct sk_buff *skb, in xfrm_nlmsg_multicast() 1128 static int build_spdinfo(struct sk_buff *skb, struct net *net, in build_spdinfo() 1184 struct net *net = sock_net(skb->sk); in xfrm_set_spdinfo() local 1229 struct net *net = sock_net(skb->sk); in xfrm_get_spdinfo() local [all …]
|
/linux-5.10/net/tls/ |
D | tls_proc.c | 27 struct net *net = seq->private; in tls_statistics_seq_show() local 38 int __net_init tls_proc_init(struct net *net) in tls_proc_init() 46 void __net_exit tls_proc_fini(struct net *net) in tls_proc_fini()
|
/linux-5.10/net/ipv4/ |
D | sysctl_net_ipv4.c | 58 static void set_local_port_range(struct net *net, int range[2]) in set_local_port_range() 76 struct net *net = in ipv4_local_port_range() local 111 struct net *net = container_of(table->data, struct net, in ipv4_privileged_ports() local 145 struct net *net = in inet_get_ping_group_range_table() local 160 struct net *net = in set_ping_group_range() local 207 struct net *net; in ipv4_fwd_update_priority() local 223 struct net *net = container_of(ctl->data, struct net, in proc_tcp_congestion_control() local 296 struct net *net = container_of(table->data, struct net, in proc_tcp_fastopen_key() local 423 struct net *net = container_of(table->data, struct net, in proc_tfo_blackhole_detect_timeout() local 456 struct net *net = container_of(table->data, struct net, in proc_fib_multipath_hash_policy() local [all …]
|
D | ping.c | 62 static inline u32 ping_hashfn(const struct net *net, u32 num, u32 mask) in ping_hashfn() 72 struct net *net, unsigned int num) in ping_hashslot() 169 static struct sock *ping_lookup(struct net *net, struct sk_buff *skb, u16 ident) in ping_lookup() 237 static void inet_get_ping_group_range_net(struct net *net, kgid_t *low, in inet_get_ping_group_range_net() 254 struct net *net = sock_net(sk); in ping_init_sock() local 298 struct net *net = sock_net(sk); in ping_check_bind_addr() local 471 struct net *net = dev_net(skb->dev); in ping_err() local 685 struct net *net = sock_net(sk); in ping_v4_sendmsg() local 953 struct net *net = dev_net(skb->dev); in ping_rcv() local 1007 struct net *net = seq_file_net(seq); in ping_get_first() local [all …]
|
/linux-5.10/net/8021q/ |
D | vlanproc.c | 92 void vlan_proc_cleanup(struct net *net) in vlan_proc_cleanup() 111 int __net_init vlan_proc_init(struct net *net) in vlan_proc_init() 171 struct net *net = seq_file_net(seq); in vlan_seq_start() local 192 struct net *net = seq_file_net(seq); in vlan_seq_next() local 218 struct net *net = seq_file_net(seq); in vlan_seq_show() local
|
/linux-5.10/net/sctp/ |
D | protocol.c | 102 static void sctp_get_local_addr_list(struct net *net) in sctp_get_local_addr_list() 119 static void sctp_free_local_addr_list(struct net *net) in sctp_free_local_addr_list() 132 int sctp_copy_local_addr_list(struct net *net, struct sctp_bind_addr *bp, in sctp_copy_local_addr_list() 349 struct net *net = sock_net(&sp->inet.sk); in sctp_v4_available() local 621 struct net *net = from_timer(net, t, sctp.addr_wq_timer); in sctp_addr_wq_timeout_handler() local 679 static void sctp_free_addr_wq(struct net *net) in sctp_free_addr_wq() 696 static struct sctp_sockaddr_entry *sctp_addr_wq_lookup(struct net *net, in sctp_addr_wq_lookup() 717 void sctp_addr_wq_mgmt(struct net *net, struct sctp_sockaddr_entry *addr, int cmd) in sctp_addr_wq_mgmt() 776 struct net *net = dev_net(ifa->ifa_dev->dev); in sctp_inetaddr_event() local 819 static int sctp_ctl_sock_init(struct net *net) in sctp_ctl_sock_init() [all …]
|
D | sysctl.c | 343 struct net *net = current->nsproxy->net_ns; in proc_sctp_do_hmac_alg() local 388 struct net *net = current->nsproxy->net_ns; in proc_sctp_do_rto_min() local 416 struct net *net = current->nsproxy->net_ns; in proc_sctp_do_rto_max() local 454 struct net *net = current->nsproxy->net_ns; in proc_sctp_do_auth() local 480 int sctp_sysctl_net_register(struct net *net) in sctp_sysctl_net_register() 500 void sctp_sysctl_net_unregister(struct net *net) in sctp_sysctl_net_unregister()
|
/linux-5.10/drivers/net/usb/ |
D | sr9800.c | 295 static void sr_set_multicast(struct net_device *net) in sr_set_multicast() 335 static int sr_mdio_read(struct net_device *net, int phy_id, int loc) in sr_mdio_read() 354 sr_mdio_write(struct net_device *net, int phy_id, int loc, int val) in sr_mdio_write() 399 sr_get_wol(struct net_device *net, struct ethtool_wolinfo *wolinfo) in sr_get_wol() 418 sr_set_wol(struct net_device *net, struct ethtool_wolinfo *wolinfo) in sr_set_wol() 438 static int sr_get_eeprom_len(struct net_device *net) in sr_get_eeprom_len() 446 static int sr_get_eeprom(struct net_device *net, in sr_get_eeprom() 472 static void sr_get_drvinfo(struct net_device *net, in sr_get_drvinfo() 481 static u32 sr_get_link(struct net_device *net) in sr_get_link() 488 static int sr_ioctl(struct net_device *net, struct ifreq *rq, int cmd) in sr_ioctl() [all …]
|
/linux-5.10/net/core/ |
D | fib_rules.c | 104 static struct fib_rules_ops *lookup_rules_ops(struct net *net, int family) in lookup_rules_ops() 138 struct net *net; in __fib_rules_register() local 164 fib_rules_register(const struct fib_rules_ops *tmpl, struct net *net) in fib_rules_register() 200 struct net *net = ops->fro_net; in fib_rules_unregister() local 361 static int call_fib_rule_notifiers(struct net *net, in call_fib_rule_notifiers() 378 int fib_rules_dump(struct net *net, struct notifier_block *nb, int family, in fib_rules_dump() 400 unsigned int fib_rules_seq_read(struct net *net, int family) in fib_rules_seq_read() 523 struct net *net = sock_net(skb->sk); in fib_nl2rule() local 756 struct net *net = sock_net(skb->sk); in fib_nl_newrule() local 864 struct net *net = sock_net(skb->sk); in fib_nl_delrule() local [all …]
|
/linux-5.10/drivers/net/can/spi/ |
D | hi311x.c | 146 struct net_device *net; member 174 static void hi3110_clean(struct net_device *net) in hi3110_clean() 366 struct net_device *net) in hi3110_hard_start_xmit() 386 static int hi3110_do_set_mode(struct net_device *net, enum can_mode mode) in hi3110_do_set_mode() 407 static int hi3110_get_berr_counter(const struct net_device *net, in hi3110_get_berr_counter() 451 static int hi3110_do_set_bittiming(struct net_device *net) in hi3110_do_set_bittiming() 476 static int hi3110_setup(struct net_device *net) in hi3110_setup() 539 static int hi3110_stop(struct net_device *net) in hi3110_stop() 578 struct net_device *net = priv->net; in hi3110_tx_work_handler() local 601 struct net_device *net = priv->net; in hi3110_restart_work_handler() local [all …]
|
/linux-5.10/fs/afs/ |
D | dynroot.c | 113 struct afs_net *net = afs_d2net(dentry); in afs_probe_cell_name() local 180 struct afs_net *net = afs_d2net(dentry); in afs_lookup_atcell() local 276 int afs_dynroot_mkdir(struct afs_net *net, struct afs_cell *cell) in afs_dynroot_mkdir() 306 void afs_dynroot_rmdir(struct afs_net *net, struct afs_cell *cell) in afs_dynroot_rmdir() 343 struct afs_net *net = afs_sb2net(sb); in afs_dynroot_populate() local 371 struct afs_net *net = afs_sb2net(sb); in afs_dynroot_depopulate() local
|
/linux-5.10/net/kcm/ |
D | kcmproc.c | 20 struct net *net = seq_file_net(seq); in kcm_get_first() local 37 struct net *net = seq_file_net(seq); in kcm_get_idx() local 85 struct net *net = seq_file_net(seq); in kcm_format_mux_header() local 249 struct net *net = seq->private; in kcm_stats_seq_show() local 348 static int kcm_proc_init_net(struct net *net) in kcm_proc_init_net() 366 static void kcm_proc_exit_net(struct net *net) in kcm_proc_exit_net()
|
/linux-5.10/net/ipv6/ila/ |
D | ila_xlat.c | 204 static int ila_add_mapping(struct net *net, struct ila_xlat_params *xp) in ila_add_mapping() 283 static int ila_del_mapping(struct net *net, struct ila_xlat_params *xp) in ila_del_mapping() 347 struct net *net = genl_info_net(info); in ila_xlat_nl_cmd_add_mapping() local 360 struct net *net = genl_info_net(info); in ila_xlat_nl_cmd_del_mapping() local 381 struct net *net = genl_info_net(info); in ila_xlat_nl_cmd_flush() local 463 struct net *net = genl_info_net(info); in ila_xlat_nl_cmd_get_mapping() local 507 struct net *net = sock_net(cb->skb->sk); in ila_xlat_nl_dump_start() local 604 int ila_xlat_init_net(struct net *net) in ila_xlat_init_net() 618 void ila_xlat_exit_net(struct net *net) in ila_xlat_exit_net() 635 struct net *net = dev_net(skb->dev); in ila_xlat_addr() local
|
/linux-5.10/include/net/ |
D | ipv6.h | 197 #define IP6_REPLY_MARK(net, mark) \ argument 206 #define _DEVINC(net, statname, mod, idev, field) \ argument 215 #define _DEVINCATOMIC(net, statname, mod, idev, field) \ argument 224 #define _DEVINC_ATOMIC_ATOMIC(net, statname, idev, field) \ argument 232 #define _DEVADD(net, statname, mod, idev, field, val) \ argument 240 #define _DEVUPD(net, statname, mod, idev, field, val) \ argument 250 #define IP6_INC_STATS(net, idev,field) \ argument 252 #define __IP6_INC_STATS(net, idev,field) \ argument 254 #define IP6_ADD_STATS(net, idev,field,val) \ argument 256 #define __IP6_ADD_STATS(net, idev,field,val) \ argument [all …]
|
/linux-5.10/net/rds/ |
D | tcp.c | 316 static int rds_tcp_laddr_check(struct net *net, const struct in6_addr *addr, in rds_tcp_laddr_check() 493 struct net *net = sock_net(sk); in rds_tcp_tune() local 521 struct net *net = sock_net(sk); in rds_tcp_accept_work() local 527 static __net_init int rds_tcp_init_net(struct net *net) in rds_tcp_init_net() 588 static void rds_tcp_kill_sock(struct net *net) in rds_tcp_kill_sock() 615 static void __net_exit rds_tcp_exit_net(struct net *net) in rds_tcp_exit_net() 635 void *rds_tcp_listen_sock_def_readable(struct net *net) in rds_tcp_listen_sock_def_readable() 651 static void rds_tcp_sysctl_reset(struct net *net) in rds_tcp_sysctl_reset() 671 struct net *net = current->nsproxy->net_ns; in rds_tcp_skbuf_handler() local
|