mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-19 03:06:39 +00:00
os: minor whitespace fixes in nic_loopback
This commit is contained in:
parent
1d5aa4ca7e
commit
948cb3ef0a
@ -130,13 +130,13 @@ void Nic::Loopback_component::_handle_packet_stream()
|
||||
continue;
|
||||
}
|
||||
|
||||
Genode::memcpy(_rx.source()->packet_content(packet_to_client),
|
||||
_tx.sink()->packet_content(packet_from_client),
|
||||
packet_from_client.size());
|
||||
|
||||
packet_to_client = Packet_descriptor(packet_to_client.offset(), packet_from_client.size());
|
||||
_rx.source()->submit_packet(packet_to_client);
|
||||
Genode::memcpy(_rx.source()->packet_content(packet_to_client),
|
||||
_tx.sink()->packet_content(packet_from_client),
|
||||
packet_from_client.size());
|
||||
|
||||
packet_to_client = Packet_descriptor(packet_to_client.offset(),
|
||||
packet_from_client.size());
|
||||
_rx.source()->submit_packet(packet_to_client);
|
||||
|
||||
_tx.sink()->acknowledge_packet(packet_from_client);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user