[PATCH v2] examples/rpcapd: demo version of packet capture daemon
Marat Khalili
qm2k21 at gmail.com
Mon Sep 21 18:43:31 CEST 2026
On 21/09/2026 16:58, Stephen Hemminger wrote:
> On Mon, 21 Sep 2026 10:51:39 +0100
> Marat Khalili <qm2k21 at gmail.com> wrote:
>
>>> examples/rpcapd/meson.build | 19 +
>>> examples/rpcapd/rpcap-protocol.h | 127 +++
>> Could we just use one from libpcap?
> Could but since most distro's don't enable rpcapd the header
> file is not exported. We could "vendor it".
Is it possible to use your new app without having a full version of
libpcap in the system (that would have this rpcap-protocol.h anyway)? In
"Client Setup" you mention that libpcap must be rebuilt with remote
support enabled, and at this moment our own abridged copy of
rpcap-protocol.h becomes redundant. Our copy allows building the
application in systems where rpcapd is missing or built without the
remote support, but then the build result cannot be used. Am I
misunderstanding something?
More information about the dev
mailing list