Ethereal-users: Re: [ethereal-users] Version for HP-UX

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <gharris@xxxxxxxxxxxx>
Date: Mon, 29 Nov 1999 12:29:32 -0800
And if you get "libpcap", note the following in the "INSTALL" file for
it:

	If you use HP-UX, you must have at least version 9 and either the
	version of cc that supports ANSI C (cc -Aa) or else use the GNU C
	compiler. You must also buy the optional streams package. If you don't
	have:

	    /usr/include/sys/dlpi.h
	    /usr/include/sys/dlpi_ext.h

	then you don't have the streams package. In addition, we believe you
	need to install the "9.X LAN and DLPI drivers cumulative" patch
	(PHNE_6855) to make the version 9 DLPI work with libpcap.

	It's been reported that the DLPI streams package is standard starting
	with HP-UX 10.

	The HP implementation of DLPI is a little bit eccentric. Unlike
	Solaris, you must attach /dev/dlpi instead of the specific /dev/*
	network pseudo device entry in order to capture packets. The ppa is 
	based on the ifnet "index" number. Under HP-UX 9, it is necessary to
	read /dev/kmem and the kernel symbol file (/hp-ux). Under HP-UX 10,   
	dlpi can provide information for determining the ppa. It does not seem 
	to be possible to trace the loopback interface. Unlike other DLPI
	implementations, PHYS implies MULTI and SAP and you get an error if you
	try to enable more than one promiscous more than one promiscuous mode
	at a time. Finally, testing shows that there can't be more than one
	simultaneous dlpi user per network interface and you cannot capture
	outbound packets.