mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-19 03:06:39 +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 Write_result = File_io_service::Write_result;
|
||||
|
||||
enum { PKT_SIZE = Nic::Packet_allocator::DEFAULT_PACKET_SIZE };
|
||||
enum { BUF_SIZE = Uplink::Session::QUEUE_SIZE * PKT_SIZE };
|
||||
static constexpr size_t PKT_SIZE = Nic::Packet_allocator::DEFAULT_PACKET_SIZE;
|
||||
static constexpr size_t BUF_SIZE = Uplink::Session::QUEUE_SIZE * PKT_SIZE;
|
||||
|
||||
Genode::Env &_env;
|
||||
Vfs::Env::User &_vfs_user;
|
||||
|
@ -37,8 +37,8 @@ class Genode::Uplink_client_base : Noncopyable
|
||||
|
||||
enum class Write_result { WRITE_SUCCEEDED, WRITE_FAILED };
|
||||
|
||||
enum { PKT_SIZE = Nic::Packet_allocator::DEFAULT_PACKET_SIZE };
|
||||
enum { BUF_SIZE = Uplink::Session::QUEUE_SIZE * PKT_SIZE };
|
||||
static constexpr size_t PKT_SIZE = Nic::Packet_allocator::DEFAULT_PACKET_SIZE;
|
||||
static constexpr size_t BUF_SIZE = Uplink::Session::QUEUE_SIZE * PKT_SIZE;
|
||||
|
||||
Env &_env;
|
||||
Vfs::Env::User &_vfs_user;
|
||||
|
Loading…
Reference in New Issue
Block a user