Raw (More or Less) Ethernet Access in A/UX?
Kent Sandvik, 120dB or more
ksand at Apple.COM
Fri Apr 12 13:10:31 AEST 1991
In article <!RX_3+_ at smurf.sub.org> urlichs at smurf.sub.org (Matthias Urlichs) writes:
>In comp.unix.aux, article <10944 at bunny.GTE.COM>,
> dcr0 at 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.
Funny, I was reading the same stuff today, yes you could dive down all
the way to the ethernet packet level with the example Ethernet
device driver.
A word of warning, the A/UX dev. driver kit is for A/UX 2.0, and u_phys
has changed, and there are some header file changes. It could happen
that the dev. driver kit works OK with most of the 2.0.1 headers/object
files, but the object code will link together a 2.0 kernel, and that's
not exactly what you want for testing on a 2.0.1 system.
Kent
--
Kent Sandvik, DTS junkie
More information about the Comp.unix.aux
mailing list