genode/repos/os/include/nic
Sebastian Sumpf 08c1e69d71 nic/packet_allocator: align allocations to 2 bytes
Override 'try_alloc/free' because ethernet frame headers are 14 bytes
(src/dst mac (12) + ethertype (2)) causing the IP header to be 2 byte
aligned, leading to problems on platforms that require load/store
operations to be naturally aligned when reading, for example, 4 byte IP
addresses. Therefore, we align the allocation to 2 bytes, so the IP
header is aligned to 4.

issue #4312
2022-01-19 12:35:48 +01:00
..
component.h base/cache.h: rename Cache_attribute to Cache 2021-04-20 12:10:31 +02:00
packet_allocator.h nic/packet_allocator: align allocations to 2 bytes 2022-01-19 12:35:48 +01:00
root.h Add missing override annotations 2019-02-19 11:12:11 +01:00
stat.h Follow practices suggested by "Effective C++" 2018-01-17 12:14:35 +01:00