mark@spider.co.uk (Mark Valentine) (11/19/89)
I'd like to be able to access the network interface on my MIPS RS2030 (which has 4.3BSD-derived networking code) by way of raw sockets. I have the source of the MIPS Lance driver, and I have the source of the original BSD Networking release for reference purposes. There's some tentative code (#ifdef'd out) in the BSD sys/vaxif/if_en.c which seems to suggest how to implement this. However, this code appears to introduce a new protocol family (AF_ETHERLINK), which would have to be added to other parts of the networking code. Am I missing a way of implementing raw ethernet sockets which involves mods to the network interface layer only? My other choices are to port parts of the BSD release myself and add the new protocol family, or to give up on raw sockets and go for an alternate approach involving an ugly graft of a STREAMS driver onto the side of the Lance driver. Any pointers from those with experience in this area would be most appreciated. Mark. __ Mark Valentine, Spider Systems Limited, Edinburgh, UK. /\oo/\ <mark@spider.co.uk, mark%spider.co.uk@uunet.uu.net, uunet!mcsun!ukc!spider!mark>