mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-22 15:02:25 +00:00
parent
de986c5f0b
commit
e88a84e2ab
@ -37,8 +37,8 @@ class Wireguard::Uplink_connection
|
|||||||
using Packet_source =
|
using Packet_source =
|
||||||
::Uplink::Packet_stream_source<::Uplink::Session::Policy>;
|
::Uplink::Packet_stream_source<::Uplink::Session::Policy>;
|
||||||
|
|
||||||
enum { PACKET_SIZE = Nic::Packet_allocator::DEFAULT_PACKET_SIZE };
|
static constexpr Genode::size_t PACKET_SIZE = Nic::Packet_allocator::DEFAULT_PACKET_SIZE;
|
||||||
enum { BUF_SIZE = Uplink::Connection::Session::QUEUE_SIZE * PACKET_SIZE };
|
static constexpr Genode::size_t BUF_SIZE = Uplink::Connection::Session::QUEUE_SIZE * PACKET_SIZE;
|
||||||
|
|
||||||
enum class Send_pkt_result { SUCCEEDED, FAILED };
|
enum class Send_pkt_result { SUCCEEDED, FAILED };
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user