tcpdump mailing list archives
Re: [Patch] tcpdump probabilistic sampling
From: Kris Katterjohn <katterjohn () gmail com>
Date: Mon, 14 Apr 2008 19:36:46 -0500
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Guy Harris wrote:
Should we switch to getopt_long(), and include a BSD-licensed getopt_long() (e.g., one from one of the *BSDs) for platforms that don't have it? (Glibc's had it for a while, I think recent versions of most of not all of the *BSDs have it, recent versions of OS X have it, and recent versions of Solaris have it, at least.)
Hey Guy, In Nmap, this past October I switched from GNU getopt replacement functions over to these BSD-style licensed getopt* functions[1]. I think the license is technically MIT, but it's all essentially the same. The functions are all GNU compatible, so they behave like a lot of people expect. I'm just making note of another base to use, which seems to work well. Thanks, Kris Katterjohn [1] http://www.geocities.com/bsittler/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iQIVAwUBSAP4nP9K37xXYl36AQJqpA/+IwzTaPgTtCkpA33rVVRsP5bqR0Za4HNV 7ek21llWcigeRpSJRFOnFP7x/ba/2pSplJXk8ASGylRbwhOJSYIInCi+9gx5dVz4 0jhMEk7TB2gGPKYR5E5kxbulOHTzn5ffin4KrrbTgg34YfrUWvDJ7tKeeyGWDkZQ 7G/0LhrXvQaWz7J3GNLTPV4RO44Voz3QM40wm7vwMYZRz641CHn87eqbBzkktpHD xR7n48t8d7AP9QnN+E9zaX9fTDN/wZyBGe2zJOCAEgwPqJ+j5HU5RewR7OmnbMbm RoDVFz/ejyhG+YUq95xX+1KWg1UIX/0EakAOGP/oVR0tQwnRLuvR5gBh3n7cLIVP 4AIvRmwYdaESQz7gWRV1ODfU+bjp93xBxtnJ4oYgfs3SkIV9S/C6g5mxfg8CHbc2 yL/ykZmleBGL22r2Tu3bewkiNNUOEFqYCVAMUFDF4+y4BWy8oAxS4jL2fAV5fyfL hgH5ryakdk+blYxStyaNXTg61w8FtH7pbjlIrdqDTO9BkRS+tfzNZNnFtg8O7oYg x3zKcQ1cuVBSYi0KSPj3hSfj1Iyd83Z2dbZ5A/lRztUB77FNgpRyCgnjacL5T4Dq TKaC2Vbf0GWOxYLMiMjMJ234fxoQ2JPh7DOIrw34S7yXpdVzp9rBS3eX2krHXLmk QHYOuDknKD8= =vOpG -----END PGP SIGNATURE----- - This is the tcpdump-workers list. Visit https://cod.sandelman.ca/ to unsubscribe.
Current thread:
- [Patch] tcpdump probabilistic sampling Jesse Kempf (Apr 01)
- Re: [Patch] tcpdump probabilistic sampling Rick Jones (Apr 01)
- Re: [Patch] tcpdump probabilistic sampling Jesse Kempf (Apr 01)
- Re: [Patch] tcpdump probabilistic sampling Bruce M Simpson (Apr 02)
- Re: [Patch] tcpdump probabilistic sampling Jesse Kempf (Apr 02)
- Re: [Patch] tcpdump probabilistic sampling Michael Richardson (Apr 02)
- Re: [Patch] tcpdump probabilistic sampling Ken Bantoft (Apr 02)
- Re: [Patch] tcpdump probabilistic sampling Jesse Kempf (Apr 02)
- Re: [Patch] tcpdump probabilistic sampling Guy Harris (Apr 14)
- Re: [Patch] tcpdump probabilistic sampling Michael Richardson (Apr 14)
- Re: [Patch] tcpdump probabilistic sampling Kris Katterjohn (Apr 14)
- Re: [Patch] tcpdump probabilistic sampling Milosz Marian Hulboj (Apr 02)
- Re: [Patch] tcpdump probabilistic sampling Jesse Kempf (Apr 02)
- Re: [Patch] tcpdump probabilistic sampling Jesse Kempf (Apr 02)
- Re: [Patch] tcpdump probabilistic sampling Milosz Marian Hulboj (Apr 03)
- Re: [Patch] tcpdump probabilistic sampling Jesse Kempf (Apr 02)
- Re: [Patch] tcpdump probabilistic sampling Rick Jones (Apr 01)