Data

Data messages carry both inbound and outbound data between the application and the local node on all three connections. See Data Flow for a detailed description of outbound and inbound data flows.

The Data message flows from the node to the application and from the application to the node. It is used with both the SSCP and the PLU connections.

struct Data {
    PTRBFHDR  nxtqptr;
    PTRBFELT  hdreptr;
    CHAR      numelts;
    CHAR      msgtype;
    CHAR      srcl;
    CHAR      srcp;
    INTEGER   srci;
    CHAR      destl;
    CHAR      destp;
    INTEGER   desti;
    CHAR      dfhdr.fhackrqd;
    CHAR      dfhdr.fhpad1;
    INTEGER   dfhdr.fhmsgkey;
    CHAR      dfhdr.fhflags1;
    CHAR      dfhdr.fhflags2;
    INTEGER   dfhdr.fhpad2;
    INTEGER   dfhdr.fhpad3;
    INTEGER   dfhdr.fhseqno;
}; 
 

Element

struct Data {
    PTRBFELT   hdreptr->elteptr;
    INTEGER    hdreptr->startd;
    INTEGER    hdreptr->endd;
    CHAR       hdreptr->trpad;
    CHAR[268]  hdreptr->dataru;
}; 
 

Members

nxtqptr
Pointer to next buffer header.
hdreptr
Pointer to buffer element.
numelts
Number of buffer elements.
msgtype
Message type DATAFMI (0x20).
srcl
Source locality.
srcp
Source partner.
srci
Source index.
destl
Destination locality.
destp
Destination partner.
desti
Destination index.
dfhdr.fhackrqd
Acknowledgment required indicator

NOACKREQ (0x00)
ACKREQ (0x01)

dfhdr.fhpad1
Reserved.
dfhdr.fhmsgkey
Message key.
dfhdr.fhflags1
Application flag 1.
dfhdr.fhflags2
Application flag 2.
dfhdr.fhpad2
Reserved.
dfhdr.fhpad3
Reserved.
dfhdr.fhseqno
Sequence number.

Element

hdreptr–>elteptr
Pointer to buffer element.
hdreptr–>startd
Start of data in this buffer element:

Non-LUA: 13, or 10 for second and subsequent segments of outbound segmented RUs.
LUA, inbound data: 4 in first element, 13 in subsequent elements.

hdreptr–>endd
End of data in this buffer element.
hdreptr–>trpad
Reserved.
hdreptr–>dataru
Data RU.

Remarks