genode/repos/os
Martin Stein 980f3e9c5c net: use Size_guard for packet-data accessors
Instead of handing over the maximum available size to the packet data
accessors, hand over a size guard that keeps track of the packets
boundaries.

This commit also moves the size-guard utilitiy header of Ping and NIC
Router to the include/net directory making it a part of the net library.
It applies the new approach to all net-lib users in the basic repositories.

Ping looses its configurability regarding the ICMP data size as this would
require an additional method in the size guard which would be used only by
Ping.

The size guard was also re-worked to fit the fact that a packet can
bring a tail as well as a header (Ethernet).

Issue #2788
2018-05-30 13:36:11 +02:00
..
doc Remove obsolete RAM/CAP services from run scripts 2017-05-31 13:16:22 +02:00
include net: use Size_guard for packet-data accessors 2018-05-30 13:36:11 +02:00
lib Convert static VFS library to dynamic library 2018-05-30 12:26:19 +02:00
recipes drivers_interactive-pc: increase caps for acpi 2018-05-30 13:36:09 +02:00
run net: use Size_guard for packet-data accessors 2018-05-30 13:36:11 +02:00
src net: use Size_guard for packet-data accessors 2018-05-30 13:36:11 +02:00
README API documentation refinements 2017-05-31 13:16:21 +02:00

This source-code repository contains genuine low-level OS components and
interfaces of Genode. It solely depends on the framework's base API.