genode/repos/os/include/net
Martin Stein eba22b7551 nic_router: rework updating of TCP/UDP links
* Update links from forward rules only with forward rules and links from
  transport-routing rules only with transport-routing rules. Besides raising
  the performance of the code, this also fixes a former bug that allowed
  forward-rule links to falsely stay active because of a transport-routing
  rule that matched the client destination ip and port.

* Don't use good-case exceptions for updating TCP/UDP links on re-configuration
  of the router.

* Make conditions when to dismiss a forward rule easier to read.
  * Introduces != operator to the public Port class in the net library.

* Fix unnecessary log message that a link was dismissed when only a potentially
  matching forward rule turned out to be not matching.

* Apply Genode coding style to if statements with a single body statement.

Fix #4728
2023-01-24 12:07:31 +01:00
..
arp.h net: use Size_guard for packet-data accessors 2018-05-30 13:36:11 +02:00
dhcp.h net: fix conversion compiler errors 2022-05-25 12:23:02 +02:00
ethernet.h net: add methods required for WireGuard port 2022-05-25 12:23:02 +02:00
icmp.h nic_router: incremental L4 checksum updates 2022-08-10 13:33:02 +02:00
internet_checksum.h nic_router: incremental L4 checksum updates 2022-08-10 13:33:02 +02:00
ipv4.h nic_router: no ICMP on unroutable IPv4 multicast 2022-08-17 12:26:01 +02:00
mac_address.h os: avoid implicit conversions 2021-12-17 15:04:45 +01:00
netaddress.h net: circumvent stringop-overflow error 2021-05-05 11:35:31 +02:00
port.h nic_router: rework updating of TCP/UDP links 2023-01-24 12:07:31 +01:00
size_guard.h net: use Size_guard for packet-data accessors 2018-05-30 13:36:11 +02:00
sntp.h sntp_client: report received transmit timestamp 2019-08-21 12:37:02 +02:00
tcp.h nic_router: incremental L4 checksum updates 2022-08-10 13:33:02 +02:00
udp.h nic_router: incremental L4 checksum updates 2022-08-10 13:33:02 +02:00