| OpenSS7 SS7 for the Common Man | © Copyright 1997-2007 OpenSS7 Corporation All Rights Reserved. Last modified: Thu, 31 Jul 2008 22:40:03 GMT | ||||||||||||||||
| |||||||||||||||||
| Description: CodeFile /code/strss7/src/include/ss7/sdli.h
#ifndef __SDLI_H__
#define __SDLI_H__
#ident "@(#) sdli.h,v openss7-0_9_2_F(0.9.2.4) Copyright (c) 2001-2007 OpenSS7 Corporation."
typedef lmi_long sdl_long;
typedef lmi_ulong sdl_ulong;
typedef lmi_ushort sdl_ushort;
typedef lmi_uchar sdl_uchar;
#define SDL_PROTO_BASE 32L
#define SDL_DSTR_FIRST ( 1L + SDL_PROTO_BASE)
#define SDL_BITS_FOR_TRANSMISSION_REQ ( 1L + SDL_PROTO_BASE)
#define SDL_CONNECT_REQ ( 2L + SDL_PROTO_BASE)
#define SDL_DISCONNECT_REQ ( 3L + SDL_PROTO_BASE)
#define SDL_DSTR_LAST ( 3L + SDL_PROTO_BASE)
#define SDL_USTR_LAST (-1L - SDL_PROTO_BASE)
#define SDL_RECEIVED_BITS_IND (-1L - SDL_PROTO_BASE)
#define SDL_DISCONNECT_IND (-2L - SDL_PROTO_BASE)
#define SDL_USTR_FIRST (-2L - SDL_PROTO_BASE)
typedef struct {
sdl_long sdl_primitive;
} sdl_bits_for_transmission_req_t;
typedef struct {
sdl_long sdl_primitive;
sdl_ulong sdl_flags;
} sdl_connect_req_t;
#define SDL_RX_DIRECTION 0x01
#define SDL_TX_DIRECTION 0x02
typedef struct {
sdl_long sdl_primitive;
sdl_ulong sdl_flags;
} sdl_disconnect_req_t;
typedef struct {
sdl_long sdl_primitive;
} sdl_received_bits_ind_t;
typedef struct {
sdl_long sdl_primitive;
} sdl_disconnect_ind_t;
union SDL_primitives {
sdl_long sdl_primitive;
sdl_bits_for_transmission_req_t bits_for_transmission_req;
sdl_connect_req_t connect_req;
sdl_disconnect_req_t disconnect_req;
sdl_received_bits_ind_t received_bits_ind;
sdl_disconnect_ind_t disconnect_ind;
};
#define SDL_BITS_FOR_TRANSMISSION_REQ_SIZE sizeof(sdl_bits_for_transmission_req_t)
#define SDL_CONNECT_REQ_SIZE sizeof(sdl_connect_req_t)
#define SDL_DISCONNECT_REQ_SIZE sizeof(sdl_disconnect_req_t)
#define SDL_RECEIVED_BITS_IND_SIZE sizeof(sdl_received_bits_ind_t)
#define SDL_DISCONNECT_IND_SIZE sizeof(sdl_disconnect_ind_t)
#endif
| ||||||||||||||||
| OpenSS7 SS7 for the Common Man |
| ||||||||||||||||
| Last modified: Thu, 31 Jul 2008 22:40:03 GMT © Copyright 1997-2007 OpenSS7 Corporation All Rights Reserved. |