IPX dos function list

A list of Netware IPX protocol functions available through a DOS interrupt.

before Send initialize
  ECB.ESR
  ECB.Socket
  ECB.Immediate
  ECB.FragmentCount
  ECB.FragmentPtr
1st fragment:
  IPXHdr.PktType
  IPXHdr.DestAddress    // net,node,sock
  IPXHdr.

0451  - NCP socket
0453  - RIP?
0456  - diagnostics socket
0457  - serialnr socker



1-02           Event Service Routine
1-27           Receive Look Ahead Handler
1-16  BX=0000  IPX Open Socket                  (DX=sock, 0=dynamic, AL=longlived)
1-05  BX=0001  IPX Close Socket                 (DX=socket)
1-10  BX=0002  IPX Get Local Target             (ESSI=dstnode, ESDI=targetbuf)
1-23  BX=0003  IPX Send Packet                  (ESSI=ecb)
1-13  BX=0004  IPX Listen For Packet            (ESSI=ecb)
1-21  BX=0005  IPX Schedule IPX Event           (AX=delay, ESSI=ecb)
1-04  BX=0006  IPX Cancel Event
1-19  BX=0007  IPX Schedule AES Event           (AX=delay, ESSI=ecb)
1-09  BX=0008  IPX Get Interval Marker
1-08  BX=0009  IPX Get Internetwork Address     (ESSI=ptr addr)
1-18  BX=000a  IPX Relinquish Control
1-06  BX=000b  IPX Disconnect From Target       (ESSI=dstnode)
      BX=000c  IPX Initialize Network Address   (CXDX=nwaddr)
      BX=000d  IPX Get Packet Size              (AX=size CX=retrycount)
      BX=000e  IPX Terminate Sockets
      BX=000f  IPX Fast Send Packet
1-36  BX=0010  SPX Initialize
1-29  BX=0011  SPX Establish Connection
1-37  BX=0012  SPX Listen For Connection
1-44  BX=0013  SPX Terminate Connection
1-28  BX=0014  SPX Abort Connection
1-32  BX=0015  SPX Get Connection Status
1-42  BX=0016  SPX Send Sequenced Packet
1-40  BX=0017  SPX Listen For Sequenced Packet
      BX=0018  SPX Add Diagnostic Element
      BX=0019  SPX Cancel Diagnostic Element
1-12  BX=001a  IPX Get Max Packet Size
      BX=001b  - nop
      BX=001c  - nop
      BX=001d  - nop
      BX=001e  - nop
1-03  BX=001f  Get IPX Information
1-25  BX=0020  IPX Send With Checksum           (ESSI=ecb)
1-07  BX=0021  IPX Generate Checksum
1-26  BX=0022  IPX Verify Checksum              (ESSI=ecb)
1-15  BX=0023  IPX Open Look Ahead Socket       (DX=sock, ESSI=handler, BP=size)
      BX=0024  IPX Set Internetwork Address
      BX=0025  - nop
      BX=0026  - nop


socket 0456
packet format:
00: IPX Header
 (1E: SPX Header)
2A: component position
2B:  request type
2C:  additional data

components:
00  IPX/SPX
01  bridge driver
02  shell driver
03  shell
04  VAP shell
05  external bridge
06  internal bridge
07  nondedicated NetWare server
08  Star 68000
09  DOS GNMA
0a  OS2 GNMA
0b  NWlite Server
0c  NWlite Cache

fileservers : usually components 0,1,6
workstations: usually components 0,2,3,9

[pagina in hoofdstuk 2 van NWCTPAPI4ASM, component type, request]



2-046  0 00  return IPX/SPX version
2-041  0 01  return IPX statistics
2-106  0 02  return SPX statistics
2-130  0 03  start sending packets
2-002  0 04  abort sending packets
2-126  0 05  start counting packets
2-062  0 06  return received packet count
       0 07
       0 08
2-027  1 00  return bridge driver status
2-013  1 01  return bridge driver configuration
2-021  1 02  return bridge driver diagnostic statistics
2-072  2 00  return shell driver configuration
2-080  2 01  return shell driver diagnostic statistics
       2 02
       2 03
2-054  3 00  return os version
2-068  3 01  return shell address
2-086  3 02  return shell statistics
2-036  3 03  return connection id table
2-064  3 04  return server name table
2-058  3 05  return primary server number
2-092  3 06  return shell version
2-112  4 01  return VAP shell address
2-116  4 02  return VAP shell statistics
2-122  4 06  return VAP shell version
2-031  6 00  return bridge statistics
2-050  6 01  return local tables
2-004  6 02  return all known networks
2-096  6 03  return specific network information
2-008  6 04  return all known servers
2-101  6 05  return specific server information
       9 00
       9 01


call to diagnostic component:
in:  DS:BX -> ipx packet
out: DS:BX=return packet, CX=len,  AX=return code (0=ok, ff=invalid code)

-     2   ; postponed AES events
0448  IPX statistics table, 3 + 10 custom counters len= 0a+(3+2*10)*4 = 102 bytes

0450  4   ; send packets
0458  4   ; lost packets
045e  2   ; malformed ECB's             'MisformedPackets'
0462  4   ; inbound packets             'GetECBRequests'
0466  4   ; AES events                  'AESEvents'
046a  2   ; max possible sockets        'MaxConfiguredSockets'
046e  2   ; max open sockets            'MaxOpenSockets'
0472  2   ; open socket failures        'OpenSocketFailures'
0476  4   ; listen ECB's                'ListenECBs'
047a  2   ; cannot cancel ECB's         'ECBCancelFailures'
047e  2   ; cannot find route           'FindRouteFailed'
0482      ;                             'ChecksumErrors'
0555  - endofipxstatistics

06ec  2   ; IPX version
1a90  2   ; SPX version
1c16 2c   ; SPX statistics
3220  1   ; ?
3222  2   ; diag # packets
3224  2   ; 0
3226  2   ; diag packets per interval
3227  1   ; diag active flag
3228  1   ; diag send interval
322a  2   ; diag change size
322c  2   ; 0
3230  ECB  for diag packet send
324c  6   ; diag immediate address
3258  2   ; diag packet size
3284  c   ; diag destination node
329c  AESECB for diagnostic packet send AES
32aa  2   ; diag packet counter
32b6  2   ; diag start sending packets socket