Using NS3000/iX Network Services (36920-90008)
144 Chapter 7
Remote Process Management
RPMCREATE
• data associated with the option entries (variable length).
Each 8-byte option entry, in turn, consists of the following fields:
• option code (2-byte integer);
• offset (relative to the base address of the opt parameter) indicating
the location of the data for this option entry (2-byte integer);
• length, in bytes, of the data (2-byte integer);
• unused (2 bytes).
If the parameter is declared as a simple byte array, it must be large
enough to contain 4 bytes for the first two fixed-length fields, 8 bytes for
each option entry, plus the actual data. That is:
4 + 8 * numentries + datalength