OpenSS7
SS7 for the
Common Man
© Copyright 1997-2007 OpenSS7 Corporation All Rights Reserved.
Last modified: Thu, 31 Jul 2008 15:22:10 GMT
Home TopIndex FirstPrev Next LastMore Download Info FAQ Mail  Home -> Resources -> Browse Source -> /code/strxns/src/include/sys/dlpi.h
Quick Links

Download

SCTP

SIGTRAN

SS7

Hardware

STREAMS

Asterisk

Related

Package

Manual

FAQ

Browse Source

Applications

SS7 Stack

ISDN Stack

SIGTRAN Stack

VoIP Stack

MG Stack

SS7/ISDN Devices

IP Transport

Embedded Systems

Operating System

Resources

Packages

Sys Req

Download

Mailing Lists

Browse Source

CVS Archive

Bug Reports

Library

Hardware

Vendor Links

Home

Overview

Status

Documentation

Resources

About

News

Description: Code

File /code/strxns/src/include/sys/dlpi.h



#ifndef _SYS_DLPI_H
#define _SYS_DLPI_H

#ident "@(#) dlpi.h,v openss7-0_9_2_F(0.9.2.6) Copyright (c) 2001-2006 OpenSS7 Corporation."

#ifdef __LP64__
typedef int32_t dl_long;
typedef u_int32_t dl_ulong;
typedef u_int16_t dl_ushort;
#else
typedef long dl_long;
typedef ulong dl_ulong;
typedef ushort dl_ushort;
#endif

#define DL_CURRENT_VERSION		0x02
#define DL_VERSION_2			0x02

#define DL_INFO_REQ			0x00
#define DL_INFO_ACK			0x03
#define DL_ATTACH_REQ			0x0b
#define DL_DETACH_REQ			0x0c
#define DL_BIND_REQ			0x01
#define DL_BIND_ACK			0x04
#define DL_UNBIND_REQ			0x02
#define DL_OK_ACK			0x06
#define DL_ERROR_ACK			0x05
#define DL_SUBS_BIND_REQ		0x1b
#define DL_SUBS_BIND_ACK		0x1c
#define DL_SUBS_UNBIND_REQ		0x15
#define DL_ENABMULTI_REQ		0x1d
#define DL_DISABMULTI_REQ		0x1e
#define DL_PROMISCON_REQ		0x1f
#define DL_PROMISCOFF_REQ		0x20

#define DL_UNITDATA_REQ			0x07
#define DL_UNITDATA_IND			0x08
#define DL_UDERROR_IND			0x09
#define DL_UDQOS_REQ			0x0a

#define DL_CONNECT_REQ			0x0d
#define DL_CONNECT_IND			0x0e
#define DL_CONNECT_RES			0x0f
#define DL_CONNECT_CON			0x10
#define DL_TOKEN_REQ			0x11
#define DL_TOKEN_ACK			0x12
#define DL_DISCONNECT_REQ		0x13
#define DL_DISCONNECT_IND		0x14
#define DL_RESET_REQ			0x17
#define DL_RESET_IND			0x18
#define DL_RESET_RES			0x19
#define DL_RESET_CON			0x1a

#define DL_DATA_ACK_REQ			0x21
#define DL_DATA_ACK_IND			0x22
#define DL_DATA_ACK_STATUS_IND		0x23
#define DL_REPLY_REQ			0x24
#define DL_REPLY_IND			0x25
#define DL_REPLY_STATUS_IND		0x26
#define DL_REPLY_UPDATE_REQ		0x27
#define DL_REPLY_UPDATE_STATUS_IND	0x28

#define DL_XID_REQ			0x29
#define DL_XID_IND			0x2a
#define DL_XID_RES			0x2b
#define DL_XID_CON			0x2c
#define DL_TEST_REQ			0x2d
#define DL_TEST_IND			0x2e
#define DL_TEST_RES			0x2f
#define DL_TEST_CON			0x30

#define DL_PHYS_ADDR_REQ		0x31
#define DL_PHYS_ADDR_ACK		0x32
#define DL_SET_PHYS_ADDR_REQ		0x33

