home *** CD-ROM | disk | FTP | other *** search
/ PC Press: Internet / PC_PRESS.ISO / software / dos / misc / inar-100.exe / DOC / ISPA18.TXT < prev    next >
Encoding:
Text File  |  1995-05-21  |  22.5 KB  |  564 lines

  1.  
  2.           ISPA Version 1.8, a Packet-Driver for ISDN-API 1.1.
  3.  
  4.                  Herbert Hanewinkel, April 1994
  5.  
  6.         (last update for Version 1.8.2: 6.Jun.1994)
  7.  
  8. ISPA is an ethernet-type (class=1) packet-driver for IP-Routing or
  9. remote Ethernet bridging over ISDN. ISPA communicates with the ISDN card
  10. using the ISDN API 1.1 specification (a standard defined by german ISDN card
  11. manufacterers and the german Telekom). For this reason ISPA is completely
  12. hardware independent and has succesfully been tested with many active or
  13. passive ISDN cards.
  14.  
  15. ISPA 1.8 supports a large set of protocols for communication with other
  16. vendors ISDN routers or servers. Among these protocols are: Frame-Relay,
  17. PPP, SLIP, Cisco-HDLC.
  18. ISPA was developed for use with PCROUTE as a very cheap Ethernet-ISDN Router.
  19. However, it has been succesfully tested with a wide range of TCP/IP programs
  20. e.g. WATTCP based IP programs, PC-NFS, NCSA-Telnet/ftp, gopher, popmail,
  21. PCTCP 2.2 or Trumpet WINSOCK.
  22.  
  23. ISPA was written for use with ISDN BRI PC cards. I myself have used ISPA
  24. only with the Teles.S0 card, one of the cheapest ISDN cards in Germany.
  25. But I got responses from users of ISPA that it will work with the
  26. following other ISDN cards:
  27. AVM A1, AVM B1, Diehl S-COM, Diehl SoTec, NICCY 1000 PC, Solis ? 1.2
  28. (See the *.comment files for details).
  29.  
  30. The current version of ISPA supports one active connection at a time using
  31. one or two (for loadsharing) B-channels. ISPA can be loaded more than once,
  32. if simultanous connections to different sites are desired.
  33. Loadsharing can be configured as static or dynamic (bandwith on demand).
  34.  
  35.  
  36. To load ISPA 1.8 run ispa.exe with the following arguments:
  37. (Parameters in [] are optional)
  38.  
  39.     ispa [options] PacketInterrupt ISDNnumber|config-file [ISDNnumber2]
  40.  
  41.     "PacketInterrupt" defines the software interrupt for the Packet
  42.     Driver application. The value has to be in the range from 0x60 to 0x80.
  43.  
  44.     "ISDNnumber" defines the ISDN-number you wish to connect to or want
  45.     to receive connections from.
  46.     More than one number can be specified using a configuration file
  47.     (see below).
  48.     Starting digits, which should not be used on an outgoing call, can
  49.     be marked by a decimal point.
  50.     "ISDNnumber2" specifies an alternative ISDN-number for the second
  51.     B-channel, when used with loadsharing.
  52.  
  53.     An SPV connection (available only in German ISDN, 1TR6) is set up
  54.     by appending an "s" to the end of the ISDN-number. An incoming SPV 
  55.     request is accepted only if the "s" is specified. 
  56.  
  57.     Subaddresses (available only in Euro ISDN, E-DSS1) can be appeneded
  58.     to a number separated by a /. Only digits are supported in a 
  59.     subaddress. The total length is limited to 16 characters.
  60.     
  61.  
  62.     If connections to more than one ISDN peer are desired, a configuration
  63.     file can be used in place of the direct ISDN number specification on
  64.     the command line. The configuration file has two functionalities:
  65.  
  66.     - it acts as a translation table for IP routing on outgoing calls.
  67.  
  68.     - it can be used for calling line identification an incoming calls.
  69.  
  70.     The name of a configuration file has to start with a non numeric
  71.     character and the file has to be in the following format:
  72.  
  73.     ip-address ISDNnumber [ISDNnumber2] [options] [# comment]
  74.  
  75.     "ip-address" defines the IP-address of the peer.
  76.     "ISDNnumber" defines the ISDN-number of the peer.
  77.     "ISDNnumber2" defines a second ISDN-number, when used with loadsharing.
  78.     "options" define the protocol, timeout, ... for this link.
  79.  
  80.     If the same IP-address appears more than once in the configuration
  81.     file, ISPA will try all corresponding ISDN numbers until a connection
  82.     could be established.
  83.  
  84.     If the first entry in the configuration file selects an ethernet
  85.     bridging protocol, the use of the configuration file as a translation
  86.     is disabled. All outgoing calls will be set up to the first entry.
  87.  
  88.     If the option -v (see below) is selected on the command line, outgoing
  89.     routing connections are set up only, if a matching entry is found in
  90.     the configuration file.
  91.     If the option -v (see below) is selected on the command line, incoming
  92.     connections will be accepted only from ISDN-numbers specifed in the
  93.     configuration file or on the command line.
  94.  
  95.     Without the -v option, for incoming connections from unknown numbers
  96.     the options given on the command line will be used.
  97.  
  98.     Up to 32 translation entries can be specified in the configuration file.
  99.     
  100.  
  101. ISPA 1.8 options:
  102.  
  103.     -c n
  104.     selects the ISDN controller (card)
  105.     n = 0, controller 0
  106.     n = 1, controller 1
  107.     default: 0
  108.  
  109.     -i vector
  110.     specifies the software interrupt for communication with the ISDN-API
  111.     software.
  112.     default: 0xf1
  113.  
  114.     -o
  115.     if ISPA's automatic selection of the video-RAM fails, this option can
  116.     be used to force screen output to the monochrome video-RAM at B000:0.
  117.  
  118.     -e EAZ|index
  119.     German ISDN (1TR6) allows to specify 1 digit subaddress(EAZ).
  120.     This option defines the EAZ used by ISPA to listen for incoming
  121.     calls. EAZ's range from 1 to 9.  "subaddress" 0 means accept all EAZ's.
  122.  
  123.     For EuroISDN this option defines an index in a table of local addresses
  124.     defined during installiation of your API 1.1 software.
  125.     default: 2
  126.  
  127.     -z days
  128.     forces an automatic restart of the PC after "days"-days, as soon as the
  129.     system becomes idle. "days" should be in the range from 1 to 2761.
  130.     This option also enables automatic restart of the PC if ISPA receives
  131.     an error from the ISDN API 1.1 software.
  132.     default: disabled
  133.  
  134.     -q
  135.     suppresses any message output on the screen.
  136.  
  137.     -r lop-ip,my-ip[,int]
  138.     remote logging on a unix host with a syslogd. Using ISPA with IP-router
  139.     software this option can be used to log all connection related
  140.     messages on a unix host with a berkeley syslogd. "log-ip" defines
  141.     the IP address of the unix host. "my-ip" defines the source IP 
  142.     address of syslog messages sent by ISPA.
  143.     If "int" is specified and a connection is up, a syslog message will be
  144.     sent every "int"-seconds. "int" should be a multiple of 8, other it is
  145.     rounded up to the next multiple of up.
  146.  
  147.     -w
  148.     Display activity, state and charge information in the upper right
  149.     corner of the screen.
  150.  
  151.     /_0\_0A_nnn
  152.     | || |||  |
  153.     | || |||  accumulated charge units
  154.         | || ||State of channel 2
  155.         | || |State of channel 1
  156.         | || incoming data rate in kBytes/sec, averaged over 8 seconds
  157.         | |incoming data, rotates for every received packet
  158.         | outgoing datarate in kBytes/sec, averaged over 8 seconds
  159.         outgoing data, rotates for every transmitted packet
  160.  
  161.         Status: _ = free, D = D-channel up, C = B-channel requested,
  162.                 B = B-channel up, A = connection set up,
  163.     (additional for PPP:
  164.         L = lcp configuration requested,
  165.         I = lcp up, ipcp configuration requested,
  166.         P = PPP connection up.)
  167.  
  168.     -v
  169.     Calling line identification. Incoming calls will be are accepted only,
  170.     if the number is specified on the command line or in the configuration
  171.     file. Numbers are verified without the last digit (the EAZ in German
  172.     ISDN. This will change in a future release)
  173.     default: no check
  174.  
  175. The following options can be specified on the command line and for every
  176. ISDN-number in the configuration file:
  177.  
  178.     -t max-idle[,min-idle]
  179.     an idle connection will be disconnected after "max-idle"-seconds.
  180.     Setting "max-idle" to zero disables shutdown of idle connections.
  181.     Specifing a "min-idle" value lower than "max-idle", an outgoing
  182.     (charged) connection will be hold at least "min-idle" seconds, it
  183.     will be closed down shortly before the next charge unit is execeeded
  184.     or max-idle expires. The time of one charge unit is calculated from
  185.     the first two units received.
  186.     default: max-idle: 300 seconds, min-idle: disabled
  187.  
  188.     -m high[,low]
  189.     static or dynamic loadsharing over both s0-channels.
  190.     "high" = 0, static loadsharing, the caller will always try to activate
  191.     both channels.
  192.     "high" <> 0, dynamic loadsharing, if the load is higher than
  193.     6000 Bytes/sec for "high"-seconds, the system will activate the second
  194.     channel. After "down"-seconds of a load lower than 6000 Bytes/sec the
  195.     second channel will be closed down. If "down" is not specified, the
  196.     "max-idle" Timeout will be used (see option -t). A -m option has to be
  197.     specified on both ends of a link. However, only the caller of the
  198.     first channel will activate the second channel.
  199.     The values for "high" and "low" should be multiples of 8, otherwise
  200.     they will be rounded up to next multiple of 8.
  201.  
  202.     To set up loadsharing to different target ISDN numbers, a second
  203.     ISDN number can be specified on the command line or in the
  204.     configuration file.
  205.  
  206.     -d mode
  207.     mode = 0, outgoing calls are disabled.
  208.     mode = 1, incoming and outgoing calls are allowed.
  209.     mode = 2, an outgoing call is dropped after sending the connect
  210.           request and the system waits for a call back.
  211.     mode = 3, incoming calls are rejected but trigger an outgoing call
  212.           to the received ISDN-number.
  213.     mode = 4, incoming calls are disabled.
  214.     default: 1, incoming and outgoing calls
  215.  
  216.     -j low[,high]
  217.     defines an ethernet type range for ethernet bridging. Ethernet packets
  218.     outside the selected range are discarded. This filter applies to
  219.     all bridging protocols.
  220.     "low" defines the lower boundary. default: 0
  221.     "high" defines the upper boundary. default: 0xffff
  222.  
  223.     -x
  224.     (specific to German ISDN)
  225.     the ISDN service "X.21 services" will be used in place of the default
  226.     service "data transmission 64kBit/s".
  227.     default: "data transmission 64kBit/s"
  228.  
  229.     -a asi
  230.     (specific to German ISDN, however the CAPI should map the values
  231.     into corresponding Euro ISDN codes)
  232.     additional service indicator. Some ISDN equipment (e.g. Elink TA) 
  233.     use this field to selcted a predefined mode/protocol of operation.
  234.     However there is no standard for this field.
  235.     ISPA sets "asi" to 0 with the following exceptions:
  236.  
  237.         asi = 197: -s 9,  -y 9,  -b 9
  238.         asi = 199: -s 19, -y 19, -b 19
  239.         asi = 64:  -s 38, -y 38
  240.     asi = 128: -b 38
  241.  
  242.     The option allows to override the default value with your own
  243.     value. (To override the protocol specific default, the value has
  244.     to be positioned after the protocol option on the line.)
  245.  
  246. ISPA supported protocols:
  247. (only one protocol can used for one peer)
  248.  
  249.     -f dlci[i]
  250.     Frame-relay protocol. "dlci" specifies the data link connection
  251.     identifier. Appending an "i" to the dlci switches encapsulation
  252.     from "early" style (used by Cisco) to IETF format as described in RFC
  253.     1294 (but without fragmentation support, a data size of 1500 is
  254.     assumed). 
  255.  
  256.     -p
  257.     Point-to-Point protocol using default ppp-parameters.
  258.         No configuration options are supported in the current implementation.
  259.     The software sends no options and any proposed options are rejected.
  260.     Of the possible upper layer protocols, only IP is supported at this
  261.     time.
  262.  
  263.     -h type
  264.     other HDLC based protocols
  265.     type = 0, IP-Data, no header
  266.     type = 1, IP-Data, unnumbered information frame (UI) header
  267.     type = 2, Cisco style HDLC header
  268.     type = 3, Ethernet bridging
  269.     type = 4, remote test loop, incoming data is echoed.
  270.  
  271.     -l type
  272.     X.75 (LAPB) based protocols
  273.     type = 0, IP-Data, no header, 
  274.     type = 1, multi-X.75 (called LAPB encapsulation an ACC routers or
  275.             multi-LAPB encapsulation on Cisco routers)
  276.     type = 2, SLIP
  277.     type = 3, Ethernet bridging
  278.     type = 4, remote test loop, incoming data is echoed.
  279.     type = 6, Ethernet bridging using SLIP encapsulation (SLX)
  280.  
  281.     -s baudrate
  282.     SLIP protocol with V.110 bitrate adjustment. "baudrate" defines the
  283.     desired transfer rate.
  284.     baudrate = 9, 9600 baud, async, 8 bit, no parity, 1 stop bit
  285.     baudrate = 19, 19200 baud, async, 8 bit, no parity, 1 stop bit
  286.     baudrate = 38, 38400 baud, async, 8 bit, no parity, 1 stop bit
  287.  
  288.     -y baudrate
  289.     SLX (Ethernet bridging using SLIP encapsulation) protocol with
  290.     V.110 bitrate adjustment. "baudrate" defines the desired transfer rate.
  291.     baudrate = 9, 9600 baud, async, 8 bit, no parity, 1 stop bit
  292.     baudrate = 19, 19200 baud, async, 8 bit, no parity, 1 stop bit
  293.     baudrate = 38, 38400 baud, async, 8 bit, no parity, 1 stop bit
  294.  
  295.     default: -h0
  296.  
  297. ISPA can be unloaded using TERMIN.EXE from the Clarkson/Crynwr Packet Driver
  298. collection. 
  299.  
  300. ---------------------------------
  301. Restrictions:
  302. 1. Option parsing is far away from being perfect. It is possible to specify
  303.    conflicting options. Don't specify more than one protocol option per line
  304.    (command line or configuration file line).
  305. 2. In the current version loadsharing in not supported for SLIP, SLX.
  306.    Unpredictable results will occur.
  307. 3. In the current version loadsharing in not supported for PPP, if an
  308.    independent setup of both lines is required. The connection will be lost.
  309.  
  310. ---------------------------------
  311. Ethernet characteristics
  312.  
  313. ISPA works as an ethernet type Packet Driver. The ethernet address of
  314. ISPA is defined as: 00-00-0xFB-0xAA-00-<pkt-int>. (Thanks to RzK, Asbach,
  315. Germany for using numbers from their official 00-00-0xFB range.)
  316. "pkt-int" is replaced by the software interrupt number in the range 0x60 to
  317. 0x80 used for accessing ISPA.
  318.  
  319. With PKTADDR.EXE from the Clarkson/Crynwr Packet Driver collection the
  320. ethernet address can be changed to any other desired value.
  321.  
  322. Changing the ethernet address may be required when connecting two ISPA's with
  323. direct applications using an ethernet bridging protocol. It is not neccessary
  324. when ISPA is used with PCBRIDGE.
  325.  
  326. ---------------------------------
  327. Error codes:
  328.  
  329. The error codes from ISPA are the same as defined in the ISDN-API 1.1
  330. specification:
  331.  
  332. 2001    incorrect controller
  333. 2002    incorrect PLCI
  334. 2003    incorrect NCCI
  335. 2004    incorrect type
  336.  
  337. 3101    B-channel incorrectly coded
  338. 3102    Info-mask incorrectly coded
  339. 3103    Serviced EAZ-mask incorrectly coded
  340. 3104    Serviced SI mask incorrectly coded
  341. 3105    B-channel protocol, level 2 incorrect
  342. 3106    DLPD incorrect
  343. 3107    B-channel protocol, level 3 incorrect
  344. 3108    NCPD incorrect
  345. 3109    NCPI incorrect
  346. 310A    Flags incorrectly coded
  347.  
  348. 3201    Controller error
  349. 3202    Conflict between registrations, check SI mask and EAZ
  350. 3203    Function not supported
  351. 3204    PLCI not active
  352. 3205    NCCI not active
  353. 3206    B-channel protocol, level 2 not supported
  354. 3207    Changeover of B-channel protocol, level 2 in this state not possible
  355. 3208    B-channel protocol, level 3 not supported
  356. 3209    Changeover of B-channel protocol, level 3 in this state not possible
  357. 320A    Unsupported parameters in DLPD
  358. 320B    Unsupported parameters in NCPD
  359. 320C    Unsupported parameters in NCPI
  360. 320D    data length not supported
  361.  
  362. 3301    Error on setup of D-channel, level 1
  363. 3302    Error on setup of D-channel, level 2
  364. 3303    Error on setup of B-channel, level 1
  365. 3304    Error on setup of B-channel, level 2
  366. 3305    Abort D-channel, level 1
  367. 3306    Abort D-channel, level 2
  368. 3307    Abort D-channel, level 3
  369. 3308    Abort B-channel, level 1
  370. 3309    Abort B-channel, level 2
  371. 330A    Abort B-channel, level 3
  372. 330B    B-channel connection, level 2 reestablished
  373. 330C    B-channel connection, level 3 reestablished
  374.  
  375. 34xx    Abort by network, low order 8 Bit contain the cause value according
  376.     1TR6, the MSB is used to signal an error, but is not set by all
  377.     ISDN-API 1.1 implementations.
  378.  
  379. Cause-table according to 1TR6 (don't know what you will get with EuroISDN)
  380.  
  381. 00      normale Ausloesung (0 = lokal, 3400 = durch die Gegenstelle)
  382.     normal termination (0 = local, 3400 = from the network)
  383.  
  384. 83      Dienst ist nicht verfuegbar oder nicht beantragt
  385.     Service not available
  386.  
  387. 8A      kein B-Kanal auf lokaler Anschlussleitung verfuegbar
  388.     all B-channels are busy on the local line
  389.  
  390. 91      angefordertes Dienstmerkmal wurde abgelehnt, weil eigener
  391.         oder ferner Anschluss keine Berechtigung besitzt
  392.     ??
  393.  
  394. a0      abgehende Rufe wegen eingerichteter Sperre nicht moeglich
  395.     outgoing calls blocked
  396.  
  397. a2      Verbindung nicht moeglich wegen negativen GBG-Vergleich
  398.     Closed-user-group refused connection
  399.  
  400. a3      angegebene GBG (geschlossene Benutzergruppe) unbekannt
  401.     specified closed-user-group unknown
  402.  
  403. a5      Kommunikationsbeziehung als SPV nicht freigegeben
  404.     SPV not enabled for this number
  405.  
  406. b5      Verbindung nicht aufbaubar wegen falscher Zieladresse,
  407.         Dienste oder Dienstmerkmale
  408.     ??
  409.  
  410. b8      Rufnummer des gerufenen Teilnehmers hat sich geaendert
  411.     number of called station has changed
  412.  
  413. b9      ferne DEE nicht betriebsbereit
  414.     remote station not ready
  415.  
  416. ba      Ruf wurde von keiner Datenstation beantwortet
  417.     no station responding
  418.  
  419. bb      gerufene Datenstation besetzt
  420.     called station busy
  421.  
  422. bb      Gerufener Teilnehmer hat Sperre gegen ankommende Rufe oder
  423.         angeforderter Dienst vom gerufenen Teilnehmer nicht beantragt
  424.     ??
  425.  
  426. be      Ruf wurde von gerufener Datenstation abgewiesen
  427.     Call was rejected by called station
  428.  
  429. da      Verbindung von ferner Datenstation ausgeloest oder abgelehnt
  430.     Connection was terminated or rejected by called station
  431.  
  432. f0      Im aktuellen Verbindundsstand keine Dienstmerkmalanforderung moeglich
  433.     ??
  434.  
  435. f1      Ausloesung wegen Fehler bei der gerufenen Station
  436.     Disconneted due to an error at the remote station
  437.  
  438. ---------------------------------
  439. Examples:
  440.  
  441. 1. configuration for a dial-in server with calling line identification and
  442.    disabled outgoing calls. Idle connection will be closed after 60 seconds.
  443.  
  444.    ispa -v -d0 -e4 -t60 0x60 0815712345
  445.    pcroute
  446.  
  447. 2. same as 1, but with remote loging in the syslog file of 141.61.1.32.
  448.    The syslog messages will appear as coming from 141.61.2.3.
  449.  
  450.    ispa -e4 -t60 -r141.61.1.32,141.61.2.3 0x60 0815712345
  451.    pcroute
  452.  
  453. 3. dynamic Loadsharing. The second link will be established after 10 seconds
  454.    of a load higher than 6000 Bytes/sec and will be closed after 20 seconds
  455.    of a load lower than 6000 Bytes/sec. 
  456.  
  457.    ispa -h2 -e4 -m10,20  -t90 0x60 0815712345
  458.    pcroute
  459.  
  460. 4. set up of ISPA with configuration file. For incoming call from unkown
  461.    numbers the -h2 protocol will be used. If outgoing packets, no matching
  462.    entry is found in the configuration file, the first entry will be used.
  463.  
  464.    ispa -e4 -w -h2 -t60 0x60 ip2isdn
  465.  
  466.    ip2isdn(ISPA configuration file):
  467.    2.0.0.1 089.89512301 -f100i -t200,30 -x
  468.    2.0.0.2 089.89512301 089.89512303 -p -t20,5 -x -m8,30
  469.    2.0.0.3 0815711111 -d0 -h0 -t40
  470.    2.0.0.5 04518789123 -p -t60,10
  471.  
  472.    An example of a wattcp.cfg for the first entry of the configuration
  473.    file:
  474.    my_ip=2.0.0.4   
  475.    netmask=255.255.255.0              # netmask
  476.    nameserver=141.61.1.32             # nameserver
  477.    nameserver=141.61.1.23             # alt nameserver
  478.    gateway=2.0.0.2                    # gateway 
  479.    domainslist="biochem.mpg.de"
  480.  
  481. ---------------------------------
  482.  
  483. The latest version of ISPA is available on ftp.biochem.mpg.de.
  484.  
  485. Please mail comments, questions, problems to heha@biochem.mpg.de.
  486. ---------------------------------
  487. Warranty:
  488. There is NO WARRANTY, expressed or implied with this software.
  489. Use at your own risk.
  490.  
  491. ---------------------------------
  492. Copyright:
  493. ISPA 1.8 may be used freely, however it is copyrighted and it is not in the
  494. public domain. It may not be distributed for profit or included in any CD-ROM
  495. or diskette software collection without permission. This applies in particular
  496. to commercial PD libraries.
  497.  
  498. ---------------------------------
  499. Appendix A
  500. Dataformats (without bit- or byte-stuffing):
  501.  
  502. -h0 :   1      n                                       2           1     Byte
  503.        -------------------------------------------------------------------
  504.        | flag | IP-Data                               | CRC-CCITT | flag |
  505.        -------------------------------------------------------------------
  506.  
  507. -h1 :   1      1         1         n                   2           1     Byte
  508.        -------------------------------------------------------------------
  509.        | flag | address | control | IP-Data           | CRC-CCITT | flag |
  510.        -------------------------------------------------------------------
  511.  
  512. -h2 :   1      4              n                        2           1     Byte
  513.        -------------------------------------------------------------------
  514.        | flag | Cisco-Header | IP-Data                | CRC-CCITT | flag |
  515.        -------------------------------------------------------------------
  516.  
  517. -h3 :   1      6          6          2      n          2           1     Byte
  518.        -------------------------------------------------------------------
  519.        | flag | Dst-Addr | Src-Addr | type | Data     | CRC-CCITT | flag |
  520.        -------------------------------------------------------------------
  521.  
  522. -h4 :   same as -h3, but only type = 0x0800 to 0x0806
  523.  
  524.  
  525. -l0 :   1      2       n                               2           1     Byte
  526.        -------------------------------------------------------------------
  527.        | flag | X.75  | IP-Data                        |CRC-CCITT | flag |
  528.        -------------------------------------------------------------------
  529.  
  530. -l1 :   1      2       n                               2           1     Byte
  531.        -------------------------------------------------------------------
  532.        | flag | type | Data                           | CRC-CCITT | flag |
  533.        -------------------------------------------------------------------
  534.  
  535. -l3 :   1      2      6        6        2      n       2           1     Byte
  536.        -------------------------------------------------------------------
  537.        | flag | X.75 |Dst-Addr|Src-Addr| type | Data  | CRC-CCITT | flag |
  538.        -------------------------------------------------------------------
  539.  
  540. -l4 :   same as -l3, but only type = 0x0800 to 0x0806
  541.  
  542. SLIP :  1      n                                                   1     Byte
  543.        -------------------------------------------------------------------
  544.        | 0xC0 |      IP-Data                                      | 0xC0 |
  545.        -------------------------------------------------------------------
  546.     Byte-stuffing: 0xC0 -> 0xDB 0xDC, 0xDB -> 0xDB 0xDD
  547.  
  548. SLX :  1       6        6         2                               1     Byte
  549.        -------------------------------------------------------------------
  550.        | 0xC0 |Dst-Addr|Src-Addr| type | Data                     | 0xC0 |
  551.        -------------------------------------------------------------------
  552.     Byte-stuffing: 0xC0 -> 0xDB 0xDC, 0xDB -> 0xDB 0xDD
  553.  
  554. ---------------------------------
  555. Glossary:
  556.  
  557. 1TR6    the name of the signalling system in German ISDN
  558.  
  559. SPV    semi permanent circuit. A B-channel connection to a predefined
  560.     station. The customer has to pay for such a connection a fixed charge
  561.     per month independent of is real use. The B-channel can be disconnected
  562.     at any time and used for normal dial connection to other sites as well.
  563.  
  564.