10#ifndef __OSI_UTILS_H__
11#define __OSI_UTILS_H__
15#define MAX_NSAP_LEN 30
16#define MAX_SYSTEMID_LEN 15
17#define MAX_AREA_LEN 30
19#define RFC1237_NSAP_LEN 20
20#define RFC1237_FULLAREA_LEN 13
21#define RFC1237_SYSTEMID_LEN 6
22#define RFC1237_SELECTOR_LEN 1
24#define RFC1237_IDI_LEN 2
25#define RFC1237_AFI_LEN 1
26#define RFC1237_DFI_LEN 1
27#define RFC1237_ORG_LEN 3
28#define RFC1237_AA_LEN 3
29#define RFC1237_RSVD_LEN 2
30#define RFC1237_RD_LEN 2
31#define RFC1237_AREA_LEN 3
39#define NSAP_IDI_IANA_ICP_DEC 0x34
40#define NSAP_IDI_IANA_ICP_BIN 0x35
41#define NSAP_IDI_X_121_DEC_FSD_NZ 0x36
42#define NSAP_IDI_X_121_BIN_FSD_NZ 0x37
43#define NSAP_IDI_ISO_DCC_DEC 0x38
44#define NSAP_IDI_ISO_DCC_BIN 0x39
45#define NSAP_IDI_F_69_DEC_FSD_NZ 0x40
46#define NSAP_IDI_F_69_BIN_FSD_NZ 0x41
47#define NSAP_IDI_E_163_DEC_FSD_NZ 0x42
48#define NSAP_IDI_E_163_BIN_FSD_NZ 0x43
49#define NSAP_IDI_E_164_DEC_FSD_NZ 0x44
50#define NSAP_IDI_E_164_BIN_FSD_NZ 0x45
51#define NSAP_IDI_ISO_6523_ICD_DEC 0x46
52#define NSAP_IDI_ISO_6523_ICD_BIN 0x47
54#define NSAP_IDI_LOCAL_DEC 0x48
55#define NSAP_IDI_LOCAL_BIN 0x49
56#define NSAP_IDI_LOCAL_ISO_646_CHAR 0x50
57#define NSAP_IDI_LOCAL_NATIONAL_CHAR 0x51
58#define NSAP_IDI_X_121_DEC_FSD_Z 0x52
59#define NSAP_IDI_X_121_BIN_FSD_Z 0x53
60#define NSAP_IDI_F_69_DEC_FSD_Z 0x54
61#define NSAP_IDI_F_69_BIN_FSD_Z 0x55
62#define NSAP_IDI_E_163_DEC_FSD_Z 0x56
63#define NSAP_IDI_E_163_BIN_FSD_Z 0x57
64#define NSAP_IDI_E_164_DEC_FSD_Z 0x58
65#define NSAP_IDI_E_164_BIN_FSD_Z 0x59
66#define NSAP_IDI_ITU_T_IND_DEC 0x76
67#define NSAP_IDI_ITU_T_IND_BIN 0x77
72#define NSAP_IDI_IANA_ICP_DEC_GROUP 0xB8
73#define NSAP_IDI_IANA_ICP_BIN_GROUP 0xB9
74#define NSAP_IDI_X_121_DEC_FSD_NZ_GROUP 0xBA
75#define NSAP_IDI_X_121_BIN_FSD_NZ_GROUP 0xBB
76#define NSAP_IDI_ISO_DCC_DEC_GROUP 0xBC
77#define NSAP_IDI_ISO_DCC_BIN_GROUP 0xBD
78#define NSAP_IDI_F_69_DEC_FSD_NZ_GROUP 0xBE
79#define NSAP_IDI_F_69_BIN_FSD_NZ_GROUP 0xBF
80#define NSAP_IDI_E_163_DEC_FSD_NZ_GROUP 0xC0
81#define NSAP_IDI_E_163_BIN_FSD_NZ_GROUP 0xC1
82#define NSAP_IDI_E_164_DEC_FSD_NZ_GROUP 0xC2
83#define NSAP_IDI_E_164_BIN_FSD_NZ_GROUP 0xC3
84#define NSAP_IDI_ISO_6523_ICD_DEC_GROUP 0xC4
85#define NSAP_IDI_ISO_6523_ICD_BIN_GROUP 0xC5
86#define NSAP_IDI_LOCAL_DEC_GROUP 0xC6
87#define NSAP_IDI_LOCAL_BIN_GROUP 0xC7
88#define NSAP_IDI_LOCAL_ISO_646_CHAR_GROUP 0xC8
89#define NSAP_IDI_LOCAL_NATIONAL_CHAR_GROUP 0xC9
90#define NSAP_IDI_X_121_DEC_FSD_Z_GROUP 0xCA
91#define NSAP_IDI_X_121_BIN_FSD_Z_GROUP 0xCB
92#define NSAP_IDI_F_69_DEC_FSD_Z_GROUP 0xCC
93#define NSAP_IDI_F_69_BIN_FSD_Z_GROUP 0xCD
94#define NSAP_IDI_E_163_DEC_FSD_Z_GROUP 0xCE
95#define NSAP_IDI_E_163_BIN_FSD_Z_GROUP 0xCF
96#define NSAP_IDI_E_164_DEC_FSD_Z_GROUP 0xD0
97#define NSAP_IDI_E_164_BIN_FSD_Z_GROUP 0xD1
98#define NSAP_IDI_ITU_T_IND_DEC_GROUP 0xE2
99#define NSAP_IDI_ITU_T_IND_BIN_GROUP 0xE3
105void print_system_id_buf(
const uint8_t *,
int,
char *,
int);
108int get_osi_address_type(
void);
109void register_osi_address_type(
void);
Definition wmem_allocator.h:27
Definition tvbuff-int.h:35