#define DL_GET_STATISTICS_REQ		0x34
#define DL_GET_STATISTICS_ACK		0x35

#define DL_UNATTACHED			0x04
#define DL_ATTACH_PENDING		0x05
#define DL_DETACH_PENDING		0x06
#define DL_UNBOUND			0x00
#define DL_BIND_PENDING			0x01
#define DL_UNBIND_PENDING		0x02
#define DL_IDLE				0x03
#define DL_UDQOS_PENDING		0x07
#define DL_OUTCON_PENDING		0x08
#define DL_INCON_PENDING		0x09
#define DL_CONN_RES_PENDING		0x0a
#define DL_DATAXFER			0x0b
#define DL_USER_RESET_PENDING		0x0c
#define DL_PROV_RESET_PENDING		0x0d
#define DL_RESET_RES_PENDING		0x0e
#define DL_DISCON8_PENDING		0x0f
#define DL_DISCON9_PENDING		0x10
#define DL_DISCON11_PENDING		0x11
#define DL_DISCON12_PENDING		0x12
#define DL_DISCON13_PENDING		0x13
#define DL_SUBS_BIND_PND		0x14
#define DL_SUBS_UNBIND_PND		0x15

#define DL_ACCESS			0x02
#define DL_BADADDR			0x01
#define DL_BADCORR			0x05
#define DL_BADDATA			0x06
#define DL_BADPPA			0x08
#define DL_BADPRIM			0x09
#define DL_BADQOSPARAM			0x0a
#define DL_BADQOSTYPE			0x0b
#define DL_BADSAP			0x00
#define DL_BADTOKEN			0x0c
#define DL_BOUND			0x0d
#define DL_INITFAILED			0x0e
#define DL_NOADDR			0x0f
#define DL_NOTINIT			0x10
#define DL_OUTSTATE			0x03
#define DL_SYSERR			0x04
#define DL_UNSUPPORTED			0x07
#define DL_UNDELIVERABLE		0x11
#define DL_NOTSUPPORTED			0x12
#define DL_TOOMANY			0x13
#define DL_NOTENAB			0x14
#define DL_BUSY				0x15
#define DL_NOAUTO			0x16
#define DL_NOXIDAUTO			0x17
#define DL_NOTESTAUTO			0x18
#define DL_XIDAUTO			0x19
#define DL_TESTAUTO			0x1a
#define DL_PENDING			0x1b

#define DL_CSMACD			0x00
#define DL_TPB				0x01
#define DL_TPR				0x02
#define DL_METRO			0x03
#define DL_ETHER			0x04
#define DL_HDLC				0x05
#define DL_CHAR				0x06
#define DL_CTCA				0x07
#define DL_FDDI				0x08
#define DL_OTHER			0x09
#define DL_FC				0x10
#define DL_ATM				0x11
#define DL_IPATM			0x12
#define DL_X25				0x13
#define DL_ISDN				0x14
#define DL_HIPPI			0x15
#define DL_100VG			0x16
#define DL_100VGTPR			0x17
#define DL_ETH_CSMA			0x18
#define DL_100BT			0x19
#define DL_FRAME			0x0a
#define DL_MPFRAME			0x0b
#define DL_ASYNC			0x0c
#define DL_IPX25			0x0d
#define DL_LOOP				0x0e

#define DL_CODLS			0x01
#define DL_CLDLS			0x02
#define DL_ACLDLS			0x04

#define DL_STYLE1			0x0500
#define DL_STYLE2			0x0501

#define DL_PROVIDER			0x0700
#define DL_USER				0x0701

