mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-02 20:16:48 +00:00
980f3e9c5c
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 |
||
---|---|---|
.. | ||
arp.h | ||
dhcp.h | ||
ethernet.h | ||
icmp.h | ||
internet_checksum.h | ||
ipv4.h | ||
mac_address.h | ||
netaddress.h | ||
port.h | ||
size_guard.h | ||
tcp.h | ||
udp.h |