tcpdump mailing list archives
Using libnetdissect in other code, outside tcpdump source tree
From: Bill Fenner via tcpdump-workers <tcpdump-workers () lists tcpdump org>
Date: Tue, 11 Aug 2020 07:55:16 -0400
--- Begin Message --- From: Bill Fenner <fenner () gmail com>
Date: Tue, 11 Aug 2020 07:55:16 -0400
Hi, Is there a plan for a public face for libnetdissect? I've tried teasing it out, and I ended up having to install: funcattrs.h print.h config.h netdissect.h ip.h ip6.h compiler-tests.h status-exit-codes.h in /usr/include/tcpdump/ in order to compile a libnetdissect-using program outside of the tcpdump source tree. Also, netdissect.h likes to #define min() and max() macros, which makes life interesting when you have, say, a struct with min and max elements. Any pro tips from others who are reusing libnetdissect as a library? Thanks, Bill
--- End Message ---
_______________________________________________ tcpdump-workers mailing list tcpdump-workers () lists tcpdump org https://lists.sandelman.ca/mailman/listinfo/tcpdump-workers
Current thread:
- Using libnetdissect in other code, outside tcpdump source tree Bill Fenner via tcpdump-workers (Aug 12)
- Re: Using libnetdissect in other code, outside tcpdump source tree Guy Harris via tcpdump-workers (Aug 12)
- Re: Using libnetdissect in other code, outside tcpdump source tree Guy Harris via tcpdump-workers (Aug 12)
- Message not available
- Re: Using libnetdissect in other code, outside tcpdump source tree Bill Fenner via tcpdump-workers (Aug 14)
- Re: Using libnetdissect in other code, outside tcpdump source tree Denis Ovsienko via tcpdump-workers (Aug 24)
- Re: Using libnetdissect in other code, outside tcpdump source tree Guy Harris via tcpdump-workers (Aug 12)