Subject: Re: Question about libpcap
To: Gerald Lee <glee@force10networks.com>
From: Michael Richardson <mcr@sandelman.ottawa.on.ca>
List: tech-net
Date: 07/23/2007 00:14:51
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
>>>>> "Gerald" == Gerald Lee <glee@force10networks.com> writes:
Gerald> We have a unique situation. An engineer want to use
Gerald> libpcap to create compile a packet filter. However, he
Gerald> wants to use it purely in memory. The problem comes in that
Gerald> the application is threaded, and one of the other threads is
Gerald> blocked on stdin. This causes the parser to attempt to get
Gerald> more input from stdin. He tracked it down to the state of
Gerald> yyin, and would just as soon directly manipulate it. Others
Is this a BSD lex issue, or a libpcap issue?
If the latter, perhaps tcpdump-workers@lists.tcpdump.org would be better.
- --
] Bear: "Me, I'm just the shape of a bear." | firewalls [
] Michael Richardson, Xelerance Corporation, Ottawa, ON |net architect[
] mcr@xelerance.com http://www.sandelman.ottawa.on.ca/mcr/ |device driver[
] panic("Just another Debian GNU/Linux using, kernel hacking, security guy"); [
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Finger me for keys
iQEVAwUBRqQ5R4CLcPvd0N1lAQIAVAf/YFsaMGY7QWQQ/M/ZMTWwaGuUUSZz7qdE
Fp4WFWYti+xvrwINfHz6M3Jq+TfB62/OvHGMh24yw4j9NCBInM0j4NQUtVNk59QP
CFuDWLvRsnaVAQ0DqHcmPQNo3MfEoVbvJhtEGCkKT8m97CqmZcCTK6K8Vl1ETe4G
1ZPg3dQe9PPj3ShyQV8M+h4kTdzZSvR6vGU2MfvlEBbVOFI2FwSGOQVHfVy1nmiN
CZce94BQGr0+1176dcVg4Y9XG+rMkmLzSnF0fFXfcSWSGQ5u8rDSx2aZTKOVxW4x
bsIik3PFC+H83gsMmdRjIrl12ljIy5p3AzKmiE5ZJBKTVNyOhSl71w==
=QMHS
-----END PGP SIGNATURE-----