1121934Sharti/*
2121934Sharti * Copyright (c) 1996-2003
3121934Sharti *	Fraunhofer Institute for Open Communication Systems (FhG Fokus).
4121934Sharti * 	All rights reserved.
5121934Sharti *
6121934Sharti * Redistribution and use in source and binary forms, with or without
7121934Sharti * modification, are permitted provided that the following conditions
8121934Sharti * are met:
9121934Sharti * 1. Redistributions of source code must retain the above copyright
10121934Sharti *    notice, this list of conditions and the following disclaimer.
11121934Sharti * 2. Redistributions in binary form must reproduce the above copyright
12121934Sharti *    notice, this list of conditions and the following disclaimer in the
13121934Sharti *    documentation and/or other materials provided with the distribution.
14121934Sharti *
15121934Sharti * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
16121934Sharti * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
17121934Sharti * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
18121934Sharti * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
19121934Sharti * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20121934Sharti * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
21121934Sharti * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22121934Sharti * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23121934Sharti * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24121934Sharti * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25121934Sharti * SUCH DAMAGE.
26121934Sharti *
27121934Sharti * Author: Hartmut Brandt <harti@freebsd.org>
28121934Sharti *
29131826Sharti * $Begemot: libunimsg/netnatm/msg/uni_config.h,v 1.3 2003/09/19 11:58:15 hbb Exp $
30121934Sharti */
31121934Sharti#ifndef _uni_uni_config_h_
32121934Sharti#define _uni_uni_config_h_
33121934Sharti
34121934Shartienum {
35121934Sharti	/* maximum number of reported error IEs */
36121934Sharti	UNI_MAX_ERRIE	= 50,
37121934Sharti
38121934Sharti	/* maximum number of Generic Identifier Transport IE's per message */
39121934Sharti	UNI_NUM_IE_GIT	= 3,
40121934Sharti
41121934Sharti	/* maximum number of BLLI's in SETUP */
42121934Sharti	UNI_NUM_IE_BLLI	= 3,
43121934Sharti
44121934Sharti	/* maximum number of CALLEDSUB's */
45121934Sharti	UNI_NUM_IE_CALLEDSUB = 2,
46121934Sharti
47121934Sharti	/* maximum number of CALLINGSUB's */
48121934Sharti	UNI_NUM_IE_CALLINGSUB = 2,
49121934Sharti
50121934Sharti	/* maximum number of TNS's */
51121934Sharti	UNI_NUM_IE_TNS = 4,
52121934Sharti
53121934Sharti	/* maximum length of TNS name */
54121934Sharti	UNI_TNS_MAXLEN = 4,
55121934Sharti
56121934Sharti	/* maximum info size in user-to-user signalling IE */
57121934Sharti	UNI_UU_MAXLEN	= 128,
58121934Sharti
59121934Sharti	/* maximum length of address */
60121934Sharti	UNI_ADDR_MAXLEN	= 20,
61121934Sharti
62121934Sharti	/* maximum length of subaddress */
63121934Sharti	UNI_SUBADDR_MAXLEN = 20,
64121934Sharti
65121934Sharti	/* maximum number of DTLs */
66121934Sharti	UNI_NUM_IE_DTL = 10,
67121934Sharti	/* maximum number of identifiers in DTL */
68121934Sharti	UNI_DTL_MAXNUM = 20,
69121934Sharti};
70121934Sharti#endif
71