|
|||||||||||
|
Re: libnet (LIBNET_LINK) and libpcap cannot share same DLPI
From: <jraventos(at)yahoo.com>
Date: Thu Feb 13 2003 - 13:53:56 EST ('binary' encoding is not supported, stored as-is) In-Reply-To: <20030212233407.25436.qmail@www.securityfocus.com> Hi, I've found a simple way to overcome the issue: just make libnet reuse the libpcap descriptor on the DLPI device (can be obtained via pcap_getfileno). To do it one needs to add a variant on libnet_init that does not try to perform libnet_open_link, but simply assigns the descriptor. If there's any better way please let me know. Thanks!
Best regards,
>
To unsubscribe, e-mail: libnet-unsubscribe@securityfocus.com For additional commands, e-mail: libnet-help@securityfocus.com Received on Thu Feb 13 14:02:56 2003 This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 14:02:22 EDT |
||||||||||
|
|||||||||||