12#define MAX_NSAP_LEN 30
13#define MAX_SYSTEMID_LEN 15
14#define MAX_AREA_LEN 30
16#define RFC1237_NSAP_LEN 20
17#define RFC1237_FULLAREA_LEN 13
18#define RFC1237_SYSTEMID_LEN 6
19#define RFC1237_SELECTOR_LEN 1
21#define RFC1237_IDI_LEN 2
22#define RFC1237_AFI_LEN 1
23#define RFC1237_DFI_LEN 1
24#define RFC1237_ORG_LEN 3
25#define RFC1237_AA_LEN 3
26#define RFC1237_RSVD_LEN 2
27#define RFC1237_RD_LEN 2
28#define RFC1237_AREA_LEN 3
36#define NSAP_IDI_IANA_ICP_DEC 0x34
37#define NSAP_IDI_IANA_ICP_BIN 0x35
38#define NSAP_IDI_X_121_DEC_FSD_NZ 0x36
39#define NSAP_IDI_X_121_BIN_FSD_NZ 0x37
40#define NSAP_IDI_ISO_DCC_DEC 0x38
41#define NSAP_IDI_ISO_DCC_BIN 0x39
42#define NSAP_IDI_F_69_DEC_FSD_NZ 0x40
43#define NSAP_IDI_F_69_BIN_FSD_NZ 0x41
44#define NSAP_IDI_E_163_DEC_FSD_NZ 0x42
45#define NSAP_IDI_E_163_BIN_FSD_NZ 0x43
46#define NSAP_IDI_E_164_DEC_FSD_NZ 0x44
47#define NSAP_IDI_E_164_BIN_FSD_NZ 0x45
48#define NSAP_IDI_ISO_6523_ICD_DEC 0x46
49#define NSAP_IDI_ISO_6523_ICD_BIN 0x47
51#define NSAP_IDI_LOCAL_DEC 0x48
52#define NSAP_IDI_LOCAL_BIN 0x49
53#define NSAP_IDI_LOCAL_ISO_646_CHAR 0x50
54#define NSAP_IDI_LOCAL_NATIONAL_CHAR 0x51
55#define NSAP_IDI_X_121_DEC_FSD_Z 0x52
56#define NSAP_IDI_X_121_BIN_FSD_Z 0x53
57#define NSAP_IDI_F_69_DEC_FSD_Z 0x54
58#define NSAP_IDI_F_69_BIN_FSD_Z 0x55
59#define NSAP_IDI_E_163_DEC_FSD_Z 0x56
60#define NSAP_IDI_E_163_BIN_FSD_Z 0x57
61#define NSAP_IDI_E_164_DEC_FSD_Z 0x58
62#define NSAP_IDI_E_164_BIN_FSD_Z 0x59
63#define NSAP_IDI_ITU_T_IND_DEC 0x76
64#define NSAP_IDI_ITU_T_IND_BIN 0x77
69#define NSAP_IDI_IANA_ICP_DEC_GROUP 0xB8
70#define NSAP_IDI_IANA_ICP_BIN_GROUP 0xB9
71#define NSAP_IDI_X_121_DEC_FSD_NZ_GROUP 0xBA
72#define NSAP_IDI_X_121_BIN_FSD_NZ_GROUP 0xBB
73#define NSAP_IDI_ISO_DCC_DEC_GROUP 0xBC
74#define NSAP_IDI_ISO_DCC_BIN_GROUP 0xBD
75#define NSAP_IDI_F_69_DEC_FSD_NZ_GROUP 0xBE
76#define NSAP_IDI_F_69_BIN_FSD_NZ_GROUP 0xBF
77#define NSAP_IDI_E_163_DEC_FSD_NZ_GROUP 0xC0
78#define NSAP_IDI_E_163_BIN_FSD_NZ_GROUP 0xC1
79#define NSAP_IDI_E_164_DEC_FSD_NZ_GROUP 0xC2
80#define NSAP_IDI_E_164_BIN_FSD_NZ_GROUP 0xC3
81#define NSAP_IDI_ISO_6523_ICD_DEC_GROUP 0xC4
82#define NSAP_IDI_ISO_6523_ICD_BIN_GROUP 0xC5
83#define NSAP_IDI_LOCAL_DEC_GROUP 0xC6
84#define NSAP_IDI_LOCAL_BIN_GROUP 0xC7
85#define NSAP_IDI_LOCAL_ISO_646_CHAR_GROUP 0xC8
86#define NSAP_IDI_LOCAL_NATIONAL_CHAR_GROUP 0xC9
87#define NSAP_IDI_X_121_DEC_FSD_Z_GROUP 0xCA
88#define NSAP_IDI_X_121_BIN_FSD_Z_GROUP 0xCB
89#define NSAP_IDI_F_69_DEC_FSD_Z_GROUP 0xCC
90#define NSAP_IDI_F_69_BIN_FSD_Z_GROUP 0xCD
91#define NSAP_IDI_E_163_DEC_FSD_Z_GROUP 0xCE
92#define NSAP_IDI_E_163_BIN_FSD_Z_GROUP 0xCF
93#define NSAP_IDI_E_164_DEC_FSD_Z_GROUP 0xD0
94#define NSAP_IDI_E_164_BIN_FSD_Z_GROUP 0xD1
95#define NSAP_IDI_ITU_T_IND_DEC_GROUP 0xE2
96#define NSAP_IDI_ITU_T_IND_BIN_GROUP 0xE3
WS_DLL_PUBLIC char * print_area(wmem_allocator_t *scope, tvbuff_t *tvb, const int offset, int length)
Prints an area of a TVB buffer as a string.
Definition osi-utils.c:136
WS_DLL_PUBLIC int get_osi_address_type(void)
Retrieves the current OSI address type.
Definition osi-utils.c:280
char * print_system_id(wmem_allocator_t *scope, const uint8_t *ad, int length)
Prints a system ID as a string.
Definition osi-utils.c:75
WS_DLL_PUBLIC char * print_nsap_net(wmem_allocator_t *scope, tvbuff_t *tvb, const int offset, int length)
Prints an NSAP network address.
Definition osi-utils.c:36
WS_DLL_PUBLIC char * tvb_print_system_id(wmem_allocator_t *scope, tvbuff_t *tvb, const int offset, int length)
Prints a formatted string representation of a system ID buffer.
Definition osi-utils.c:85
void print_system_id_buf(const uint8_t *ad, int length, char *buf, int buf_len)
Prints a formatted string representation of a system ID buffer.
Definition osi-utils.c:91
WS_DLL_PUBLIC void register_osi_address_type(void)
Registers the OSI address type if not already registered.
Definition osi-utils.c:285
Internal memory allocator interface used by the wmem subsystem.
Definition wmem_allocator.h:34
Definition tvbuff-int.h:33