Two small problems with libpcap

Erik Tews e_tews at
Tue Nov 23 22:32:25 UTC 2010


I spotted two small problems with libpcap:

      * Preables for received PP frames are missing, the
        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 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...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <>

More information about the linux-dect mailing list