* OTTO board device driver
@ 1995-06-08 4:00 Brady Montz
0 siblings, 0 replies; only message in thread
From: Brady Montz @ 1995-06-08 4:00 UTC (permalink / raw)
I have two turbochannel ATM otto boards, and the SRC version 2.2 OSF/1 device
driver. After setting the appropriate things up with ifconfig, OSF/1 is
perfectly happily running IP over them. I can also play with the VC's using
the program "pvc" which comes with the driver. What I can't do is figure out
how to use the device driver myself to send and receive ATM data over the
fiber.
I would greatly appreciate any advice on how I can access the driver and set
up a connection and send data. Here are some of my observations:
My hunch from looking at the source code for the driver is that the driver
takes ethernet packets, and spits out ATM to the board, and so looks just
like a faster ethernet board to whatever's on top of the driver. Is this true?
In one of the header files for the driver, there is this comment:
/* Structure used to send and receive non-ethernet packets.
* To use:
* struct ottosndrcv sndrcv;
* create a socket: int s = socket (AF_INET, SOCK_DGRAM, 0);
*
* fill in sndrcv.ifreq.name strcpy (sndrcv.ifreq.name, "otto0");
* fill in the fields sndrcv.length = length of buffer to send/rcv
* sndrcv.data = address of buffer
* sndrcv.link = 0 or 1 (send only)
* do the operation ioctl (s, SIOCOTTOSND, &sndrcv);
* or ioctl (s, SIOCOTTORCV, &sndrcv);
*
* Returns -1 on error, 0 otherwise.
*
* After successful receive, sndrcv.length contains length of packet,
* and sndrcv.link contains link that packet arrived on.
but this doesn't work, and the driver ioctl code has no idea what SIOCOTTOSND
or SIOCOTTORCV are. I have been told that this might be a remnant of the
ottonet2 driver, and that this driver might not support it (well, it does not
support it actually). The driver does know what SIOCRPHYSADDR is and I've
been able to use that in much the same fashion sa the above example to get the
hardware address of the otto board.
--
bradym@cs.arizona.edu
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1995-06-08 4:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-06-08 4:00 OTTO board device driver Brady Montz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox