Two small problems with libpcap
e_tews at cdc.informatik.tu-darmstadt.de
Tue Nov 23 22:32:25 UTC 2010
I spotted two small problems with libpcap:
* Preables for received PP frames are missing, the dedected.org
tools used to include the preamble as well. This can easily be
fixed by adding a default preamble if the kernel doesn't report
the preamble to the userspace.
* The slottime wraps around at 2^12 and not at 2^11 as it used to
wrap around with the dedected.org tools. I am not sure about the
best solution here, one could also use the full 16 bits for the
time which are available in the header.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 198 bytes
Desc: This is a digitally signed message part
More information about the linux-dect