To System Manual Page

Last update: 04.12.95 bos


DLPI SERVICE PRIMITIVES

TABLE OF CONTENTS

1 INTRODUCTION

In practice, the DLPI primitives are structures. They are defined in a header file belonging to the specification. For example, when sending a DL_INFO_REQ, one M_PCPROTO message will be sent. It will contain a the following structure:

typedef struct {   
	ulong	dl_primitive; 
} dl_info_req_t;  

2 LOCAL MANAGEMENT PRIMITIVES

2.1 Message DL_INFO_REQ

Message consists of one M_PCPROTO message block. The parameters and the values are:

dl_primitive: DL_INFO_REQ

2.2 Message DL_INFO_ACK

Message consists of one M_PCPROTO message block. The parameters and the values are:

dl_primitive:		DL_INFO_ACK  
dl_max_sdu:		1500  
dl_min_sdu:		0  
dl_addr_length:		0  
dl_max_type:		DL_HDLC  
dl_reserved:		0  
dl_current_state:	DL_IDLE  
dl_sap_length:		0  
dl_service_mode:	DL_CLDLS  
dl_qos_length:		0  
dl_qos_offset:		0  
dl_qos_range_length:	0  
dl_qos_range_offset:	0  
dl_provider_style	DL_STYLE2  
dl_address_offset	0 
dl_version		2 
dl_brdcst_addr_length:	0 
dl_brdcst_addr_offset:	0 
dl_growth:		0 

2.3 Message DL_ATTACH_REQ

Message consists of one M_PROTO message block. The parameters and the values of the structure are:

dl_primitive:		DL_ATTACH_REQ        
dl_ppa:                 0

2.4 Message DL_DETACH_REQ

Message consists of one M_PROTO message block. The parameters and the values of the structure are:

dl_primitive:		DL_DETACH_REQ

2.5 Message DL_BIND_REQ

Message consists of one M_PROTO message block. The parameters and the values of the structure are:

dl_primitive:		DL_BIND_REQ        
dl_sap:			0        
dl_max_conind:		0        
dl_service_mode		DL_CLDLS        
dl_conn_mgnt		0        
dl_xidtest_flg		0        

2.6 Message DL_BIND_ACK

Message consists of one M_PCPROTO message block. The parameters and the values of the structure are:

dl_primitive:		DL_BIND_ACK         
dl_sap:			0        
dl_addr_length:		0        
dl_addr_offset:		0		        
dl_max_conind:		0        
dl_xidtest_flg		0        

2.7 Message DL_UNBIND_REQ

Message consists of one M_PROTO message block. The parameters and the values of the structure are:

dl_primitive:		DL_UNBIND_REQ

3 CONNECTION ESTABLISHMENT PRIMITIVES

3.1 Message DL_CONNECT_REQ

Message consists of one M_PROTO message block. The parameters and the values of the structure are:

dl_primitive:		DL_CONNECT_REQ         
dl_addr_length:		0        
dl_addr_offset:		0		        	
dl_qos_length:		0        
dl_qos_offset:		0        
dl_growth:		0        

3.2 Message DL_CONNECT_IND

Message consists of one M_PCPROTO message block. The parameters and the values of the structure are:

dl_primitive:		DL_CONNECT_IND        
dl_correlation:		0        
dl_called_addr_length:	0        
dl_called_offset:	0		        	
dl_calling_addr_length:	0        
dl_calling_addr_offset:	0		        	
dl_qos_length:		0        
dl_qos_offset:		0        
dl_growth:		0        

3.3 Message DL_CONNECT_RES

Message consists of one M_PROTO message block. The parameters and the values of the structure are:

dl_primitive:		DL_CONNECT_RES        
dl_correlation:		0        
dl_resp_token:		0        
dl_qos_length:		0        
dl_qos_offset:		0        
dl_growth:		0        

3.4 Message DL_CONNECT_CON

Message consists of one M_PROTO message block. The parameters and the values of the structure are:

dl_primitive:		DL_CONNECT_CON        
dl_resp_addr_length:	0        
dl_resp_addr_offset:	0		        	
dl_resp_token:		0        
dl_qos_length:		0        
dl_qos_offset:		0        
dl_growth:		0        

4 DATA TRANSFER PRIMITIVES

Message DL_DATA_REQ

DL_DATA_REQ conveys a complete DLSDU from the DLS user to the DLS provider for transmission over the data link connection.

The message format consist of one or more M_DATA message blocks containing at least one byte of data.

5 CONNECTION RELEASE PRIMITIVES

5.1 Message DL_DISCONNECT_REQ

Message consists of one M_PROTO message block. The parameters and the values of the structure are:

dl_primitive:		DL_DISCONNECT_REQ         
dl_reason:		conveys the reason for the disconnect        
dl_correlation:		0        

5.2 Message DL_DISCONNECT_IND

Message consists of one M_PROTO message block. The parameters and the values of the structure are:

dl_primitive:		DL_DISCONNECT_IND         
dl_originator:		DLS_USER or DLS_PROVIDER        
dl_reason:		conveys the reason for the disconnect        
dl_correlation:		0        

6 CONNECTIONLESS MODE SERVICE PRIMITIVES

Message DL_UNITDATA_IND

The message conveys one DLSDU form the DLS provider to the DLS user. The message consist of on M_PROTO message block, followed by one ore more M_DATA blocks containing at least one byte of data.

The parameters and the values of the structure are:

dl_primitive:		DL_UNITDATA_IND        
dl_dest_addr_length:	0        
dl_dest_addr_offset:	0	        		
dl_src_addr_length:	0        
dl_src_addr_offset:	0		        	
dl_group_address:	0        


Comments please send Mail: