16#define PDU_TYPE_ESIS_ESH 100
17#define PDU_TYPE_ESIS_ISH 101
18#define PDU_TYPE_ESIS_RD 102
20#define PDU_TYPE_ISIS_L1_HELLO 201
21#define PDU_TYPE_ISIS_L2_HELLO 202
22#define PDU_TYPE_ISIS_PTP_HELLO 203
23#define PDU_TYPE_ISIS_L1_CSNP 204
24#define PDU_TYPE_ISIS_L1_PSNP 205
25#define PDU_TYPE_ISIS_L2_CSNP 206
26#define PDU_TYPE_ISIS_L2_PSNP 207
32#define PROTO_STRING_ISIS "ISO 10589 ISIS InTRA Domain Routeing Information Exchange Protocol"
33#define PROTO_STRING_IDRP "ISO 10747 IDRP InTER Domain Routeing Information Exchange Protocol"
34#define PROTO_STRING_ESIS "ISO 9542 ESIS Routeing Information Exchange Protocol"
35#define PROTO_STRING_CLNP "ISO 8473/X.233 CLNP ConnectionLess Network Protocol"
36#define PROTO_STRING_COTP "ISO 8073/X.224 COTP Connection-Oriented Transport Protocol"
37#define PROTO_STRING_CLTP "ISO 8602/X.234 CLTP ConnectionLess Transport Protocol"
38#define PROTO_STRING_LSP "ISO 10589 ISIS Link State Protocol Data Unit"
39#define PROTO_STRING_CSNP "ISO 10589 ISIS Complete Sequence Numbers Protocol Data Unit"
40#define PROTO_STRING_PSNP "ISO 10589 ISIS Partial Sequence Numbers Protocol Data Unit"
42#define OSI_PDU_TYPE_MASK 0x1f
43#define BIS_PDU_TYPE MASK 0xff
47#define NLPID_NULL 0x00
48#define NLPID_IPI_T_70 0x01
49#define NLPID_SPI_X_29 0x01
50#define NLPID_X_633 0x03
52#define NLPID_Q_931 0x08
53#define NLPID_Q_933 0x08
54#define NLPID_Q_2931 0x09
55#define NLPID_Q_2119 0x0c
56#define NLPID_SNAP 0x80
57#define NLPID_ISO8473_CLNP 0x81
58#define NLPID_ISO9542_ESIS 0x82
59#define NLPID_ISO10589_ISIS 0x83
60#define NLPID_ISO10747_IDRP 0x85
61#define NLPID_ISO9542X25_ESIS 0x8a
62#define NLPID_ISO10030 0x8c
63#define NLPID_ISO11577 0x8d
65#define NLPID_AVAYA_IPVPN 0x8f
66#define NLPID_COMPRESSED 0xb0
67#define NLPID_TRILL 0xc0
68#define NLPID_SNDCF 0xc1
69#define NLPID_IEEE_8021AQ 0xc1
87extern bool osi_calc_checksum(
tvbuff_t *tvb,
int offset,
unsigned len, uint32_t* c0, uint32_t* c1);
88extern bool osi_check_and_get_checksum(
tvbuff_t *tvb,
int offset,
unsigned len,
int offset_check, uint16_t* result);
89extern uint32_t check_atn_ec_32(
tvbuff_t *tvb,
unsigned tpdu_len,
unsigned offset_ec_32_val,
unsigned offset_iso8073_val,
unsigned clnp_dst_len,
const uint8_t *clnp_dst,
unsigned clnp_src_len,
const uint8_t *clnp_src);
90extern uint16_t check_atn_ec_16(
tvbuff_t *tvb,
unsigned tpdu_len,
unsigned offset_ec_16_val,
unsigned offset_iso8073_val,
unsigned clnp_dst_len,
const uint8_t *clnp_dst,
unsigned clnp_src_len,
const uint8_t *clnp_src);
Mapping between a 32-bit integer value and its string representation.
Definition value_string.h:33
Definition tvbuff-int.h:35