Home
last modified time | relevance | path

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

12345678910>>...36

/openbmc/linux/include/net/
H A Dnet_namespace.h61 struct net { struct
80 * methods on dead net ( argument
92 struct idr netns_ids; argument
97 * refcounted against netns argument
100 struct proc_dir_entry *proc_net; argument
107 struct sock *rtnl; /* rtnetlink socket */ argument
115 struct raw_notifier_head netdev_chain; argument
122 struct net_device *loopback_dev; /* The loopback */ argument
127 struct netns_core core; argument
159 struct net_generic __rcu *gen; argument
[all …]
/openbmc/qemu/hw/net/
H A Dvhost_net.c140 uint64_t vhost_net_get_max_queues(VHostNetState *net) in vhost_net_get_max_queues()
145 uint64_t vhost_net_get_acked_features(VHostNetState *net) in vhost_net_get_acked_features()
174 struct vhost_net *net = g_new0(struct vhost_net, 1); in vhost_net_init() local
256 static int vhost_net_start_one(struct vhost_net *net, in vhost_net_start_one()
330 static void vhost_net_stop_one(struct vhost_net *net, in vhost_net_stop_one()
360 struct vhost_net *net; in vhost_net_start() local
467 void vhost_net_cleanup(struct vhost_net *net) in vhost_net_cleanup()
493 bool vhost_net_config_pending(VHostNetState *net) in vhost_net_config_pending()
541 VHostNetState *net = get_vhost_net(nc); in vhost_set_vring_enable() local
567 VHostNetState *net = get_vhost_net(nc->peer); in vhost_net_virtqueue_reset() local
[all …]
H A Dvhost_net-stub.c23 uint64_t vhost_net_get_max_queues(VHostNetState *net) in vhost_net_get_max_queues()
46 void vhost_net_cleanup(struct vhost_net *net) in vhost_net_cleanup()
50 uint64_t vhost_net_get_features(struct vhost_net *net, uint64_t features) in vhost_net_get_features()
55 int vhost_net_get_config(struct vhost_net *net, uint8_t *config, in vhost_net_get_config()
60 int vhost_net_set_config(struct vhost_net *net, const uint8_t *data, in vhost_net_set_config()
66 void vhost_net_ack_features(struct vhost_net *net, uint64_t features) in vhost_net_ack_features()
70 uint64_t vhost_net_get_acked_features(VHostNetState *net) in vhost_net_get_acked_features()
75 bool vhost_net_virtqueue_pending(VHostNetState *net, int idx) in vhost_net_virtqueue_pending()
80 void vhost_net_virtqueue_mask(VHostNetState *net, VirtIODevice *dev, in vhost_net_virtqueue_mask()
85 bool vhost_net_config_pending(VHostNetState *net) in vhost_net_config_pending()
[all …]
/openbmc/linux/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.c529 int tipc_bearer_mtu(struct net *net, u32 bearer_id) in tipc_bearer_mtu()
686 struct net *net = dev_net(dev); in tipc_l2_device_event() local
744 void tipc_bearer_stop(struct net *net) in tipc_bearer_stop()
794 int tipc_attach_loopback(struct net *net) in tipc_attach_loopback()
810 void tipc_detach_loopback(struct net *net) in tipc_detach_loopback()
881 struct net *net = sock_net(skb->sk); in tipc_nl_bearer_dump() local
915 struct net *net = genl_info_net(info); in tipc_nl_bearer_get() local
965 struct net *net = sock_net(skb->sk); in __tipc_nl_bearer_disable() local
1008 struct net *net = sock_net(skb->sk); in __tipc_nl_bearer_enable() local
1064 struct net *net = sock_net(skb->sk); in tipc_nl_bearer_add() local
[all …]
H A Dnet.c111 int tipc_net_init(struct net *net, u8 *node_id, u32 addr) in tipc_net_init()
126 static void tipc_net_finalize(struct net *net, u32 addr) in tipc_net_finalize()
151 void tipc_net_stop(struct net *net) in tipc_net_stop()
164 static int __tipc_nl_add_net(struct net *net, struct tipc_nl_msg *msg) in __tipc_nl_add_net()
202 struct net *net = sock_net(skb->sk); in tipc_nl_net_dump() local
228 struct net *net = sock_net(skb->sk); in __tipc_nl_net_set() local
291 static int __tipc_nl_addr_legacy_get(struct net *net, struct tipc_nl_msg *msg) in __tipc_nl_addr_legacy_get()
325 struct net *net = sock_net(skb->sk); in tipc_nl_net_addr_legacy_get() local
/openbmc/linux/net/mptcp/
H A Dctrl.c38 static struct mptcp_pernet *mptcp_get_pernet(const struct net *net) in mptcp_get_pernet()
43 int mptcp_is_enabled(const struct net *net) in mptcp_is_enabled()
48 unsigned int mptcp_get_add_addr_timeout(const struct net *net) in mptcp_get_add_addr_timeout()
53 int mptcp_is_checksum_enabled(const struct net *net) in mptcp_is_checksum_enabled()
58 int mptcp_allow_join_id0(const struct net *net) in mptcp_allow_join_id0()
63 unsigned int mptcp_stale_loss_cnt(const struct net *net) in mptcp_stale_loss_cnt()
68 int mptcp_get_pm_type(const struct net *net) in mptcp_get_pm_type()
73 const char *mptcp_get_scheduler(const struct net *net) in mptcp_get_scheduler()
110 const struct net *net = current->nsproxy->net_ns; in proc_scheduler() local
240 static int __net_init mptcp_net_init(struct net *net) in mptcp_net_init()
[all …]
/openbmc/linux/net/core/
H A Dnet_namespace.c159 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
413 struct net *net = NULL; in net_alloc() local
469 struct net *net; in copy_net_ns() local
572 struct net *net, *tmp, *last; in cleanup_net() local
704 struct net *net; in get_net_ns_by_pid() local
1020 struct net *net; in rtnl_valid_dump_net_req() local
1158 struct net *net; in __register_pernet_operations() local
1185 struct net *net; in __unregister_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()
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()
/openbmc/linux/net/sctp/
H A Dsm_statefuns.c1511 struct net *net, in sctp_sf_do_unexpected_init()
1730 struct net *net, in sctp_sf_do_5_2_1_siminit()
1785 struct net *net, in sctp_sf_do_5_2_2_dupinit()
1809 struct net *net, in sctp_sf_do_5_2_3_initack()
1855 struct net *net, in sctp_sf_do_dupcook_a()
1978 struct net *net, in sctp_sf_do_dupcook_b()
2062 struct net *net, in sctp_sf_do_dupcook_c()
2085 struct net *net, in sctp_sf_do_dupcook_d()
2197 struct net *net, in sctp_sf_do_5_2_4_dupcook()
2324 struct net *net, in sctp_sf_shutdown_pending_abort()
[all …]
/openbmc/linux/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
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 …]
H A Dipmr.c301 #define ipmr_for_each_table(mrt, net) \ argument
380 struct net *net) in ipmr_new_table_set()
494 struct net *net = dev_net(dev); in reg_vif_xmit() local
1333 struct net *net = sock_net(sk); in mrtsock_destruct() local
1360 struct net *net = sock_net(sk); in ip_mroute_setsockopt() local
1577 struct net *net = sock_net(sk); in ip_mroute_getsockopt() local
1623 struct net *net = sock_net(sk); in ipmr_ioctl() local
1693 struct net *net = sock_net(sk); in ipmr_compat_ioctl() local
1749 struct net *net = dev_net(dev); in ipmr_device_event() local
2106 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, 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()
635 struct net *net) in ip_sublist_rcv()
[all …]
/openbmc/linux/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 …]
/openbmc/linux/net/ipv6/
H A Dip6_fib.c44 struct net *net; member
75 #define FOR_WALKERS(net, w) \ argument
432 struct net *net; member
575 struct net *net = sock_net(skb->sk); in fib6_dump_table() local
623 struct net *net = sock_net(skb->sk); in inet6_dump_fib() local
1027 struct net *net) in fib6_purge_rt()
1908 struct net *net = info->nl_net; in fib6_del_route() local
2000 struct net *net = info->nl_net; in fib6_del() local
2537 struct net *net) in ipv6_route_seq_setup_walk()
2551 struct net *net) in ipv6_route_seq_next_table()
[all …]
H A Dip6mr.c364 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
1569 struct net *net = sock_net(sk); in ip6mr_sk_init() local
1594 struct net *net = sock_net(sk); in ip6mr_sk_done() local
1663 struct net *net = sock_net(sk); in ip6_mroute_setsockopt() local
1838 struct net *net = sock_net(sk); in ip6_mroute_getsockopt() local
1888 struct net *net = sock_net(sk); in ip6mr_ioctl() local
[all …]
H A Dreassembly.c84 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
455 static int __net_init ip6_frags_ns_sysctl_register(struct net *net) in ip6_frags_ns_sysctl_register()
488 static void __net_exit ip6_frags_ns_sysctl_unregister(struct net *net) in ip6_frags_ns_sysctl_unregister()
512 static int ip6_frags_ns_sysctl_register(struct net *net) in ip6_frags_ns_sysctl_register()
517 static void ip6_frags_ns_sysctl_unregister(struct net *net) in ip6_frags_ns_sysctl_unregister()
531 static int __net_init ipv6_frags_init_net(struct net *net) in ipv6_frags_init_net()
549 static void __net_exit ipv6_frags_pre_exit_net(struct net *net) in ipv6_frags_pre_exit_net()
[all …]
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()
/openbmc/linux/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()
206 void nf_log_packet(struct net *net, in nf_log_packet()
235 void nf_log_trace(struct net *net, in nf_log_trace()
319 struct net *net = seq_file_net(seq); in seq_start() local
331 struct net *net = seq_file_net(s); in seq_next() local
351 struct net *net = seq_file_net(s); in seq_show() local
414 struct net *net = table->extra2; in nf_log_proc_dostring() local
457 static int netfilter_log_sysctl_init(struct net *net) in netfilter_log_sysctl_init()
510 static void netfilter_log_sysctl_exit(struct net *net) in netfilter_log_sysctl_exit()
[all …]
/openbmc/linux/fs/afs/
H A Dserver.c24 struct afs_server *afs_find_server(struct afs_net *net, in afs_find_server()
143 struct afs_net *net = cell->net; in afs_install_server() local
224 struct afs_net *net = cell->net; in afs_alloc_server() local
328 static void afs_set_server_timer(struct afs_net *net, time64_t delay) in afs_set_server_timer()
343 struct afs_net *net = container_of(timer, struct afs_net, fs_timer); in afs_servers_timer() local
400 void afs_put_server(struct afs_net *net, struct afs_server *server, in afs_put_server()
436 void afs_unuse_server(struct afs_net *net, struct afs_server *server, in afs_unuse_server()
488 static void afs_gc_servers(struct afs_net *net, struct afs_server *gc_list) in afs_gc_servers()
545 struct afs_net *net = container_of(work, struct afs_net, fs_manager); in afs_manage_servers() local
610 static void afs_queue_server_manager(struct afs_net *net) in afs_queue_server_manager()
[all …]
H A Dfs_probe.c22 static void afs_schedule_fs_probe(struct afs_net *net, in afs_schedule_fs_probe()
41 static void afs_finished_fs_probe(struct afs_net *net, struct afs_server *server) in afs_finished_fs_probe()
61 static void afs_done_one_fs_probe(struct afs_net *net, struct afs_server *server) in afs_done_one_fs_probe()
75 static void afs_fs_probe_not_done(struct afs_net *net, in afs_fs_probe_not_done()
195 void afs_fs_probe_fileserver(struct afs_net *net, struct afs_server *server, in afs_fs_probe_fileserver()
321 struct afs_net *net = container_of(timer, struct afs_net, fs_probe_timer); in afs_fs_probe_timer() local
330 static void afs_dispatch_fs_probe(struct afs_net *net, struct afs_server *server, bool all) in afs_dispatch_fs_probe()
351 void afs_probe_fileserver(struct afs_net *net, struct afs_server *server) in afs_probe_fileserver()
364 struct afs_net *net = container_of(work, struct afs_net, fs_prober); in afs_fs_probe_dispatcher() local
474 void afs_fs_probe_cleanup(struct afs_net *net) in afs_fs_probe_cleanup()
H A Dcell.c26 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()
234 struct afs_cell *afs_lookup_cell(struct afs_net *net, in afs_lookup_cell()
343 int afs_cell_init(struct afs_net *net, const char *rootcell) in afs_cell_init()
494 struct afs_net *net = cell->net; in afs_cell_destroy() local
516 static void afs_queue_cell_manager(struct afs_net *net) in afs_queue_cell_manager()
727 struct afs_net *net = cell->net; in afs_manage_cell() local
[all …]
/openbmc/linux/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()
/openbmc/linux/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
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 …]

12345678910>>...36