DLPI Primitives

Local Management Primitives

typedef struct {

 

ulong

dl_primitive;

ulong

dl_subs_sap_offset;

ulong

dl_subs_sap_length;

ulong

dl_subs_bind_class;

} dl_subs_bind_req_t;

Parameters

dl_primitive

DL_SUBS_BIND_REQ

dl_subs_sap_offset

offset of the DLSAP from the beginning of the M_PROTO block.

dl_subs_sap_length

length of the specified DLSAP.

dl_subs_bind_class

specifies either peer or hierarchical addressing.

DL_PEER_BIND

specifies peer addressing. The DLSAP specified is used in lieu of the DLSAP bound in the BIND request.

DL_HIERARCHICAL_BIND

specifies hierarchical addressing. The DLSAP specified is used in addition to the DLSAP specified using the BIND request.

State

The message is valid in state DL_IDLE.

New State

The resulting state is DL_SUBS_BIND_PND.

Response

If the subsequent bind request is successful, DL_SUBS_BIND_ACK is sent to the DLS user resulting in state DL_IDLE.

Reasons for Failure

DL_BADADDR

The DLSAP address information was invalid or was in an incorrect format.

68

Chapter 2

Page 68
Image 68
HP UX 11i v2 Networking Software manual Dlpeerbind, Dlhierarchicalbind