Download iRMX Network User`s Guide and Reference

Transcript
TRANSMIT
EDL
TRANSMIT
TRANSMIT transmits a packet consisting of from 1 to 4 buffers. This command can
be used without there being an established connection to the destination LSAP.
Request Block
typedef struct rb_common {
unsigned short
unsigned char
selector
unsigned char
selector
selector
unsigned char
unsigned char
unsigned short
} RB_COMMON;
reserved[2];
length;
user_id;
resp_port;
resp_mbox;
rb_seg_tok;
subsystem;
opcode;
response;
/*
/*
/*
/*
/*
/*
/*
/*
typedef struct transmit_rb {
RB_COMMON
header;
unsigned short
reserved;
unsigned short
buf_count;
unsigned short
byte_count[4];
unsigned long
buf_loc[4];
unsigned long
dest_addr_ptr;
} TRANSMIT_RB;
of transmit_rb /
cq_create_comm_user */
0FFH */
mailbox token */
segment token */
Table 13-2 */
84H */
initialize to 0 */
/*
/*
/*
/*
input
input
input
input
*/
*/
*/
*/
Input Arguments
buf_count
The number of buffers specified by the TRANSMIT command, ranging from 0 to 4.
byte_count
An array of four values where byte_count[i] is the size in bytes of the buffer
specified by buf_loc[i]. For the first buffer, the value of byte_count includes
destination_lsap_selector, source_lsap_selector, and iso_cmd, in
addition to data (see the buf_loc parameter).
Network User's Guide and Reference
Chapter 13
289