HP UX 11i v2 Networking Software manual Dlbindreq

Models: UX 11i v2 Networking Software

1 175
Download 175 pages 52.54 Kb
Page 63
Image 63

DLPI Primitives

Local Management Primitives

A system error has occurred and the UNIX system error is indicated in the DL_ERROR_ACK.

DL_BIND_REQ

Requests the DLS provider to bind a DLSAP to the stream. The DLS user must identify the address of the DLSAP to be bound to the stream. The DLS user also indicates whether it will accept incoming connection requests on the stream. Finally, the request directs the DLS provider to activate the stream associated with the DLSAP.

The message consists of one M_PROTO message block, which contains the following structure.

Format

typedef struct {

 

ulong

dl_primitive;

ulong

dl_sap;

ulong

dl_max_conind;

ushort

dl_service_mode;

ushort

dl_conn_mgmt;

ulong

dl_xidtest_flg;

} dl_bind_req_t;

 

Parameters

 

dl_primitive

DL_BIND_REQ

dl_sap

DLSAP that will be bound to the DLPI stream.

dl_max_conind

maximum number of outstanding DL_CONNECT_IND messages allowed on the DLPI stream. If the value is zero, the stream cannot accept any DL_CONNECT_IND messages. If greater than zero, the DLS user will accept DL_CONNECT_IND messages up to the given value before having to respond with a DL_CONNECT_RES or a

DL_DISCONNECT_REQ.

dl_service_mode

desired mode of service for this stream. This field should be set to one of the following:

DL_CODLS

Chapter 2

63

Page 63
Image 63
HP UX 11i v2 Networking Software manual Dlbindreq