Messages in this thread | | | Date | Mon, 15 Nov 1999 19:34:43 -0100 | From | Folkert van Heusden <> | Subject | Re: ethertap -> are this really ethernet-packets? [includes patch] |
| |
BIONDI Philippe wrote: > You have missed something: > What is read in /dev/tap0 now have 2 extra bytes to align the begining of > the ethernet data to 16 bytes. > > 001] ff:ff:fe:fd:00:00 fb:0f:ff:ff:ff:ff 0000| > ^ here begin then real packet. >
Thank you very much! In my opinion this is rather strange behaviour and should be described in the documentation. Also that you need the netlink device emulation should be described.
Patch for Documentation/networking/ethertap.txt: 24a25,26 > Also, do not forget to include "netlink device emulation" in the > kernel! 88a91,93 > > When reading from the device, skip the first two bytes in every packet; they > are added for padding and contain invalid data.
-- ------------------------------------------------------------ Folkert van Heusden some e-mail addresses: f.v.heusden@ftr.nl, flok99@dds.nl mobile phone: +31-6-22390057
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |