Skip to content
Snippets Groups Projects
Commit a9e2e535 authored by Michael Tüxen's avatar Michael Tüxen
Browse files

Fix alignment of headers in the packet buffer


This patch makes sure that all heaaders start at a four byte
boundary. This is done by not having the ethernet header, which
is 14 bytes long, in the packet buffer.
This fixes the remote mode for platforms having strict alignment
restrictions, like ARM. Without this patch you can't use the remote
mode on a Rasperry Pi running FreeBSD.
This patch has been tested on Linux (Intel) in local and remote mode
and one FreeBSD (Intel and ARM) in local and remote mode.

Signed-off-by: default avatarMichael Tuexen <tuexen@fh-muenster.de>
parent a3292811
No related branches found
No related tags found
No related merge requests found
Showing
with 122 additions and 97 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment