[comp.sys.hp] Questions about ARP cache on HP9000/300.

robert@spam.istc.sri.com (09/21/88)

I am engaged in porting some neworking software to an HP9000/300.
The software was written for 4.2/4.3 BSD compatibility, so it will
not port directly to HP/UX 6.01.  Currently I am trying to solve some
of the problems encountered in the port, and as a result I have two
questions for people at HP:

    (1) I've heard rumor that HP/UX 6.01 has removed the ARP cache
	from the kernel (ie. it is gone from the operating system).
	Is this true?  If so, why was it done?  If so, how often is
	ARPing done, and how/where is the result stored?

    (2) Since HP/UX 6.01 has removed the rtnet and rthost structures
	from the publically available header files where BSD keeps
	them, and has put them into route.c, I'm wondering if the
	network and host routing tables are exactly the same as under
	4.2 or 4.3 BSD.  If not could someone post what the structure
	is like?

Thanks much.
--------------------------------------------------------------------------
  Robert Allen,
		robert@spam.istc.sri.com,
					    415-859-2143 (work phone, days)
--------------------------------------------------------------------------

dfc@hpindda.HP.COM (Don Coolidge) (09/24/88)

>I am engaged in porting some neworking software to an HP9000/300.
>The software was written for 4.2/4.3 BSD compatibility, so it will
>not port directly to HP/UX 6.01.  Currently I am trying to solve some
>of the problems encountered in the port, and as a result I have two
>questions for people at HP:
>
>    (1) I've heard rumor that HP/UX 6.01 has removed the ARP cache
>	from the kernel (ie. it is gone from the operating system).
>	Is this true?  If so, why was it done?  If so, how often is
>	ARPing done, and how/where is the result stored?

Not true. It has been combined, however, with HP's proprietary Probe
IP-physical address mapping cache, so the data structures in the cache
no longer match the old ARP cache data structures. (They have all the
old information, though, and more.)

Moreover, we don't yet support the 4.3 "arp" command, so the cache
is not manipulable from user space. When we go to full 4.3 compatibility
(no guaranteed date as yet), then the "arp" command will exist.

ARPing is done only when first attempting to establish a mapping for
a given IP address, and then only if no Probe mapping already exists.
Both ARP and Probe VNA requests are sent, with the resulting packet
encapsulation (Ethernet or IEEE 802.3) depending on which replies
are received. The cache entry is flushed if it has been inactive
for twenty minutes. 

>    (2) Since HP/UX 6.01 has removed the rtnet and rthost structures
>	from the publically available header files where BSD keeps
>	them, and has put them into route.c, I'm wondering if the
>	network and host routing tables are exactly the same as under
>	4.2 or 4.3 BSD.  If not could someone post what the structure
>	is like?

I'm not sure of this one (someone else should anwer), but I think
they are unchanged.


Don Coolidge
{...}!hplabs!hpda!dfc