Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!rutgers!husc6!hao!nbires!atkins From: atkins@nbires.UUCP Newsgroups: comp.unix.wizards,comp.unix.questions,comp.dcom.lans,comp.protocols.misc Subject: Let's all change sockaddr.sa_data[14] to sockaddr.sa_data[34]... Message-ID: <1200@nbires.UUCP> Date: Wed, 10-Jun-87 19:31:35 EDT Article-I.D.: nbires.1200 Posted: Wed Jun 10 19:31:35 1987 Date-Received: Sat, 13-Jun-87 06:39:11 EDT Organization: NBI Inc., Boulder, CO. Lines: 19 Keywords: Token Ring Ethernet ARP sockaddr networks drivers help Xref: utgpu comp.unix.wizards:2453 comp.unix.questions:2451 comp.dcom.lans:472 comp.protocols.misc:44 (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