Linux-ATM related material
This page contains some Linux-ATM related material I've been getting
my hands dirty with. I hope you find them useful as well.
Index:
ATM 0.31 patches for stable kernels 2.0.33 and above
Native ATM phone application: ATM-VAT
Signalling test programs: asread/aswrite
ATM 0.31 patches for stable kernels v2.0.33 and above
Here are patches of Werner Almesberger's ATM package version
0.31 against recent kernels (from 2.0.33 to 2.0.35). These patches are made
by applying the original 0.31 atm.patch to clean distribution kernel,
then manually fixing the files that patch rejected and finally
'diff -c -r -P'ing the whole thing. You can apply the patches onto clean
2.0.33, 2.0.34 or 2.0.35 kernel according to instructions in
the Linux-ATM 0.31 package; just replace atm.patch with one of these
files (depending on the version of the kernel you're using, of course):
Download:
atm.patch-for-2.0.33.gz
atm.patch-for-2.0.34.gz
atm.patch-for-2.0.35.gz
NOTE: You need to get the rest of the Werner's package from
his site. Note also that I'm
not officially maintaining these patches, I only thought some people might
find them useful, so I made them public. However, if you encounter any
problems, comments are welcome to my mail address below.
These patches have not been extensively tested. I've basically compiled
them and found that ATMARP over PVCs works for me (with ENI card), but I
haven't tried signalling or LANE. Some other people have reported success
as well.
Native ATM phone application: ATM-VAT
There are not many freely available native ATM (real) applications around,
but here is one for starters. I took the
MBone VAT (Visual Audio Tool)
and hacked it to work as a native ATM application, both PVCs and SVCs are
supported. It works strictly as a Linux application, however, so if
you need it to work on another platform, feel free to hack it further.
I haven't tried it on Linux ATM newer than 0.31 on 2.0.34 because I am
reluctant to move to the 2.1 kernels for now. I suppose you have to at
least recompile for the newer versions.
The package below contains a precompiled binary for libc5 systems, see
README.ATM for more information about the ATM
VAT package.
Download: vat4.0b2-atm0.4.tgz
Signalling test programs: asread/aswrite
These two small programs are modifications of aread/awrite included in the
Linux ATM distribution. I wrote them mainly for straining our own signalling
stacks a bit, but they serve well as a generic signalling test and an example
of how to write programs that use SVCs.
The operation is very simple: first you run asread in one host to wait
for incoming connections, then you start aswrite in an other host to
open the connections. Aswrite makes a call to listening asread, writes
a sequence number to the connection, closes it, waits for a little
(configurable) time and does it all over. Asread prints the received
sequence numbers. It's easy to generate substantial signalling load
by setting up a few aswrites with 10-msec delay (which makes about
100 calls/sec for each aswrite), if you want to test the signalling
performance of your switch.
Download: sigtest0.1.tgz
Updated 11 Aug 98 by Juhana Räsänen <justus@tcm.hut.fi>