mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-19 11:16:57 +00:00
92a30e0953
The router reacts as follows to a configuration change: 1) Construct new internal configuration representation (the old one stays in place to be able to do comparisons in the following steps) 2) Iterate through all user-dependent objects (interfaces, link states, ARP information, DHCP information) and re-check which remain valid with the new configuration and which must be dismissed. 3) Adapt the objects that remain valid to the new configuration (re-write references) and remove or detach the dismissed objects. 4) Do a link state DOWN at each interface and a link state UP at each interface that remains attached to a domain. 5) Replace the old internal configuration representation with the new one This way, the router keeps as much user dependent states as possible while going through a configuration change. Thus, overwriting the old configuration with an exact copy of itself is (almost) transparent to clients of the router. Almost, because there are things the router must do on every configuration handling, like re-scheduling the expiration timeouts of links. Ref #2670 |
||
---|---|---|
.. | ||
doc | ||
include | ||
lib | ||
recipes | ||
run | ||
src | ||
README |
This source-code repository contains genuine low-level OS components and interfaces of Genode. It solely depends on the framework's base API.