genode/repos/os/src
Martin Stein 49a3a0e0d0 nic_router: multiple uplinks
Introduce the uplink tag:

! <config>
!    <uplink label="wifi"  domain="uplink">
!    <uplink label="wired" domain="wired_bridge">
!    <uplink               domain="wired_bridge">
! <config/>

For each uplink tag, the NIC router requests a NIC session with the
corresponding label or an empty label if there is no label attribute.
These NIC sessions get attached to the domain that is set in their
uplink tag as soon as the domain appears. This means their lifetime is
not bound to the domain. Uplink NIC sessions can be safely moved from
one domain to another without being closed by reconfiguring the
corresponding domain attribute.

Attention: This may render previously valid NIC router configurations
useless. A domain named "uplink" doesn't automatically request a NIC
session anymore. To fix these configurations, just add

! <uplink domain="uplink"/>

or

! <uplink label="[LABEL]" domain="uplink"/>

as direct subtag of the <config> tag.

Issue #2840
2018-06-29 10:44:53 +02:00
..
app init test: reduce RAM demand of app/dummy 2018-06-12 12:11:51 +02:00
drivers usb_block_drv: don't select alternate interface setting 2018-06-12 12:11:51 +02:00
init init: avoid too eager child restart 2018-06-13 13:52:10 +02:00
lib net: get rid of unused mac_from_string method 2018-05-30 13:36:36 +02:00
server nic_router: multiple uplinks 2018-06-29 10:44:53 +02:00
test nic_router_flood.run: test DoS against router 2018-06-29 10:40:13 +02:00