Common VCB Fields

This chapter documents the syntax of each verb passed across the Node Operator Facility API. It also describes the parameters passed in and returned for each verb.

typedef struct nof_hdr
{
        unsigned short  opcode;
        unsigned char   reserv2;             /* reserved */
        unsigned char   format;
        unsigned short  primary_rc;
        unsigned long   secondary_rc;
} NOF_HDR;
Each VCB has a number of common fields. These are listed and described below.
opcode
Verb operation code. This field identifies the verb.
format
Identifies the format of the VCB. The value that this field must be set to in order to specify the current version of the VCB is documented individually under each verb.
primary_rc
Primary return code. Possible values for each verb are listed in each verb section.
secondary_rc
Secondary return code. This supplements the information provided by the primary return code.