This is a little sample configuration with two terminals connected to a
switch. All of the are on the same host and atmtcp takes care of the
"wiring". The terminals are controlled by the isp program. (We can't use
the real kernel with multiple terminals on the same machine. At least
not yet.)

Note that no data transfer or such is possible yet. This is only
signaling.


This is the example setup:

	  +-------+     +------+     +-------+
	  |  isp  |     |switch|     |  isp  |
	  |atmsigd|-----|      |-----|atmsigd|
	  +-------+     +------+     +-------+


Preparation (only once):

  # atmtcp -b -i 1 -l 8412
  # atmtcp -b -i 2 -c localhost 8412
  # atmtcp -b -i 3 -l 8434
  # atmtcp -b -i 4 -c localhost 8434

Start the "network" (no privileges required):

  % atmsigd -b 1.0.105 /tmp/1
  % atmsigd -b -N -A 2.0.105 /tmp/2
  % atmsigd -b -N -A 3.0.105 /tmp/3
  % atmsigd -b 4.0.105 /tmp/4
  % ./sw_debug -d
  % isp /tmp/4 <4.isp
  % isp /tmp/1 <1.isp


In more detail:


		 +------------------------------------------+
                 |                ./sw_debug                |
		 +------------------------------------------+
		   |			                 |
		 /tmp/2			               /tmp/3
		   |			                 |
    +------------------------------+	  +------------------------------+
    | atmsigd -N -A 2.0.105 /tmp/2 |	  | atmsigd -N -A 3.0.105 /tmp/3 |
    +------------------------------+	  +------------------------------+
		   |			                 |
		 itf 2			               itf 3
	           |					 |
   +-------------------------------+     +-------------------------------+
   | atmtcp -i 2 -c localhost 8412 |     |      atmtcp -i 3 -l 8434      |
   +-------------------------------+     +-------------------------------+
   |      atmtcp -i 1 -l 8412      |	 | atmtcp -i 4 -c localhost 8434 |
   +-------------------------------+     +-------------------------------+
	           |					 |
		 itf 1				       itf 4
		   |					 |
       +------------------------+	     +------------------------+
       | atmsigd 1.0.105 /tmp/1 |	     | atmsigd 4.0.105 /tmp/4 |
       +------------------------+	     +------------------------+
              |						       |
	    /tmp/1					     /tmp/4
	      |						       |
+-------------------+					 +-------------------+
| isp /tmp/1 <1.isp |					 | isp /tmp/4 <4.isp |
+-------------------+					 +-------------------+


--- switch.conf --------------------------------------------------------------

socket /tmp/2 {
    itf 2
    route +1
}
socket /tmp/3 {
    itf 3
    default
}

--- 1.isp --------------------------------------------------------------------

send connect vcc=1 svc=+234 local=+123 qos=ubr,aal5
receive okay vcc=1
send close vcc=1
receive close vcc=1

--- 4.isp --------------------------------------------------------------------

send listen vcc=1 svc=+234 qos=ubr,aal5
receive okay vcc=1
receive indicate listen_vcc=1
send accept vcc=2 listen_vcc=1
receive okay vcc=2
receive close vcc=2
send close vcc=2
