|
|||||||||||
|
libnet (LIBNET_LINK) and libpcap cannot share same DLPI
From: <jraventos(at)yahoo.com>
Date: Wed Feb 12 2003 - 18:34:07 EST ('binary' encoding is not supported, stored as-is) Hi, The OS is HPUX. Could it be a problem with DLPI impl? (the above works fine in Linux) Interestingly enough everything works fine if the mode is LIBNET_RAW4... I'd appreciate if somebody can explain the above behavior, and what are the alternatives (ie. besides using two cards) if one needs to read-write non-IP packets. Thanks in advance!
Best regards,
PS. To reproduce simply start tcpdump. Then run libnet/samples/udp1 and
libnet/samples/udp2. The latter will fail miserably while the first one
(uses LIBNET_RAW4) works fine.
This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 14:02:22 EDT |
||||||||||
|
|||||||||||