Ethereal-users: Re: [ethereal-users] HP-UX 11.0 and capturing permission problem

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

From: Guy Harris <guy@xxxxxxxxxx>
Date: Thu, 23 Dec 1999 16:56:47 -0800 (PST)
> It looks as if the version to which Rick Jones referred might do that. 

...except that the stuff to do that *wasn't added by him*.

The stuff in the *vanilla* "libpcap-0.4" "pcap-dlpi.c" says

	/*
	 * Under HP-UX 10, we can ask for the ppa
	 */

and does so.

Perhaps you have to do something *different* on HP-UX 11.  Is
DL_HP_PPA_ACK_OBS defined in any of the header files on HP-UX 11.x? 
"pcap-dlpi.c" uses the presence of that #define as a way of determining
whether it can get the PPA for a device by itself with various DLPI
calls or if it has to go dredge it out of "/dev/kmem" - but it does the
latter only on HP-UX 9.x, so if 11.x can't let you get the PPA the way
10.x does, you get stuck with using "dlpiN" on 11.x.