nic_router: act as "Uplink" server

Let the NIC router provide an Uplink service besides the Nic service that it
already provided. Requests for an Uplink session towards the NIC router are
assigned to Domains using the same <policy> configuration tags that are used in
order to assign Nic session requests. The MAC addresses of Uplink session
components are _NOT_ considered during the allocation of MAC addresses for NIC
session components at the same Domain. The task of avoiding MAC address clashes
between Uplink session components and Nic session components is therefore left
to the integrator. Apart from that, Uplink session components are treated by
the NIC router like any other interface.

Ref #3961
This commit is contained in:
Martin Stein
2020-12-07 16:46:15 +01:00
committed by Norman Feske
parent cf72d1aac3
commit 1d2649b49a
27 changed files with 1079 additions and 514 deletions

View File

@@ -221,7 +221,10 @@ append config { </wifi_config>
append_if $use_nic_router config {
<start name="nic_router" caps="120">
<resource name="RAM" quantum="5M"/>
<provides><service name="Nic"/></provides>
<provides>
<service name="Nic"/>
<service name="Uplink"/>
</provides>
<config verbose_domain_state="yes">
<policy label_prefix="netserver_genode" domain="server"/>