OpenSS7 SS7 for the Common Man |
© Copyright 1997-2004,OpenSS7 Corporation, All Rights Reserved. |
||||||||||||||||||||||||||
Home | Overview | Status | News | Documentation | Resources | About | |||||||||||||||||||||
File /code/strss7/include/sys/xti_mosi.h#ifndef _SYS_XTI_MOSI_H #define _SYS_XTI_MOSI_H #ident "@(#) $Name: $ ($Revision: 0.8 $) Copyright (C) 1997-2003 OpenSS7 Corporation" /* mosi address structure */ struct t_mosiaddr { t_uscalar_t flags; t_scalar_t osi_ap_inv_id; t_scalar_t osi_ae_inv_id; unsigned int osi_apt_len; unsigned int osi_aeq_len; unsigned int osi_paddr_len; unsigned char osi_addr[MAX_ADDR]; }; #define T_ISO_APCO 0x0200 #define T_ISO_APCL 0x0300 #define T_AP_CNTX_NAME 0x1 #define T_AP_PCL 0x2 #define T_OPT_VALEN(opt) (opt->len - sizeof(struct t_opthder)). /* presentation context definition and result list option */ struct t_ap_pco_el { t_scalar_t count; t_scalar_t offset; }; /* presentation context item header */ struct t_ap_pc_item { t_scalar_t pci; /* unique odd integer */ t_scalar_t res; /* result of negotiation */ }; /* presentation context item element */ struct t_app_syn_off { t_scalar_t size; /* length of syntax object identifier contents */ t_scalar_t offset; /* offset of object identifier for the syntax */ }; /* values for res of a presentation context item */ #define T_PCL_ACCEPT 0x0000 /* pres. context accepted */ #define T_PCL_USER_REJ 0x0100 /* pres. context rejected by perr application */ #define T_PCL_PREJ_RSN_NSPEC 0x0200 /* prov. reject: no reason specified */ #define T_PCL_PREJ_A_SYTX_NSUP 0x0201 /* prov. reject: abstract syntax not supported */ #define T_PCL_PREJ_T_SYTX_NSUP 0x0202 /* prov. reject: transfer syntax not supported */ #define T_PCL_PREJ_LMT_DCS_EXCEED 0x0203 /* prov. reject: local limit on DCS exceeded */ /* reason codes for disconnection */ #define T_AC_U_AARE_NONE 0x0001 /* con rej by peer user: no reason given */ #define T_AC_C_U_AARE_ACN 0x0002 /* con rej: application context name not supported */ #define T_AC_U_AARE_APT 0x0003 /* con rej: AP title not recognized */ #define T_AC_U_AARE_AEQ 0x0005 /* con rej: AE qualifier not recognized */ #define T_AC_U_AARE_PEER_AUTH 0x000e /* con rej: authentication required */ #define T_AC_P_ABRT_NSPEC 0x0011 /* aborted by peer: not reason given */ #define T_AC_P_AARE_VERSION 0x0012 /* con rej: no common version */ #endif /* _SYS_XTI_MOSI_H */
|
|||||||||||||||||||||||||||
OpenSS7 SS7 for the Common Man |
Home | Overview | Status | News | Documentation | Resources | About | ||||||||||||||||||||
© Copyright 1997-2004,OpenSS7 Corporation, All Rights Reserved. |