#define DL_CONREJ_DEST_UNKNOWN			0x0800
#define DL_CONREJ_DEST_UNREACH_PERMANENT	0x0801
#define DL_CONREJ_DEST_UNREACH_TRANSIENT	0x0802
#define DL_CONREJ_QOS_UNAVAIL_PERMANENT		0x0803
#define DL_CONREJ_QOS_UNAVAIL_TRANSIENT		0x0804
#define DL_CONREJ_PERMANENT_COND		0x0805
#define DL_CONREJ_TRANSIENT_COND		0x0806
#define DL_DISC_ABNORMAL_CONDITION		0x0807
#define DL_DISC_NORMAL_CONDITION		0x0808
#define DL_DISC_PERMANENT_CONDITION		0x0809
#define DL_DISC_TRANSIENT_CONDITION		0x080a
#define DL_DISC_UNSPECIFIED			0x080b

#define DL_RESET_FLOW_CONTROL		0x0900
#define DL_RESET_LINK_ERROR		0x0901
#define DL_RESET_RESYNCH		0x0902

#define DL_CMD_MASK			0x0f
#define DL_CMD_OK			0x00
#define DL_CMD_RS			0x01
#define DL_CMD_UE			0x05
#define DL_CMD_PE			0x06
#define DL_CMD_IP			0x07
#define DL_CMD_UN			0x09
#define DL_CMD_IT			0x0f

#define DL_RSP_MASK			0xf0
#define DL_RSP_OK			0x00
#define DL_RSP_RS			0x10
#define DL_RSP_NE			0x30
#define DL_RSP_NR			0x40
#define DL_RSP_UE			0x50
#define DL_RSP_IP			0x70
#define DL_RSP_UN			0x90
#define DL_RSP_IT			0xf0

#define DL_RQST_RSP			0x01
#define DL_RQST_NORSP			0x02

#define DL_FACT_PHYS_ADDR		0x01
#define DL_CURR_PHYS_ADDR		0x02

#define DL_POLL_FINAL			0x01

#define DL_AUTO_XID			0x01
#define DL_AUTO_TEST			0x02

#define DL_PEER_BIND			0x01
#define DL_HIERARCHICAL_BIND		0x02

#define DL_PROMISC_PHYS			0x01
#define DL_PROMISC_SAP			0x02
#define DL_PROMISC_MULTI		0x03

typedef struct {
	dl_long dl_target_value;
	dl_long dl_accept_value;
} dl_through_t;

typedef struct {
	dl_long dl_target_value;
	dl_long dl_accept_value;
} dl_transdelay_t;

typedef struct {
	dl_long dl_min;
	dl_long dl_max;
} dl_priority_t;

#define DL_NONE				0x0B01
#define DL_MONITOR			0x0B02
#define DL_MAXIMUM			0x0B03

typedef struct {
	dl_long dl_min;
	dl_long dl_max;
} dl_protect_t;

typedef struct {
	dl_long dl_disc_prob;
	dl_long dl_reset_prob;
} dl_resilience_t;

#define DL_UNKNOWN		-1
#define DL_QOS_DONT_CARE	-2

#define DL_QOS_CO_RANGE1		0x0101
#define DL_QOS_CO_SEL1			0x0102
#define DL_QOS_CL_RANGE1		0x0103
#define DL_QOS_CL_SEL1			0x0104

typedef struct {
	dl_ulong dl_qos_type;
	dl_through_t dl_rcv_throughput;
	dl_transdelay_t dl_rcv_trans_delay;
	dl_through_t dl_xmt_throughput;
	dl_transdelay_t dl_xmt_trans_delay;
	dl_priority_t dl_priority;
	dl_protect_t dl_protection;
	dl_long dl_residual_error;
	dl_resilience_t dl_resilience;
} dl_qos_co_range1_t;

typedef struct {
	dl_ulong dl_qos_type;
	dl_long dl_rcv_throughput;
	dl_long dl_rcv_trans_delay;
	dl_long dl_xmt_throughput;
	dl_long dl_xmt_trans_delay;
	dl_long dl_priority;
	dl_long dl_protection;
	dl_long dl_residual_error;
	dl_resilience_t dl_resilience;
} dl_qos_co_sel1_t;

typedef struct {
	dl_ulong dl_qos_type;
	dl_transdelay_t dl_trans_delay;
	dl_priority_t dl_priority;
	dl_protect_t dl_protection;
	dl_long dl_residual_error;
} dl_qos_cl_range1_t;

