Command-Specific Structure of LUA VCBs

The following union shows the specific data structure that is included for functions that use the LUA_SPECIFIC part of a verb control block. The only LUA verbs that use this union are RUI_BID, SLI_BID, SLI_OPEN, and SLI_SEND.

union LUA_SPECIFIC {
    struct SLI_OPEN open;
    unsigned char lua_sequence_number[2];
    unsigned char lua_peek_data[12];
} LUA_SPECIFIC;
 

Members

open
The union member of LUA_SPECIFIC used by the SLI_OPEN verb.
lua_sequence_number
The union member of LUA_SPECIFIC used by the SLI_SEND verb. Returned parameter. Sequence number of the RU to the host. It contains the sequence number for either the first in the chain request unit or the only segment in the chain request unit. Note that this parameter is not byte-reversed.
lua_peek_data
The union member of LUA_SPECIFIC used by the RUI_BID and SLI_BID verbs. Returned parameter. Contains up to 12 bytes of the data waiting to be read. It is a preview (up to 12 bytes) of the RU data waiting to be read. The lua_data_length parameter contains the exact length of the data peeked at.

The following topic describes command-specific parameters for SLI_OPEN.