Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!samsung!uakari.primate.wisc.edu!caen!ox.com!math.fu-berlin.de!fauern!unido!ira.uka.de!smurf!urlichs From: urlichs@smurf.sub.org (Matthias Urlichs) Newsgroups: comp.unix.aux Subject: Re: Raw (More or Less) Ethernet Access in A/UX? Message-ID: Date: 10 Apr 91 20:42:31 GMT References: <10944@bunny.GTE.COM> Organization: University of Karlsruhe, FRG Lines: 20 In comp.unix.aux, article <10944@bunny.GTE.COM>, dcr0@harvey.gte.com (David Robbins) writes: < We have a peculiar Ethernet protocol that I am considering porting to A/UX. < Question: does there exist a capability to speak to the Ethernet driver on < A/UX 2.0 at a level more primitive than a raw IP socket? Something along the < lines of Sun's NIT or the Berkeley enetfilter (aka Ultrix 4.0 packetfilter)? < Or has Apple carefully hidden the Ethernet interface behind TCP/IP in order to < idiot-proof it (and, in the process, rendering it less useful for us weirdos)? Hmm, the Device Driver's kit has source code to the Ethernet driver, which has something called ETHERLINK in it, which seems to do what you want. Search for ETHERLINK in the header files (/usr/include/*/*). Caveat (from said source code): if you open an [AP]F_ETHERLINK socket, you'll have to bind an IP address to it so that it can find the correct interface to send to. -- Matthias Urlichs -- urlichs@smurf.sub.org -- urlichs@smurf.ira.uka.de /(o\ Humboldtstrasse 7 - 7500 Karlsruhe 1 - FRG -- +49-721-621127(0700-2330) \o)/