typedef struct {
	dl_ulong dl_qos_type;
	dl_long dl_trans_delay;
	dl_long dl_priority;
	dl_long dl_protection;
	dl_long dl_residual_error;
} dl_qos_cl_sel1_t;

typedef struct {
	dl_ulong dl_primitive;
} dl_info_req_t;

typedef struct {
	dl_ulong dl_primitive;
	dl_ulong dl_max_sdu;
	dl_ulong dl_min_sdu;
	dl_ulong dl_addr_length;
	dl_ulong dl_mac_type;
	dl_ulong dl_reserved;
	dl_ulong dl_current_state;
	dl_long dl_sap_length;
	dl_ulong dl_service_mode;
	dl_ulong dl_qos_length;
	dl_ulong dl_qos_offset;
	dl_ulong dl_qos_range_length;
	dl_ulong dl_qos_range_offset;
	dl_ulong dl_provider_style;
	dl_ulong dl_addr_offset;
	dl_ulong dl_version;
	dl_ulong dl_brdcst_addr_length;
	dl_ulong dl_brdcst_addr_offset;
	dl_ulong dl_growth;
} dl_info_ack_t;

typedef struct {
	dl_ulong dl_primitive;
	dl_ulong dl_ppa;
} dl_attach_req_t;

typedef struct {
	dl_ulong dl_primitive;
} dl_detach_req_t;

typedef struct {
	dl_ulong dl_primitive;
	dl_ulong dl_sap;
	dl_ulong dl_max_conind;
	dl_ushort dl_service_mode;
	dl_ushort dl_conn_mgmt;
	dl_ulong dl_xidtest_flg;
} dl_bind_req_t;

typedef struct {
	dl_ulong dl_primitive;
	dl_ulong dl_sap;
	dl_ulong dl_addr_length;
	dl_ulong dl_addr_offset;
	dl_ulong dl_max_conind;
	dl_ulong dl_xidtest_flg;
} dl_bind_ack_t;

typedef struct {
	dl_ulong dl_primitive;
	dl_ulong dl_subs_sap_offset;
	dl_ulong dl_subs_sap_length;
	dl_ulong dl_subs_bind_class;
} dl_subs_bind_req_t;

#define dl_subs_sap_len dl_subs_sap_length

typedef struct {
	dl_ulong dl_primitive;
	dl_ulong dl_subs_sap_offset;
	dl_ulong dl_subs_sap_length;
} dl_subs_bind_ack_t;

typedef struct {
	dl_ulong dl_primitive;
} dl_unbind_req_t;

typedef struct {
	dl_ulong dl_primitive;
	dl_ulong dl_subs_sap_offset;
	dl_ulong dl_subs_sap_length;
} dl_subs_unbind_req_t;

typedef struct {
	dl_ulong dl_primitive;
	dl_ulong dl_correct_primitive;
} dl_ok_ack_t;

typedef struct {
	dl_ulong dl_primitive;
	dl_ulong dl_error_primitive;
	dl_ulong dl_errno;
	dl_ulong dl_unix_errno;
} dl_error_ack_t;

typedef struct {
	dl_ulong dl_primitive;
	dl_ulong dl_addr_length;
	dl_ulong dl_addr_offset;
} dl_enabmulti_req_t;

typedef struct {
	dl_ulong dl_primitive;
	dl_ulong dl_addr_length;
	dl_ulong dl_addr_offset;
} dl_disabmulti_req_t;

typedef struct {
	dl_ulong dl_primitive;
	dl_ulong dl_level;
} dl_promiscon_req_t;

typedef struct {
	dl_ulong dl_primitive;
	dl_ulong dl_level;
} dl_promiscoff_req_t;

typedef struct {
	dl_ulong dl_primitive;
	dl_ulong dl_addr_type;
} dl_phys_addr_req_t;

typedef struct {
	dl_ulong dl_primitive;
	dl_ulong dl_addr_length;
	dl_ulong dl_addr_offset;
} dl_phys_addr_ack_t;

