write Subroutine Extended Parameters for DLC
Purpose
Provide generic data link control (GDLC) with data types, service access points (SAPs), and link station (LS) correlators.
Syntax
#define DLC_INFO 0x80000000 #define DLC_XIDD 0x40000000 #define DLC_DGRM 0x20000000 #define DLC_NETD 0x10000000
__ulong32_t sap_corr; __ulong32_t ls_corr; __ulong32_t flags; __ulong32_t dlh_len; };
Description
An extended write or writex subroutine must be issued by an application or kernel user to provide GDLC with data types, SAPs, and LS correlators.
These DLC extended parameters for the write subroutine are part of the data link control in BOS Extensions 2 for the device manager you are using.
Parameters
| Item | Description |
|---|---|
| sap_corr | Specifies the GDLC SAP correlator of the write data. This field must contain the same correlator value passed back form GDLC in the gdlc_sap_corr field when the SAP was enabled. |
| dlh_len | Not used for writes. |
| ls_corr | Specifies the GDLC LS correlator of the write data. This field must contain the same correlator value passed back from GDLC in the gdlc_ls_corr field when the LS was started. |
| flags | Specifies flags for the writex subroutine. The following
flags are supported:
|