[comp.dcom.lans] Let's all change sockaddr.sa_data[14] to sockaddr.sa_data[34]...

atkins@nbires.UUCP (06/11/87)

(If that subject didn't get you, nothing would.)

Anyone else attempt to implement a network driver to something other than
Ethernet under 4.2?  

My primary problem is that the sockaddr struct in socket.h has a 
data element (sa_data) which is 14 bytes in length. Unfortunatly, a 
802.5 header can be anywhere from 16 to 34 bytes.  This screws up all the 
IF and ARP stuff, which pass hardware addresses through sockaddr structs.

I am EXTREAMLY relunctant to change socket.h.  Not just because I would
have to recompile the whole universe, but there are a lot of programs out
there system which a) have no accessable source, and b) expect a 14 byte 
sockaddr.sa_data element.

Any ideas folks?  Please respond via mail, thank you.

Brian Atkins		atkins@nbires.UUCP or atkins@nbires.nbi.com
NBI Inc., P.O. Box 9001, Boulder CO 80301	(303) 938-2986