Subject: Re: sparc todo list
To: None <deraadt@fsa.ca, pk@cs.few.eur.nl>
From: Theo Deraadt <deraadt@fsa.ca>
List: port-sparc
Date: 11/27/1993 17:44:24
>It's something like this:
struct binding {
	u_short		local_ypbind_udp_port_for_v2;
	u_short		unknown1;
	u_short		unknown2;
	struct in_addr	ypserv_ip_addr_for_v2;
	u_short		ypserv_udp_port_for_v2;
	/* on sparc this pads to a long word */
};

unknown0 always seems to be 0. No idea what this might be.

unknown1 always seems to be 1. I think this might be the "minimum version of
YP supported". I only support version 2 of YP.

Also note that the structure may not pad between unknown1 & the in_addr.

At some stage we might have to change this. Ouch -- all old binaries are
going to suffer for this! Anyways, probably better sooner than later.

------------------------------------------------------------------------------