Two small problems with libpcap

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/linux-dect@lists.osmocom.org/.

Erik Tews e_tews at cdc.informatik.tu-darmstadt.de
Tue Nov 23 22:32:25 UTC 2010


Hi

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...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.osmocom.org/pipermail/linux-dect/attachments/20101123/f3d27469/attachment.bin>


More information about the linux-dect mailing list