HP-UX SNAplus2 R7 LUA Programmer's Guide
SLI Verbs
SLI_RECEIVE
Successful Execution or Truncated Data
If the verb executes successfully, LUA returns the following parameters:
lua_prim_rc
LUA_OK
The following parameters are returned if the verb completes successfully. They are also returned if the verb returns
with truncated data because the
lua_data_length parameter supplied was too small (see Section 5.5.2, Returned
Parameters).
lua_sid
If the application specified the lua_luname parameter when issuing this verb, rather than specifying the session
ID, LUA supplies the session ID.
lua_data_length
The length of the data received. LUA places the data in the buffer specified by lua_data_ptr.
If lua_rh.rri is off (request unit) and lua_rh.sdi is on (sense data included), this indicates that LUA has
converted a request unit sent by the host into an exception request (EXR). In this case, bytes 0–3 of the data
buffer contain the sense data associated with the exception, and bytes 4–6 contain up to the first 3 bytes of
the original request unit.
lua_th
Information from the transmission header (TH) of the received message.
lua_rh
Information from the request/response header (RH) of the received message.
lua_message_type
Message type of the received message, which is one of the following:
LUA_MESSAGE_TYPE_LU_DATA
LUA_MESSAGE_TYPE_SSCP_DATA
LUA_MESSAGE_TYPE_RSP
LUA_MESSAGE_TYPE_BID
LUA_MESSAGE_TYPE_BIS
LUA_MESSAGE_TYPE_CANCEL
LUA_MESSAGE_TYPE_CHASE
LUA_MESSAGE_TYPE_LUSTAT_LU
LUA_MESSAGE_TYPE_LUSTAT_SSCP
LUA_MESSAGE_TYPE_QC
LUA_MESSAGE_TYPE_QEC
LUA_MESSAGE_TYPE_RELQ
LUA_MESSAGE_TYPE_RTR
LUA_MESSAGE_TYPE_SBI
LUA_MESSAGE_TYPE_SIGNAL
lua_flag2
parameters
One of the following flags will be set to
1, to indicate on which message flow the data was received:
lua_flag2.lu_exp
lua_flag2.sscp_norm
131