Jump to content

CNTRL.EXE

From EDM2

It controls the stack for TCP/IP. TCP/IP Stack processing. CNTRL.EXE is a very important component of the stack. CNTRL.EXE provides threads for proper running of the stack. It provides a thread for each of the following:

  • IP input processing
  • TCP slow timeout processing
  • Debug thread for IP
  • ARP timeout processing
  • Ifndis debug thread
  • Watchdog thread for the adapter status
  • Loopback IP packets processing

CNTRL.EXE is normally started from CONFIG.SYS with a RUN=statement. It should be the first program to begin executing when TCP/IP is started. CNTRL.EXE for Version 4 is different from that in the Version 2.0 stack

Versions

Date Version Size Comments
1992-12-10 22:25 - 10,751 bytes TCP/IP 1.2.1
1997-12-10 10:07 - 11,587 bytes MPTS 5.12.2
2001-09-18 17:48 - 55,915 bytes MPTS 6.01 TCP/IP for OS/2: Control Program

CONFIG.SYS Parameters

It controls the stack for TCP/IP. TCP/IP Stack processing. CNTRL.EXE is a very important component of the stack. CNTRL.EXE provides threads for proper running of the stack. It provides a thread for each of the following:

  • IP input processing
  • TCP slow timeout processing
  • Debug thread for IP
  • ARP timeout processing
  • Ifndis debug thread
  • Watchdog thread for the adapter status
  • Loopback IP packets processing

CNTRL.EXE is normally started from CONFIG.SYS with a RUN=statement. It should be the first program to begin executing when TCP/IP is started. CNTRL.EXE for Version 4 is different from that in the Version 2.0 stack.

RUN=\MPTN\BIN\CNTRL.EXE <Parameter>

Parameters:

  • /V

This option enables the pointer and parameter verification by MPTS.

  • /SM value

Number of small mbufs that MPTS allocate at initialation. Small mbufs are 256 bytes long. Value can be in the range from 512 to 4096 in multiplies of 128. Other values are rounded up to the nearest multiple of 128. Default = 512

  • /LM value

Number of large mbufs that MPTS allocate at initialation. Large mbufs are 4096 bytes long. Value can be in the range from 64 to 180 in multiplies of 2. Default = 144

All data sectors received by MPTS are stored in buffers called mbuf, or clusters. There are two types of mbufs. Small mbufs and large mbufs. If needed MPTS can dynamically allocate additional mbufs.

Platform Support:
OS/2 2.x OS/2 3.0 OS/2 4.0 OS/2 4.5x
C Yes Yes

DLLs Loaded