typedef struct {
	dl_ulong dl_primitive;
	dl_ulong dl_addr_length;
	dl_ulong dl_addr_offset;
} dl_set_phys_addr_req_t;

typedef struct {
	dl_ulong dl_primitive;
} dl_get_statistics_req_t;

typedef struct {
	dl_ulong dl_primitive;
	dl_ulong dl_stat_length;
	dl_ulong dl_stat_offset;
} dl_get_statistics_ack_t;

typedef struct {
	dl_ulong dl_primitive;
	dl_ulong dl_dest_addr_length;
	dl_ulong dl_dest_addr_offset;
	dl_ulong dl_qos_length;
	dl_ulong dl_qos_offset;
	dl_ulong dl_growth;
} dl_connect_req_t;

typedef struct {
	dl_ulong dl_primitive;
	dl_ulong dl_correlation;
	dl_ulong dl_called_addr_length;
	dl_ulong dl_called_addr_offset;
	dl_ulong dl_calling_addr_length;
	dl_ulong dl_calling_addr_offset;
	dl_ulong dl_qos_length;
	dl_ulong dl_qos_offset;
	dl_ulong dl_growth;
} dl_connect_ind_t;

typedef struct {
	dl_ulong dl_primitive;
	dl_ulong dl_correlation;
	dl_ulong dl_resp_token;
	dl_ulong dl_qos_length;
	dl_ulong dl_qos_offset;
	dl_ulong dl_growth;
} dl_connect_res_t;

typedef struct {
	dl_ulong dl_primitive;
	dl_ulong dl_resp_addr_length;
	dl_ulong dl_resp_addr_offset;
	dl_ulong dl_qos_length;
	dl_ulong dl_qos_offset;
	dl_ulong dl_growth;
} dl_connect_con_t;

typedef struct {
	dl_ulong dl_primitive;
} dl_token_req_t;

typedef struct {
	dl_ulong dl_primitive;
	dl_ulong dl_token;
} dl_token_ack_t;

typedef struct {
	dl_ulong dl_primitive;
	dl_ulong dl_reason;
	dl_ulong dl_correlation;
} dl_disconnect_req_t;

typedef struct {
	dl_ulong dl_primitive;
	dl_ulong dl_originator;
	dl_ulong dl_reason;
	dl_ulong dl_correlation;
} dl_disconnect_ind_t;

typedef struct {
	dl_ulong dl_primitive;
} dl_reset_req_t;

typedef struct {
	dl_ulong dl_primitive;
	dl_ulong dl_originator;
	dl_ulong dl_reason;
} dl_reset_ind_t;

typedef struct {
	dl_ulong dl_primitive;
} dl_reset_res_t;

typedef struct {
	dl_ulong dl_primitive;
} dl_reset_con_t;

typedef struct {
	dl_ulong dl_primitive;
	dl_ulong dl_dest_addr_length;
	dl_ulong dl_dest_addr_offset;
	dl_priority_t dl_priority;
} dl_unitdata_req_t;

typedef struct {
	dl_ulong dl_primitive;
	dl_ulong dl_dest_addr_length;
	dl_ulong dl_dest_addr_offset;
	dl_ulong dl_src_addr_length;
	dl_ulong dl_src_addr_offset;
	dl_ulong dl_group_address;
} dl_unitdata_ind_t;

typedef struct {
	dl_ulong dl_primitive;
	dl_ulong dl_dest_addr_length;
	dl_ulong dl_dest_addr_offset;
	dl_ulong dl_unix_errno;
	dl_ulong dl_errno;
} dl_uderror_ind_t;

typedef struct {
	dl_ulong dl_primitive;
	dl_ulong dl_qos_length;
	dl_ulong dl_qos_offset;
} dl_udqos_req_t;

typedef struct {
	dl_ulong dl_primitive;
	dl_ulong dl_flag;
	dl_ulong dl_dest_addr_length;
	dl_ulong dl_dest_addr_offset;
} dl_test_req_t;

