mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-19 11:16:57 +00:00
parent
1f2dc78feb
commit
74734b7dd9
@ -53,8 +53,8 @@ class Vfs::Nic_file_system::Nic_vfs_handle : public Single_vfs_handle
|
|||||||
using Read_result = File_io_service::Read_result;
|
using Read_result = File_io_service::Read_result;
|
||||||
using Write_result = File_io_service::Write_result;
|
using Write_result = File_io_service::Write_result;
|
||||||
|
|
||||||
enum { PKT_SIZE = Nic::Packet_allocator::DEFAULT_PACKET_SIZE };
|
static constexpr size_t PKT_SIZE = Nic::Packet_allocator::DEFAULT_PACKET_SIZE;
|
||||||
enum { BUF_SIZE = Uplink::Session::QUEUE_SIZE * PKT_SIZE };
|
static constexpr size_t BUF_SIZE = Uplink::Session::QUEUE_SIZE * PKT_SIZE;
|
||||||
|
|
||||||
Genode::Env &_env;
|
Genode::Env &_env;
|
||||||
Vfs::Env::User &_vfs_user;
|
Vfs::Env::User &_vfs_user;
|
||||||
|
@ -37,8 +37,8 @@ class Genode::Uplink_client_base : Noncopyable
|
|||||||
|
|
||||||
enum class Write_result { WRITE_SUCCEEDED, WRITE_FAILED };
|
enum class Write_result { WRITE_SUCCEEDED, WRITE_FAILED };
|
||||||
|
|
||||||
enum { PKT_SIZE = Nic::Packet_allocator::DEFAULT_PACKET_SIZE };
|
static constexpr size_t PKT_SIZE = Nic::Packet_allocator::DEFAULT_PACKET_SIZE;
|
||||||
enum { BUF_SIZE = Uplink::Session::QUEUE_SIZE * PKT_SIZE };
|
static constexpr size_t BUF_SIZE = Uplink::Session::QUEUE_SIZE * PKT_SIZE;
|
||||||
|
|
||||||
Env &_env;
|
Env &_env;
|
||||||
Vfs::Env::User &_vfs_user;
|
Vfs::Env::User &_vfs_user;
|
||||||
|
Loading…
Reference in New Issue
Block a user