Thanks for the responses. I'd like to clarify the problem a bit here. I
think my problem would be solved if I had a utility that was the function
equivalent to etherfind. At the basic level, etherfind copyies packets off
the network that fit given characteristics and reports about them. It must
be able to read from the network interface somehow. If I could see a similar
program, or better the source code for etherfind, it might help with a
Someone set me straight about the TLI thing. I need to get an up to
date reference for Solaris. Any suggestions?
Do you think something such as the following would work?
[ I'll skip the include files]
#define IO_DEVICE "/dev/fa0"
fp = t_open(IO_DEVICE, O_RDONLY, .... );
Then I would add the correct t_read() function.
Will this sort of thing work? I know I'm asking Solaris questions in a linux
newsgroup, but I figure there are a lot of device driver type people here
thant can answer these types of questions.
> I am currently working on a project that requires that I be able to
>take ATM cells directly off an ATM interface (OC-3) and store them to disk.
>I have "/dev/fa0" as the device file for the interface and that's really about
>it. I haven't done much of this before. From what I understand, I have to
>open the device, read from it, and write what I read to a file. However, I am
>having problems with this since the system seems to expect IP and there is no
>IP, it's straight ATM cells.
>Any suggestions? I'd like to be able to port this to Solaris 2.5.1 too, but
>that uses TLI and I want to make sure I get this part working first.