typedef struct {
	dl_ulong dl_primitive;
	dl_ulong dl_flag;
	dl_ulong dl_dest_addr_length;
	dl_ulong dl_dest_addr_offset;
	dl_ulong dl_src_addr_length;
	dl_ulong dl_src_addr_offset;
} dl_test_ind_t;

typedef struct {
	dl_ulong dl_primitive;
	dl_ulong dl_flag;
	dl_ulong dl_dest_addr_length;
	dl_ulong dl_dest_addr_offset;
} dl_test_res_t;

typedef struct {
	dl_ulong dl_primitive;
	dl_ulong dl_flag;
	dl_ulong dl_dest_addr_length;
	dl_ulong dl_dest_addr_offset;
	dl_ulong dl_src_addr_length;
	dl_ulong dl_src_addr_offset;
} dl_test_con_t;

typedef struct {
	dl_ulong dl_primitive;
	dl_ulong dl_flag;
	dl_ulong dl_dest_addr_length;
	dl_ulong dl_dest_addr_offset;
} dl_xid_req_t;

typedef struct {
	dl_ulong dl_primitive;
	dl_ulong dl_flag;
	dl_ulong dl_dest_addr_length;
	dl_ulong dl_dest_addr_offset;
	dl_ulong dl_src_addr_length;
	dl_ulong dl_src_addr_offset;
} dl_xid_ind_t;

typedef struct {
	dl_ulong dl_primitive;
	dl_ulong dl_flag;
	dl_ulong dl_dest_addr_length;
	dl_ulong dl_dest_addr_offset;
} dl_xid_res_t;

typedef struct {
	dl_ulong dl_primitive;
	dl_ulong dl_flag;
	dl_ulong dl_dest_addr_length;
	dl_ulong dl_dest_addr_offset;
	dl_ulong dl_src_addr_length;
	dl_ulong dl_src_addr_offset;
} dl_xid_con_t;

typedef struct {
	dl_ulong dl_primitive;
	dl_ulong dl_correlation;
	dl_ulong dl_dest_addr_length;
	dl_ulong dl_dest_addr_offset;
	dl_ulong dl_src_addr_length;
	dl_ulong dl_src_addr_offset;
	dl_ulong dl_priority;
	dl_ulong dl_service_class;
} dl_data_ack_req_t;

typedef struct {
	dl_ulong dl_primitive;
	dl_ulong dl_dest_addr_length;
	dl_ulong dl_dest_addr_offset;
	dl_ulong dl_src_addr_length;
	dl_ulong dl_src_addr_offset;
	dl_ulong dl_priority;
	dl_ulong dl_service_class;
} dl_data_ack_ind_t;

typedef struct {
	dl_ulong dl_primitive;
	dl_ulong dl_correlation;
	dl_ulong dl_status;
} dl_data_ack_status_ind_t;

typedef struct {
	dl_ulong dl_primitive;
	dl_ulong dl_correlation;
	dl_ulong dl_dest_addr_length;
	dl_ulong dl_dest_addr_offset;
	dl_ulong dl_src_addr_length;
	dl_ulong dl_src_addr_offset;
	dl_ulong dl_priority;
	dl_ulong dl_service_class;
} dl_reply_req_t;

typedef struct {
	dl_ulong dl_primitive;
	dl_ulong dl_dest_addr_length;
	dl_ulong dl_dest_addr_offset;
	dl_ulong dl_src_addr_length;
	dl_ulong dl_src_addr_offset;
	dl_ulong dl_priority;
	dl_ulong dl_service_class;
} dl_reply_ind_t;

typedef struct {
	dl_ulong dl_primitive;
	dl_ulong dl_correlation;
	dl_ulong dl_status;
} dl_reply_status_ind_t;

typedef struct {
	dl_ulong dl_primitive;
	dl_ulong dl_correlation;
	dl_ulong dl_src_addr_length;
	dl_ulong dl_src_addr_offset;
} dl_reply_update_req_t;

typedef struct {
	dl_ulong dl_primitive;
	dl_ulong dl_correlation;
	dl_ulong dl_status;
} dl_reply_update_status_ind_t;

