mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-05 17:01:47 +00:00
parent
e5b9a6cc8b
commit
ee88d4d2d5
@ -83,7 +83,7 @@ void Domain::_read_transport_rules(Cstring const &protocol,
|
|||||||
|
|
||||||
void Domain::print(Output &output) const
|
void Domain::print(Output &output) const
|
||||||
{
|
{
|
||||||
Genode::print(output, "\"", _name, "\"");
|
Genode::print(output, _name);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -535,7 +535,7 @@ void Interface::_handle_eth(void *const eth_base,
|
|||||||
try {
|
try {
|
||||||
Ethernet_frame * const eth = new (eth_base) Ethernet_frame(eth_size);
|
Ethernet_frame * const eth = new (eth_base) Ethernet_frame(eth_size);
|
||||||
if (_config().verbose()) {
|
if (_config().verbose()) {
|
||||||
log("at ", _domain, " handle ", *eth); }
|
log("\033[33m(router <- ", _domain, ")\033[0m ", *eth); }
|
||||||
|
|
||||||
switch (eth->type()) {
|
switch (eth->type()) {
|
||||||
case Ethernet_frame::Type::ARP: _handle_arp(*eth, eth_size); break;
|
case Ethernet_frame::Type::ARP: _handle_arp(*eth, eth_size); break;
|
||||||
@ -565,7 +565,7 @@ void Interface::_handle_eth(void *const eth_base,
|
|||||||
void Interface::_send(Ethernet_frame ð, Genode::size_t const size)
|
void Interface::_send(Ethernet_frame ð, Genode::size_t const size)
|
||||||
{
|
{
|
||||||
if (_config().verbose()) {
|
if (_config().verbose()) {
|
||||||
log("at ", _domain, " send ", eth); }
|
log("\033[33m(", _domain, " <- router)\033[0m ", eth); }
|
||||||
try {
|
try {
|
||||||
/* copy and submit packet */
|
/* copy and submit packet */
|
||||||
Packet_descriptor const pkt = _source().alloc_packet(size);
|
Packet_descriptor const pkt = _source().alloc_packet(size);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user