| /linux/include/net/ |
| A D | net_namespace.h | 61 struct net { struct 78 * methods on dead net ( argument 90 struct idr netns_ids; argument 95 * refcounted against netns argument 98 struct proc_dir_entry *proc_net; argument 105 struct sock *rtnl; /* rtnetlink socket */ argument 113 struct raw_notifier_head netdev_chain; argument 120 struct net_device *loopback_dev; /* The loopback */ argument 125 struct netns_core core; argument 157 struct net_generic __rcu *gen; argument [all …]
|
| A 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() 323 int l3mdev_fib_rule_match(struct net *net, struct flowi *fl, in l3mdev_fib_rule_match() [all …]
|
| /linux/net/tipc/ |
| A D | bcast.c | 77 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 …]
|
| A D | bearer.c | 533 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/net/core/ |
| A D | net_namespace.c | 159 struct net *net; in ops_pre_exit_list() local 170 struct net *net; in ops_exit_list() local 184 struct net *net; in ops_free_list() local 414 struct net *net = NULL; in net_alloc() local 470 struct net *net; in copy_net_ns() local 686 struct net *net; in get_net_ns() local 718 struct net *net; in get_net_ns_by_pid() local 1034 struct net *net; in rtnl_valid_dump_net_req() local 1229 struct net *net; in __register_pernet_operations() local 1256 struct net *net; in __unregister_pernet_operations() local [all …]
|
| A D | fib_notifier.c | 29 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() 60 static int fib_net_dump(struct net *net, struct notifier_block *nb, in fib_net_dump() 83 static bool fib_dump_is_consistent(struct net *net, struct notifier_block *nb, in fib_dump_is_consistent() 99 int register_fib_notifier(struct net *net, struct notifier_block *nb, in register_fib_notifier() 121 int unregister_fib_notifier(struct net *net, struct notifier_block *nb) in unregister_fib_notifier() 130 struct net *net) in __fib_notifier_ops_register() 143 fib_notifier_ops_register(const struct fib_notifier_ops *tmpl, struct net *net) in fib_notifier_ops_register() 171 static int __net_init fib_notifier_net_init(struct net *net) in fib_notifier_net_init() 180 static void __net_exit fib_notifier_net_exit(struct net *net) in fib_notifier_net_exit()
|
| /linux/net/sctp/ |
| A D | sm_statefuns.c | 1512 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/net/ipv4/ |
| A D | fib_frontend.c | 152 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 426 struct net *net = dev_net(dev); in fib_validate_source() local 858 struct net *net = sock_net(skb->sk); in inet_rtm_delroute() local 888 struct net *net = sock_net(skb->sk); in inet_rtm_newroute() local 1376 struct net *net; in nl_fib_input() local 1436 struct net *net = dev_net(dev); in fib_inetaddr_event() local 1469 struct net *net = dev_net(dev); in fib_netdev_event() local [all …]
|
| A D | ipmr.c | 302 #define ipmr_for_each_table(mrt, net) \ argument 381 struct net *net) in ipmr_new_table_set() 495 struct net *net = dev_net(dev); in reg_vif_xmit() local 1334 struct net *net = sock_net(sk); in mrtsock_destruct() local 1361 struct net *net = sock_net(sk); in ip_mroute_setsockopt() local 1578 struct net *net = sock_net(sk); in ip_mroute_getsockopt() local 1624 struct net *net = sock_net(sk); in ipmr_ioctl() local 1694 struct net *net = sock_net(sk); in ipmr_compat_ioctl() local 1750 struct net *net = dev_net(dev); in ipmr_device_event() local 2107 struct net *net = dev_net(skb->dev); in ip_mr_input() local [all …]
|
| A D | ip_input.c | 154 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, struct sock *sk, in ip_rcv_finish_core() 435 static int ip_rcv_finish(struct net *net, struct sock *sk, struct sk_buff *skb) in ip_rcv_finish() 456 static struct sk_buff *ip_rcv_core(struct sk_buff *skb, struct net *net) in ip_rcv_core() 563 struct net *net = dev_net(dev); in ip_rcv() local 584 static struct sk_buff *ip_extract_route_hint(const struct net *net, in ip_extract_route_hint() 594 static void ip_list_rcv_finish(struct net *net, struct sock *sk, in ip_list_rcv_finish() 634 struct net *net) in ip_sublist_rcv() [all …]
|
| /linux/net/ipv6/ |
| A D | ip6_fib.c | 44 struct net *net; member 75 #define FOR_WALKERS(net, w) \ argument 435 struct net *net; member 578 struct net *net = sock_net(skb->sk); in fib6_dump_table() local 629 struct net *net = sock_net(skb->sk); in inet6_dump_fib() local 1036 struct net *net) in fib6_purge_rt() 1930 struct net *net = info->nl_net; in fib6_del_route() local 2020 struct net *net = info->nl_net; in fib6_del() local 2593 struct net *net) in ipv6_route_seq_setup_walk() 2607 struct net *net) in ipv6_route_seq_next_table() [all …]
|
| A D | ip6mr.c | 364 struct net *net) in ip6mr_new_table_set() 411 struct net *net = seq_file_net(seq); in ip6mr_vif_seq_start() local 597 struct net *net = dev_net(dev); in reg_vif_xmit() local 1244 struct net *net = dev_net(dev); in ip6mr_device_event() local 1358 struct net *net; in ip6mr_net_exit_batch() local 1566 struct net *net = sock_net(sk); in ip6mr_sk_init() local 1591 struct net *net = sock_net(sk); in ip6mr_sk_done() local 1660 struct net *net = sock_net(sk); in ip6_mroute_setsockopt() local 1835 struct net *net = sock_net(sk); in ip6_mroute_getsockopt() local 1885 struct net *net = sock_net(sk); in ip6mr_ioctl() local [all …]
|
| A D | reassembly.c | 84 fq_find(struct net *net, __be32 id, const struct ipv6hdr *hdr, int iif) in fq_find() 110 struct net *net = dev_net(skb_dst(skb)->dev); in ip6_frag_queue() local 259 struct net *net = fq->q.fqdir->net; in ip6_frag_reasm() local 332 struct net *net = dev_net(skb_dst(skb)->dev); in ipv6_frag_rcv() local 453 static int __net_init ip6_frags_ns_sysctl_register(struct net *net) in ip6_frags_ns_sysctl_register() 486 static void __net_exit ip6_frags_ns_sysctl_unregister(struct net *net) in ip6_frags_ns_sysctl_unregister() 510 static int ip6_frags_ns_sysctl_register(struct net *net) in ip6_frags_ns_sysctl_register() 515 static void ip6_frags_ns_sysctl_unregister(struct net *net) in ip6_frags_ns_sysctl_unregister() 529 static int __net_init ipv6_frags_init_net(struct net *net) in ipv6_frags_init_net() 547 static void __net_exit ipv6_frags_pre_exit_net(struct net *net) in ipv6_frags_pre_exit_net() [all …]
|
| A 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() 201 static struct net_device *eafnosupport_ipv6_dev_find(struct net *net, const struct in6_addr *addr, in eafnosupport_ipv6_dev_find()
|
| /linux/net/mptcp/ |
| A D | ctrl.c | 48 int mptcp_is_enabled(const struct net *net) in mptcp_is_enabled() 58 int mptcp_is_checksum_enabled(const struct net *net) in mptcp_is_checksum_enabled() 63 int mptcp_allow_join_id0(const struct net *net) in mptcp_allow_join_id0() 68 unsigned int mptcp_stale_loss_cnt(const struct net *net) in mptcp_stale_loss_cnt() 80 int mptcp_get_pm_type(const struct net *net) in mptcp_get_pm_type() 85 const char *mptcp_get_scheduler(const struct net *net) in mptcp_get_scheduler() 125 const struct net *net = current->nsproxy->net_ns; in proc_scheduler() local 321 struct net *net = sock_net(sk); in mptcp_active_disable() local 347 struct net *net = sock_net(ssk); in mptcp_active_should_disable() local 413 static int __net_init mptcp_net_init(struct net *net) in mptcp_net_init() [all …]
|
| /linux/kernel/bpf/ |
| A D | net_namespace.c | 22 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/net/netfilter/ |
| A D | nf_synproxy_core.c | 418 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 …]
|
| A D | nf_log.c | 128 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/fs/afs/ |
| A D | server.c | 119 struct afs_net *net = cell->net; in afs_install_server() local 200 struct afs_net *net = cell->net; in afs_alloc_server() local 320 static void afs_set_server_timer(struct afs_net *net, time64_t delay) in afs_set_server_timer() 335 struct afs_net *net = container_of(timer, struct afs_net, fs_timer); in afs_servers_timer() local 392 void afs_put_server(struct afs_net *net, struct afs_server *server, in afs_put_server() 413 void afs_unuse_server_notime(struct afs_net *net, struct afs_server *server, in afs_unuse_server_notime() 428 void afs_unuse_server(struct afs_net *net, struct afs_server *server, in afs_unuse_server() 476 static void afs_gc_servers(struct afs_net *net, struct afs_server *gc_list) in afs_gc_servers() 531 struct afs_net *net = container_of(work, struct afs_net, fs_manager); in afs_manage_servers() local 596 static void afs_queue_server_manager(struct afs_net *net) in afs_queue_server_manager() [all …]
|
| A D | cell.c | 26 static void afs_dec_cells_outstanding(struct afs_net *net) in afs_dec_cells_outstanding() 36 static void afs_set_cell_timer(struct afs_net *net, time64_t delay) in afs_set_cell_timer() 51 static struct afs_cell *afs_find_cell_locked(struct afs_net *net, in afs_find_cell_locked() 98 struct afs_cell *afs_find_cell(struct afs_net *net, in afs_find_cell() 114 static struct afs_cell *afs_alloc_cell(struct afs_net *net, in afs_alloc_cell() 233 struct afs_cell *afs_lookup_cell(struct afs_net *net, in afs_lookup_cell() 342 int afs_cell_init(struct afs_net *net, const char *rootcell) in afs_cell_init() 493 struct afs_net *net = cell->net; in afs_cell_destroy() local 515 static void afs_queue_cell_manager(struct afs_net *net) in afs_queue_cell_manager() 726 struct afs_net *net = cell->net; in afs_manage_cell() local [all …]
|
| /linux/drivers/rapidio/ |
| A D | rio-scan.c | 56 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 948 struct rio_net *net = NULL; in rio_enum_mport() local 1024 static void rio_build_route_tables(struct rio_net *net) in rio_build_route_tables() [all …]
|
| /linux/fs/nfsd/ |
| A D | nfssvc.c | 217 bool nfsd_serv_try_get(struct net *net) __must_hold(rcu) in nfsd_serv_try_get() 224 void nfsd_serv_put(struct net *net) __must_hold(rcu) in nfsd_serv_put() 250 int nfsd_nrthreads(struct net *net) in nfsd_nrthreads() 433 static void nfsd_shutdown_net(struct net *net) in nfsd_shutdown_net() 458 struct net *net = dev_net(dev); in nfsd_inetaddr_event() local 488 struct net *net = dev_net(dev); in nfsd_inet6addr_event() local 522 void nfsd_destroy_serv(struct net *net) in nfsd_destroy_serv() 620 void nfsd_shutdown_threads(struct net *net) in nfsd_shutdown_threads() 645 int nfsd_create_serv(struct net *net) in nfsd_create_serv() 693 int nfsd_nrpools(struct net *net) in nfsd_nrpools() [all …]
|
| /linux/net/smc/ |
| A D | smc_pnet.c | 189 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/net/bridge/ |
| A D | br_netfilter_hooks.c | 99 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() 457 const struct net *net) in brnf_get_logical_dev() 1123 struct net *net; in brnf_device_event() local 1153 int br_nf_hook_thresh(unsigned int hook, struct net *net, in br_nf_hook_thresh() 1157 int (*okfn)(struct net *, struct sock *, in br_nf_hook_thresh() 1263 static int br_netfilter_sysctl_init_net(struct net *net) in br_netfilter_sysctl_init_net() 1296 static void br_netfilter_sysctl_exit_net(struct net *net, in br_netfilter_sysctl_exit_net() 1306 static int __net_init brnf_init_net(struct net *net) in brnf_init_net() [all …]
|
| /linux/fs/nfs_common/ |
| A D | grace.c | 30 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()
|