[OpenWrt-Devel] [PATCH] libpcap: patch to add limits.h to pcap-usb-linux.c

Michael Richardson mcr at sandelman.ca
Mon Aug 20 12:20:35 EDT 2018


Bjørn Mork <bjorn at mork.no> wrote:
    > I've been into the LTE modem driver business for a while. Captures from
    > end users with some modem hardware/firmware specific issue have often
    > been the only way to fully understand a problem. Changing an option
    > hidden deep inside the OpenWrt build config is out of the question
    > unless the reporter already is familiar with that build system.  It is
    > about as convenient as a kernel debug patch for most end users.  The
    > lack of a pre-built usbmon capture tool makes bug reports from OpenWrt
    > users much harder to debug.

That's definitely a reason to include USB capture then!

    > BTW: I tried to figure out which additional libraries the feature
    > requires.  It doesn't seem to be any? pcap-usb-linux.c uses the Linux
    > kernel support directly.  Or am I missing something?

It requires libusb.

    >> Also, the latest libpcap (1.9.0) has cmake support, which might make
    >> things easier?

    > Maybe? All these questions are of course up to the maintainer. Adding
    > Felix to the CC list.

Some love cmake, some hate it.
When it works, I find I like it.  but, determining how to tweak options is
really arcane.

--
]               Never tell me the odds!                 | ipv6 mesh networks [
]   Michael Richardson, Sandelman Software Works        | network architect  [
]     mcr at sandelman.ca  http://www.sandelman.ca/        |   ruby on rails    [


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 487 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20180820/51846cd0/attachment.sig>
-------------- next part --------------
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list