Solstice X.25 9.2 Developer's Guide

11.1.3 DL_ATTACH_REQ--Identifies Physical Link to use

This primitive is sent in an M_PROTO message block. It identifies the physical link to be used. In most cases this is a card or a port plus a card. The physical link is identified by a Physical Point of Attachment (PPA).

Associated Structure:
typedef struct {
        t_uscalar_t     dl_primitive;           /* set to DL_ATTACH_REQ */
        t_uscalar_t     dl_ppa;                 /* id of the PPA */
} dl_attach_req_t;

The members of the dl_attach_req_t structure are:

Table 11-8 Members of the dl_attach_req_t structure

Member 

Description 

dl_primitive

Should be set to the name of this primitive. 

dl_ppa

Contains the PPA (or hardware device) the stream should be bound to. The PPA values are defined at system configuration time with the L_SETPPA ioctl. This applies to LAPB only. For LLC2 the PPA is associated with the hardware at system boot time.

Errors
Table 11-9 DL_ATTACH_REQ errors

Error 

Description 

DL_OUTSTATE

Primitive issued from an invalid state. 

DL_BADPPA

The specified PPA was invalid (was not configured with the L_SETPPA ioctl).

DL_SYSERR

Could not allocate memory to handle the connection.