📄 xti_mosi.h
字号:
/***************************************************************************** @(#) xti_mosi.h,v 1.1.2.1 2004/05/16 04:12:33 brian Exp ----------------------------------------------------------------------------- Copyright (C) 2001-2004 OpenSS7 Corporation <http://www.openss7.com> Copyright (C) 1997-2000 Brian F. G. Bidulock <bidulock@openss7.org> All Rights Reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. ----------------------------------------------------------------------------- U.S. GOVERNMENT RESTRICTED RIGHTS. If you are licensing this Software on behalf of the U.S. Government ("Government"), the following provisions apply to you. If the Software is supplied by the Department of Defense ("DoD"), it is classified as "Commercial Computer Software" under paragraph 252.227-7014 of the DoD Supplement to the Federal Acquisition Regulations ("DFARS") (or any successor regulations) and the Government is acquiring only the license rights granted herein (the license rights customarily provided to non-Government users). If the Software is supplied to any unit or agency of the Government other than DoD, it is classified as "Restricted Computer Software" and the Government's rights in the Software are defined in paragraph 52.227-19 of the Federal Acquisition Regulations ("FAR") (or any success regulations) or, in the cases of NASA, in paragraph 18.52.227-86 of the NASA Supplement to the FAR (or any successor regulations). ----------------------------------------------------------------------------- Commercial licensing and support of this software is available from OpenSS7 Corporation at a fee. See http://www.openss7.com/ ----------------------------------------------------------------------------- Last Modified 2004/05/16 04:12:33 by brian *****************************************************************************/#ifndef _SYS_XTI_MOSI_H#define _SYS_XTI_MOSI_H#ident "@(#) xti_mosi.h,v strxnet-0_9_2-4 (1.1.2.1) Copyright (c) 1997-2004 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 */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -