TCP/IP Management Programming Manual
Common Definitions
HP NonStop TCP/IP Management Programming Manual—529636-001
5-15
Buffer Declarations
Buffer Declarations
The TCP/IP subsystem provides the following buffer declarations for message buffers 
that can be used with the SPI procedures. All applications should use one of these 
declarations for a buffer of the recommended size.
ZTCI-DDL-MSG-BUFFER 
is a message buffer whose size is the size recommended for command messages 
and for responses in which each response message contains a single response 
record. 
DEF zTCI-ddl-msg-buffer.
 02 z-msgcode TYPE zspi-ddl-int.
 02 z-buflen TYPE zspi-ddl-uint.
 02 z-occurs TYPE zspi-ddl-uint.
 02 z-filler TYPE zspi-ddl-byte
 OCCURS 0 to zcom-val-buflen TIMES
 DEPENDING ON z-occurs.
END.
 TCP/IP Private Token and Field Types
Private tokens are those tokens used only by your subsystem. A token type defines the 
data type and length of a token. A field type defines the data type and length of a field 
within a structured token. The TCP/IP subsystem defines these private token types: 
ZTCI-TYP-CAUSE
ZTCI-TYP-SEV
ZTCI-TYP-SUBNET-TYPE
ZTCI-TYP-TCP-STATE
ZTCI-TYP-TRACE
ZTCI-TYP-XFER
ZTCI-TYP-CAUSE 
defines the token type of the values of the ZCOM-TKN-CAUSE-SUMSTATE-CHG 
token as enumerated values.
ZTCI-TYP-SEV 
defines the token type of the values of the ZTCI-TKN-SEV token as enumerated 
values.
ZTCI-TYP-SUBNET-TYPE 
defines the token type of the values of the ZTYPE field in the ZTCI-MAP-ADD-
SUBNET and ZTCI-MAP-INFO-SUBNET extensible structured tokens as 
enumerated values.
ZTCI-TYP-TCP-STATE 
defines the token type of the values of the structured token as enumerated values.