union DL_primitives {
	dl_ulong dl_primitive;
	dl_info_req_t info_req;
	dl_info_ack_t info_ack;
	dl_attach_req_t attach_req;
	dl_detach_req_t detach_req;
	dl_bind_req_t bind_req;
	dl_bind_ack_t bind_ack;
	dl_unbind_req_t unbind_req;
	dl_subs_bind_req_t subs_bind_req;
	dl_subs_bind_ack_t subs_bind_ack;
	dl_subs_unbind_req_t subs_unbind_req;
	dl_ok_ack_t ok_ack;
	dl_error_ack_t error_ack;
	dl_connect_req_t connect_req;
	dl_connect_ind_t connect_ind;
	dl_connect_res_t connect_res;
	dl_connect_con_t connect_con;
	dl_token_req_t token_req;
	dl_token_ack_t token_ack;
	dl_disconnect_req_t disconnect_req;
	dl_disconnect_ind_t disconnect_ind;
	dl_reset_req_t reset_req;
	dl_reset_ind_t reset_ind;
	dl_reset_res_t reset_res;
	dl_reset_con_t reset_con;
	dl_unitdata_req_t unitdata_req;
	dl_unitdata_ind_t unitdata_ind;
	dl_uderror_ind_t uderror_ind;
	dl_udqos_req_t udqos_req;
	dl_enabmulti_req_t enabmulti_req;
	dl_disabmulti_req_t disabmulti_req;
	dl_promiscon_req_t promiscon_req;
	dl_promiscoff_req_t promiscoff_req;
	dl_phys_addr_req_t physaddr_req;
	dl_phys_addr_ack_t physaddr_ack;
	dl_set_phys_addr_req_t set_physaddr_req;
	dl_get_statistics_req_t get_statistics_req;
	dl_get_statistics_ack_t get_statistics_ack;
	dl_test_req_t test_req;
	dl_test_ind_t test_ind;
	dl_test_res_t test_res;
	dl_test_con_t test_con;
	dl_xid_req_t xid_req;
	dl_xid_ind_t xid_ind;
	dl_xid_res_t xid_res;
	dl_xid_con_t xid_con;
	dl_data_ack_req_t data_ack_req;
	dl_data_ack_ind_t data_ack_ind;
	dl_data_ack_status_ind_t data_ack_status_ind;
	dl_reply_req_t reply_req;
	dl_reply_ind_t reply_ind;
	dl_reply_status_ind_t reply_status_ind;
	dl_reply_update_req_t reply_update_req;
	dl_reply_update_status_ind_t reply_update_status_ind;
};

#define DL_INFO_REQ_SIZE		sizeof(dl_info_req_t)
#define DL_INFO_ACK_SIZE		sizeof(dl_info_ack_t)
#define DL_ATTACH_REQ_SIZE		sizeof(dl_attach_req_t)
#define DL_DETACH_REQ_SIZE		sizeof(dl_detach_req_t)
#define DL_BIND_REQ_SIZE		sizeof(dl_bind_req_t)
#define DL_BIND_ACK_SIZE		sizeof(dl_bind_ack_t)
#define DL_UNBIND_REQ_SIZE		sizeof(dl_unbind_req_t)
#define DL_SUBS_BIND_REQ_SIZE		sizeof(dl_subs_bind_req_t)
#define DL_SUBS_BIND_ACK_SIZE		sizeof(dl_subs_bind_ack_t)
#define DL_SUBS_UNBIND_REQ_SIZE		sizeof(dl_subs_unbind_req_t)
#define DL_OK_ACK_SIZE			sizeof(dl_ok_ack_t)
#define DL_ERROR_ACK_SIZE		sizeof(dl_error_ack_t)
#define DL_CONNECT_REQ_SIZE		sizeof(dl_connect_req_t)
#define DL_CONNECT_IND_SIZE		sizeof(dl_connect_ind_t)
#define DL_CONNECT_RES_SIZE		sizeof(dl_connect_res_t)
#define DL_CONNECT_CON_SIZE		sizeof(dl_connect_con_t)
#define DL_TOKEN_REQ_SIZE		sizeof(dl_token_req_t)
#define DL_TOKEN_ACK_SIZE		sizeof(dl_token_ack_t)
#define DL_DISCONNECT_REQ_SIZE		sizeof(dl_disconnect_req_t)
#define DL_DISCONNECT_IND_SIZE		sizeof(dl_disconnect_ind_t)
#define DL_RESET_REQ_SIZE		sizeof(dl_reset_req_t)
#define DL_RESET_IND_SIZE		sizeof(dl_reset_ind_t)
#define DL_RESET_RES_SIZE		sizeof(dl_reset_res_t)
#define DL_RESET_CON_SIZE		sizeof(dl_reset_con_t)
#define DL_UNITDATA_REQ_SIZE		sizeof(dl_unitdata_req_t)
#define DL_UNITDATA_IND_SIZE		sizeof(dl_unitdata_ind_t)
#define DL_UDERROR_IND_SIZE		sizeof(dl_uderror_ind_t)
#define DL_UDQOS_REQ_SIZE		sizeof(dl_udqos_req_t)
#define DL_ENABMULTI_REQ_SIZE		sizeof(dl_enabmulti_req_t)
#define DL_DISABMULTI_REQ_SIZE		sizeof(dl_disabmulti_req_t)
#define DL_PROMISCON_REQ_SIZE		sizeof(dl_promiscon_req_t)
#define DL_PROMISCOFF_REQ_SIZE		sizeof(dl_promiscoff_req_t)
#define DL_PHYS_ADDR_REQ_SIZE		sizeof(dl_phys_addr_req_t)
#define DL_PHYS_ADDR_ACK_SIZE		sizeof(dl_phys_addr_ack_t)
#define DL_SET_PHYS_ADDR_REQ_SIZE	sizeof(dl_set_phys_addr_req_t)
#define DL_GET_STATISTICS_REQ_SIZE	sizeof(dl_get_statistics_req_t)
#define DL_GET_STATISTICS_ACK_SIZE	sizeof(dl_get_statistics_ack_t)
#define DL_XID_REQ_SIZE			sizeof(dl_xid_req_t)
#define DL_XID_IND_SIZE			sizeof(dl_xid_ind_t)
#define DL_XID_RES_SIZE			sizeof(dl_xid_res_t)
#define DL_XID_CON_SIZE			sizeof(dl_xid_con_t)
#define DL_TEST_REQ_SIZE		sizeof(dl_test_req_t)
#define DL_TEST_IND_SIZE		sizeof(dl_test_ind_t)
#define DL_TEST_RES_SIZE		sizeof(dl_test_res_t)
#define DL_TEST_CON_SIZE		sizeof(dl_test_con_t)
#define DL_DATA_ACK_REQ_SIZE		sizeof(dl_data_ack_req_t)
#define DL_DATA_ACK_IND_SIZE		sizeof(dl_data_ack_ind_t)
#define DL_DATA_ACK_STATUS_IND_SIZE	sizeof(dl_data_ack_status_ind_t)
#define DL_REPLY_REQ_SIZE		sizeof(dl_reply_req_t)
#define DL_REPLY_IND_SIZE		sizeof(dl_reply_ind_t)
#define DL_REPLY_STATUS_IND_SIZE	sizeof(dl_reply_status_ind_t)
#define DL_REPLY_UPDATE_REQ_SIZE	sizeof(dl_reply_update_req_t)
#define DL_REPLY_UPDATE_STATUS_IND_SIZE	sizeof(dl_reply_update_status_ind_t)

#endif

OpenSS7
SS7 for the
Common Man
Home TopIndex FirstPrev Next LastMore Download Info FAQ Mail  Home -> Resources -> Browse Source -> /code/strxns/src/include/sys/dlpi.h
Last modified: Thu, 31 Jul 2008 15:22:10 GMT
© Copyright 1997-2007 OpenSS7 Corporation All Rights Reserved.