tcpdump  4.99.1
About: tcpdump is a tool for network monitoring and data acquisition.
  Fossies Dox: tcpdump-4.99.1.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

print-isoclns.c File Reference
#include "netdissect-stdinc.h"
#include <string.h>
#include "netdissect.h"
#include "addrtoname.h"
#include "nlpid.h"
#include "extract.h"
#include "gmpls.h"
#include "oui.h"
#include "signature.h"
Include dependency graph for print-isoclns.c:

Go to the source code of this file.

Data Structures

struct  isis_spb_mcid
 
struct  isis_subtlv_spb_mcid
 
struct  isis_subtlv_spb_instance
 
struct  isis_tlv_ptp_adj
 
struct  isis_metric_block
 
struct  isis_tlv_is_reach
 
struct  isis_tlv_es_reach
 
struct  isis_tlv_ip_reach
 
struct  isis_common_header
 
struct  isis_iih_lan_header
 
struct  isis_iih_ptp_header
 
struct  isis_lsp_header
 
struct  isis_csnp_header
 
struct  isis_psnp_header
 
struct  isis_tlv_lsp
 
struct  clnp_header_t
 
struct  clnp_segment_header_t
 
struct  esis_header_t
 

Macros

#define SYSTEM_ID_LEN   MAC_ADDR_LEN
 
#define NODE_ID_LEN   (SYSTEM_ID_LEN+1)
 
#define LSP_ID_LEN   (SYSTEM_ID_LEN+2)
 
#define ISIS_VERSION   1
 
#define ESIS_VERSION   1
 
#define CLNP_VERSION   1
 
#define ISIS_PDU_TYPE_MASK   0x1F
 
#define ESIS_PDU_TYPE_MASK   0x1F
 
#define CLNP_PDU_TYPE_MASK   0x1F
 
#define CLNP_FLAG_MASK   0xE0
 
#define ISIS_LAN_PRIORITY_MASK   0x7F
 
#define ISIS_PDU_L1_LAN_IIH   15
 
#define ISIS_PDU_L2_LAN_IIH   16
 
#define ISIS_PDU_PTP_IIH   17
 
#define ISIS_PDU_L1_LSP   18
 
#define ISIS_PDU_L2_LSP   20
 
#define ISIS_PDU_L1_CSNP   24
 
#define ISIS_PDU_L2_CSNP   25
 
#define ISIS_PDU_L1_PSNP   26
 
#define ISIS_PDU_L2_PSNP   27
 
#define ISIS_TLV_AREA_ADDR   1 /* iso10589 */
 
#define ISIS_TLV_IS_REACH   2 /* iso10589 */
 
#define ISIS_TLV_ESNEIGH   3 /* iso10589 */
 
#define ISIS_TLV_PART_DIS   4 /* iso10589 */
 
#define ISIS_TLV_PREFIX_NEIGH   5 /* iso10589 */
 
#define ISIS_TLV_ISNEIGH   6 /* iso10589 */
 
#define ISIS_TLV_INSTANCE_ID   7 /* rfc8202 */
 
#define ISIS_TLV_PADDING   8 /* iso10589 */
 
#define ISIS_TLV_LSP   9 /* iso10589 */
 
#define ISIS_TLV_AUTH   10 /* iso10589, rfc3567 */
 
#define ISIS_TLV_CHECKSUM   12 /* rfc3358 */
 
#define ISIS_TLV_CHECKSUM_MINLEN   2
 
#define ISIS_TLV_POI   13 /* rfc6232 */
 
#define ISIS_TLV_LSP_BUFFERSIZE   14 /* iso10589 rev2 */
 
#define ISIS_TLV_EXT_IS_REACH   22 /* rfc5305 */
 
#define ISIS_TLV_IS_ALIAS_ID   24 /* rfc5311 */
 
#define ISIS_TLV_DECNET_PHASE4   42
 
#define ISIS_TLV_LUCENT_PRIVATE   66
 
#define ISIS_TLV_INT_IP_REACH   128 /* rfc1195, rfc2966 */
 
#define ISIS_TLV_PROTOCOLS   129 /* rfc1195 */
 
#define ISIS_TLV_EXT_IP_REACH   130 /* rfc1195, rfc2966 */
 
#define ISIS_TLV_IDRP_INFO   131 /* rfc1195 */
 
#define ISIS_TLV_IPADDR   132 /* rfc1195 */
 
#define ISIS_TLV_IPAUTH   133 /* rfc1195 */
 
#define ISIS_TLV_TE_ROUTER_ID   134 /* rfc5305 */
 
#define ISIS_TLV_EXTD_IP_REACH   135 /* rfc5305 */
 
#define ISIS_TLV_HOSTNAME   137 /* rfc2763 */
 
#define ISIS_TLV_SHARED_RISK_GROUP   138 /* draft-ietf-isis-gmpls-extensions */
 
#define ISIS_TLV_MT_PORT_CAP   143 /* rfc6165 */
 
#define ISIS_TLV_MT_CAPABILITY   144 /* rfc6329 */
 
#define ISIS_TLV_NORTEL_PRIVATE1   176
 
#define ISIS_TLV_NORTEL_PRIVATE2   177
 
#define ISIS_TLV_RESTART_SIGNALING   211 /* rfc3847 */
 
#define ISIS_TLV_RESTART_SIGNALING_FLAGLEN   1
 
#define ISIS_TLV_RESTART_SIGNALING_HOLDTIMELEN   2
 
#define ISIS_TLV_MT_IS_REACH   222 /* draft-ietf-isis-wg-multi-topology-05 */
 
#define ISIS_TLV_MT_SUPPORTED   229 /* draft-ietf-isis-wg-multi-topology-05 */
 
#define ISIS_TLV_IP6ADDR   232 /* draft-ietf-isis-ipv6-02 */
 
#define ISIS_TLV_MT_IP_REACH   235 /* draft-ietf-isis-wg-multi-topology-05 */
 
#define ISIS_TLV_IP6_REACH   236 /* draft-ietf-isis-ipv6-02 */
 
#define ISIS_TLV_MT_IP6_REACH   237 /* draft-ietf-isis-wg-multi-topology-05 */
 
#define ISIS_TLV_PTP_ADJ   240 /* rfc3373 */
 
#define ISIS_TLV_IIH_SEQNR   241 /* draft-shen-isis-iih-sequence-00 */
 
#define ISIS_TLV_ROUTER_CAPABILITY   242 /* rfc7981 */
 
#define ISIS_TLV_VENDOR_PRIVATE   250 /* draft-ietf-isis-experimental-tlv-01 */
 
#define ISIS_TLV_VENDOR_PRIVATE_MINLEN   3
 
#define ESIS_OPTION_PROTOCOLS   129
 
#define ESIS_OPTION_QOS_MAINTENANCE   195 /* iso9542 */
 
#define ESIS_OPTION_SECURITY   197 /* iso9542 */
 
#define ESIS_OPTION_ES_CONF_TIME   198 /* iso9542 */
 
#define ESIS_OPTION_PRIORITY   205 /* iso9542 */
 
#define ESIS_OPTION_ADDRESS_MASK   225 /* iso9542 */
 
#define ESIS_OPTION_SNPA_MASK   226 /* iso9542 */
 
#define CLNP_OPTION_DISCARD_REASON   193
 
#define CLNP_OPTION_QOS_MAINTENANCE   195 /* iso8473 */
 
#define CLNP_OPTION_SECURITY   197 /* iso8473 */
 
#define CLNP_OPTION_SOURCE_ROUTING   200 /* iso8473 */
 
#define CLNP_OPTION_ROUTE_RECORDING   203 /* iso8473 */
 
#define CLNP_OPTION_PADDING   204 /* iso8473 */
 
#define CLNP_OPTION_PRIORITY   205 /* iso8473 */
 
#define CLNP_OPTION_OPTION_QOS_MASK   0x3f
 
#define CLNP_OPTION_SCOPE_MASK   0xc0
 
#define CLNP_OPTION_SCOPE_SA_SPEC   0x40
 
#define CLNP_OPTION_SCOPE_DA_SPEC   0x80
 
#define CLNP_OPTION_SCOPE_GLOBAL   0xc0
 
#define ISIS_SUBTLV_ROUTER_CAP_SR   2 /* rfc 8667 */
 
#define ISIS_SUBTLV_EXT_IS_REACH_ADMIN_GROUP   3 /* rfc5305 */
 
#define ISIS_SUBTLV_EXT_IS_REACH_LINK_LOCAL_REMOTE_ID   4 /* rfc4205 */
 
#define ISIS_SUBTLV_EXT_IS_REACH_LINK_REMOTE_ID   5 /* rfc5305 */
 
#define ISIS_SUBTLV_EXT_IS_REACH_IPV4_INTF_ADDR   6 /* rfc5305 */
 
#define ISIS_SUBTLV_EXT_IS_REACH_IPV4_NEIGHBOR_ADDR   8 /* rfc5305 */
 
#define ISIS_SUBTLV_EXT_IS_REACH_MAX_LINK_BW   9 /* rfc5305 */
 
#define ISIS_SUBTLV_EXT_IS_REACH_RESERVABLE_BW   10 /* rfc5305 */
 
#define ISIS_SUBTLV_EXT_IS_REACH_UNRESERVED_BW   11 /* rfc4124 */
 
#define ISIS_SUBTLV_EXT_IS_REACH_BW_CONSTRAINTS_OLD   12 /* draft-ietf-tewg-diff-te-proto-06 */
 
#define ISIS_SUBTLV_EXT_IS_REACH_TE_METRIC   18 /* rfc5305 */
 
#define ISIS_SUBTLV_EXT_IS_REACH_LINK_ATTRIBUTE   19 /* draft-ietf-isis-link-attr-01 */
 
#define ISIS_SUBTLV_EXT_IS_REACH_LINK_PROTECTION_TYPE   20 /* rfc4205 */
 
#define ISIS_SUBTLV_EXT_IS_REACH_INTF_SW_CAP_DESCR   21 /* rfc4205 */
 
#define ISIS_SUBTLV_EXT_IS_REACH_BW_CONSTRAINTS   22 /* rfc4124 */
 
#define ISIS_SUBTLV_EXT_IS_REACH_LAN_ADJ_SEGMENT_ID   32 /* rfc8667 */
 
#define ISIS_SUBTLV_SPB_METRIC   29 /* rfc6329 */
 
#define ISIS_SUBTLV_EXTD_IP_REACH_ADMIN_TAG32   1 /* draft-ietf-isis-admin-tags-01 */
 
#define ISIS_SUBTLV_EXTD_IP_REACH_ADMIN_TAG64   2 /* draft-ietf-isis-admin-tags-01 */
 
#define ISIS_SUBTLV_EXTD_IP_REACH_PREFIX_SID   3 /* rfc8667 */
 
#define ISIS_SUBTLV_EXTD_IP_REACH_MGMT_PREFIX_COLOR   117 /* draft-ietf-isis-wg-multi-topology-05 */
 
#define ISIS_PREFIX_SID_FLAG_R   0x80 /* rfc 8667 */
 
#define ISIS_PREFIX_SID_FLAG_N   0x40 /* rfc 8667 */
 
#define ISIS_PREFIX_SID_FLAG_P   0x20 /* rfc 8667 */
 
#define ISIS_PREFIX_SID_FLAG_E   0x10 /* rfc 8667 */
 
#define ISIS_PREFIX_SID_FLAG_V   0x08 /* rfc 8667 */
 
#define ISIS_PREFIX_SID_FLAG_L   0x04 /* rfc 8667 */
 
#define ISIS_SUBTLV_AUTH_SIMPLE   1
 
#define ISIS_SUBTLV_AUTH_GENERIC   3 /* rfc 5310 */
 
#define ISIS_SUBTLV_AUTH_MD5   54
 
#define ISIS_SUBTLV_AUTH_MD5_LEN   16
 
#define ISIS_SUBTLV_AUTH_PRIVATE   255
 
#define ISIS_SUBTLV_IDRP_RES   0
 
#define ISIS_SUBTLV_IDRP_LOCAL   1
 
#define ISIS_SUBTLV_IDRP_ASN   2
 
#define ISIS_SUBTLV_SPB_MCID   4
 
#define ISIS_SUBTLV_SPB_DIGEST   5
 
#define ISIS_SUBTLV_SPB_BVID   6
 
#define ISIS_SUBTLV_SPB_INSTANCE   1
 
#define ISIS_SUBTLV_SPBM_SI   3
 
#define ISIS_SPB_MCID_LEN   51
 
#define ISIS_SUBTLV_SPB_MCID_MIN_LEN   102
 
#define ISIS_SUBTLV_SPB_DIGEST_MIN_LEN   33
 
#define ISIS_SUBTLV_SPB_BVID_MIN_LEN   6
 
#define ISIS_SUBTLV_SPB_INSTANCE_MIN_LEN   19
 
#define ISIS_SUBTLV_SPB_INSTANCE_VLAN_TUPLE_LEN   8
 
#define CLNP_SEGMENT_PART   0x80
 
#define CLNP_MORE_SEGMENTS   0x40
 
#define CLNP_REQUEST_ER   0x20
 
#define ISIS_MASK_LSP_OL_BIT(x)   (GET_U_1(x)&0x4)
 
#define ISIS_MASK_LSP_ISTYPE_BITS(x)   (GET_U_1(x)&0x3)
 
#define ISIS_MASK_LSP_PARTITION_BIT(x)   (GET_U_1(x)&0x80)
 
#define ISIS_MASK_LSP_ATT_BITS(x)   (GET_U_1(x)&0x78)
 
#define ISIS_MASK_LSP_ATT_ERROR_BIT(x)   (GET_U_1(x)&0x40)
 
#define ISIS_MASK_LSP_ATT_EXPENSE_BIT(x)   (GET_U_1(x)&0x20)
 
#define ISIS_MASK_LSP_ATT_DELAY_BIT(x)   (GET_U_1(x)&0x10)
 
#define ISIS_MASK_LSP_ATT_DEFAULT_BIT(x)   (GET_U_1(x)&0x8)
 
#define ISIS_MASK_MTID(x)   ((x)&0x0fff)
 
#define ISIS_MASK_MTFLAGS(x)   ((x)&0xf000)
 
#define ISIS_MASK_TLV_EXTD_IP_UPDOWN(x)   ((x)&0x80)
 
#define ISIS_MASK_TLV_EXTD_IP_SUBTLV(x)   ((x)&0x40)
 
#define ISIS_MASK_TLV_EXTD_IP6_IE(x)   ((x)&0x40)
 
#define ISIS_MASK_TLV_EXTD_IP6_SUBTLV(x)   ((x)&0x20)
 
#define ISIS_LSP_TLV_METRIC_SUPPORTED(x)   (GET_U_1(x)&0x80)
 
#define ISIS_LSP_TLV_METRIC_IE(x)   (GET_U_1(x)&0x40)
 
#define ISIS_LSP_TLV_METRIC_UPDOWN(x)   (GET_U_1(x)&0x80)
 
#define ISIS_LSP_TLV_METRIC_VALUE(x)   (GET_U_1(x)&0x3f)
 
#define ISIS_MASK_TLV_SHARED_RISK_GROUP(x)   ((x)&0x1)
 
#define ISIS_LSP_TYPE_UNUSED0   0
 
#define ISIS_LSP_TYPE_LEVEL_1   1
 
#define ISIS_LSP_TYPE_UNUSED2   2
 
#define ISIS_LSP_TYPE_LEVEL_2   3
 
#define ISIS_PTP_ADJ_UP   0
 
#define ISIS_PTP_ADJ_INIT   1
 
#define ISIS_PTP_ADJ_DOWN   2
 
#define ISIS_COMMON_HEADER_SIZE   (sizeof(struct isis_common_header))
 
#define ISIS_IIH_LAN_HEADER_SIZE   (sizeof(struct isis_iih_lan_header))
 
#define ISIS_IIH_PTP_HEADER_SIZE   (sizeof(struct isis_iih_ptp_header))
 
#define ISIS_LSP_HEADER_SIZE   (sizeof(struct isis_lsp_header))
 
#define ISIS_CSNP_HEADER_SIZE   (sizeof(struct isis_csnp_header))
 
#define ISIS_PSNP_HEADER_SIZE   (sizeof(struct isis_psnp_header))
 
#define CLNP_PDU_ER   1
 
#define CLNP_PDU_DT   28
 
#define CLNP_PDU_MD   29
 
#define CLNP_PDU_ERQ   30
 
#define CLNP_PDU_ERP   31
 
#define ESIS_PDU_REDIRECT   6
 
#define ESIS_PDU_ESH   2
 
#define ESIS_PDU_ISH   4
 
#define INVALID_OR_DECREMENT(length, decr)
 

Functions

static void osi_print_cksum (netdissect_options *, const uint8_t *pptr, uint16_t checksum, int checksum_offset, u_int length)
 
static int clnp_print (netdissect_options *, const uint8_t *, u_int)
 
static void esis_print (netdissect_options *, const uint8_t *, u_int)
 
static int isis_print (netdissect_options *, const uint8_t *, u_int)
 
void isoclns_print (netdissect_options *ndo, const u_char *p, u_int length)
 
static void isis_print_mcid (netdissect_options *ndo, const struct isis_spb_mcid *mcid)
 
static int isis_print_mt_port_cap_subtlv (netdissect_options *ndo, const uint8_t *tptr, u_int len)
 
static int isis_print_mt_capability_subtlv (netdissect_options *ndo, const uint8_t *tptr, u_int len)
 
static char * isis_print_id (netdissect_options *ndo, const uint8_t *cp, u_int id_len)
 
static int isis_print_metric_block (netdissect_options *ndo, const struct isis_metric_block *isis_metric_block)
 
static int isis_print_tlv_ip_reach (netdissect_options *ndo, const uint8_t *cp, const char *ident, u_int length)
 
static int isis_print_ip_reach_subtlv (netdissect_options *ndo, const uint8_t *tptr, u_int subt, u_int subl, const char *ident)
 
static int isis_print_ext_is_reach (netdissect_options *ndo, const uint8_t *tptr, const char *ident, u_int tlv_type, u_int tlv_remaining)
 
static uint8_t isis_print_mtid (netdissect_options *ndo, const uint8_t *tptr, const char *ident, u_int tlv_remaining)
 
static u_int isis_print_extd_ip_reach (netdissect_options *ndo, const uint8_t *tptr, const char *ident, uint16_t afi)
 
static void isis_print_router_cap_subtlv (netdissect_options *ndo, const uint8_t *tptr, uint8_t tlen)
 
static void isis_clear_checksum_lifetime (void *header)
 

Variables

static const struct tok isis_pdu_values []
 
static const struct tok isis_tlv_values []
 
static const struct tok esis_option_values []
 
static const struct tok clnp_option_values []
 
static const struct tok clnp_option_rfd_class_values []
 
static const struct tok clnp_option_rfd_general_values []
 
static const struct tok clnp_option_rfd_address_values []
 
static const struct tok clnp_option_rfd_source_routeing_values []
 
static const struct tok clnp_option_rfd_lifetime_values []
 
static const struct tok clnp_option_rfd_pdu_discard_values []
 
static const struct tok clnp_option_rfd_reassembly_values []
 
static const struct tokclnp_option_rfd_error_class []
 
static const struct tok clnp_option_scope_values []
 
static const struct tok clnp_option_sr_rr_values []
 
static const struct tok clnp_option_sr_rr_string_values []
 
static const struct tok clnp_option_qos_global_values []
 
static const struct tok isis_tlv_router_capability_flags []
 
static const struct tok isis_router_capability_subtlv_values []
 
static const struct tok isis_router_capability_sr_flags []
 
static const struct tok isis_ext_is_reach_subtlv_values []
 
static const struct tok isis_ext_ip_reach_subtlv_values []
 
static const struct tok prefix_sid_flag_values []
 
static const struct tok prefix_sid_algo_values []
 
static const struct tok isis_subtlv_link_attribute_values []
 
static const struct tok isis_lan_adj_sid_flag_values []
 
static const struct tok isis_subtlv_auth_values []
 
static const struct tok isis_subtlv_idrp_values []
 
static const struct tok isis_mt_port_cap_subtlv_values []
 
static const struct tok isis_mt_capability_subtlv_values []
 
static const struct tok clnp_flag_values []
 
static const struct tok isis_mt_flag_values []
 
static const struct tok isis_mt_values []
 
static const struct tok isis_iih_circuit_type_values []
 
static const struct tok isis_lsp_istype_values []
 
static const struct tok isis_ptp_adjancey_values []
 
static const struct tok isis_is_reach_virtual_values []
 
static const struct tok isis_restart_flag_values []
 
static const struct tok clnp_pdu_values []
 
static const struct tok esis_pdu_values []
 

Macro Definition Documentation

◆ CLNP_FLAG_MASK

#define CLNP_FLAG_MASK   0xE0

Definition at line 69 of file print-isoclns.c.

◆ CLNP_MORE_SEGMENTS

#define CLNP_MORE_SEGMENTS   0x40

Definition at line 536 of file print-isoclns.c.

◆ CLNP_OPTION_DISCARD_REASON

#define CLNP_OPTION_DISCARD_REASON   193

Definition at line 215 of file print-isoclns.c.

◆ CLNP_OPTION_OPTION_QOS_MASK

#define CLNP_OPTION_OPTION_QOS_MASK   0x3f

Definition at line 310 of file print-isoclns.c.

◆ CLNP_OPTION_PADDING

#define CLNP_OPTION_PADDING   204 /* iso8473 */

Definition at line 220 of file print-isoclns.c.

◆ CLNP_OPTION_PRIORITY

#define CLNP_OPTION_PRIORITY   205 /* iso8473 */

Definition at line 221 of file print-isoclns.c.

◆ CLNP_OPTION_QOS_MAINTENANCE

#define CLNP_OPTION_QOS_MAINTENANCE   195 /* iso8473 */

Definition at line 216 of file print-isoclns.c.

◆ CLNP_OPTION_ROUTE_RECORDING

#define CLNP_OPTION_ROUTE_RECORDING   203 /* iso8473 */

Definition at line 219 of file print-isoclns.c.

◆ CLNP_OPTION_SCOPE_DA_SPEC

#define CLNP_OPTION_SCOPE_DA_SPEC   0x80

Definition at line 313 of file print-isoclns.c.

◆ CLNP_OPTION_SCOPE_GLOBAL

#define CLNP_OPTION_SCOPE_GLOBAL   0xc0

Definition at line 314 of file print-isoclns.c.

◆ CLNP_OPTION_SCOPE_MASK

#define CLNP_OPTION_SCOPE_MASK   0xc0

Definition at line 311 of file print-isoclns.c.

◆ CLNP_OPTION_SCOPE_SA_SPEC

#define CLNP_OPTION_SCOPE_SA_SPEC   0x40

Definition at line 312 of file print-isoclns.c.

◆ CLNP_OPTION_SECURITY

#define CLNP_OPTION_SECURITY   197 /* iso8473 */

Definition at line 217 of file print-isoclns.c.

◆ CLNP_OPTION_SOURCE_ROUTING

#define CLNP_OPTION_SOURCE_ROUTING   200 /* iso8473 */

Definition at line 218 of file print-isoclns.c.

◆ CLNP_PDU_DT

#define CLNP_PDU_DT   28

Definition at line 791 of file print-isoclns.c.

◆ CLNP_PDU_ER

#define CLNP_PDU_ER   1

Definition at line 790 of file print-isoclns.c.

◆ CLNP_PDU_ERP

#define CLNP_PDU_ERP   31

Definition at line 794 of file print-isoclns.c.

◆ CLNP_PDU_ERQ

#define CLNP_PDU_ERQ   30

Definition at line 793 of file print-isoclns.c.

◆ CLNP_PDU_MD

#define CLNP_PDU_MD   29

Definition at line 792 of file print-isoclns.c.

◆ CLNP_PDU_TYPE_MASK

#define CLNP_PDU_TYPE_MASK   0x1F

Definition at line 68 of file print-isoclns.c.

◆ CLNP_REQUEST_ER

#define CLNP_REQUEST_ER   0x20

Definition at line 537 of file print-isoclns.c.

◆ CLNP_SEGMENT_PART

#define CLNP_SEGMENT_PART   0x80

Definition at line 535 of file print-isoclns.c.

◆ CLNP_VERSION

#define CLNP_VERSION   1

Definition at line 64 of file print-isoclns.c.

◆ ESIS_OPTION_ADDRESS_MASK

#define ESIS_OPTION_ADDRESS_MASK   225 /* iso9542 */

Definition at line 201 of file print-isoclns.c.

◆ ESIS_OPTION_ES_CONF_TIME

#define ESIS_OPTION_ES_CONF_TIME   198 /* iso9542 */

Definition at line 199 of file print-isoclns.c.

◆ ESIS_OPTION_PRIORITY

#define ESIS_OPTION_PRIORITY   205 /* iso9542 */

Definition at line 200 of file print-isoclns.c.

◆ ESIS_OPTION_PROTOCOLS

#define ESIS_OPTION_PROTOCOLS   129

Definition at line 196 of file print-isoclns.c.

◆ ESIS_OPTION_QOS_MAINTENANCE

#define ESIS_OPTION_QOS_MAINTENANCE   195 /* iso9542 */

Definition at line 197 of file print-isoclns.c.

◆ ESIS_OPTION_SECURITY

#define ESIS_OPTION_SECURITY   197 /* iso9542 */

Definition at line 198 of file print-isoclns.c.

◆ ESIS_OPTION_SNPA_MASK

#define ESIS_OPTION_SNPA_MASK   226 /* iso9542 */

Definition at line 202 of file print-isoclns.c.

◆ ESIS_PDU_ESH

#define ESIS_PDU_ESH   2

Definition at line 1144 of file print-isoclns.c.

◆ ESIS_PDU_ISH

#define ESIS_PDU_ISH   4

Definition at line 1145 of file print-isoclns.c.

◆ ESIS_PDU_REDIRECT

#define ESIS_PDU_REDIRECT   6

Definition at line 1143 of file print-isoclns.c.

◆ ESIS_PDU_TYPE_MASK

#define ESIS_PDU_TYPE_MASK   0x1F

Definition at line 67 of file print-isoclns.c.

◆ ESIS_VERSION

#define ESIS_VERSION   1

Definition at line 63 of file print-isoclns.c.

◆ INVALID_OR_DECREMENT

#define INVALID_OR_DECREMENT (   length,
  decr 
)
Value:
if ((length) < (decr)) { \
ND_PRINT(" [packet length %u < %zu]", (length), (decr)); \
nd_print_invalid(ndo); \
return 1; \
} \
length -= (decr);

Definition at line 2466 of file print-isoclns.c.

◆ ISIS_COMMON_HEADER_SIZE

#define ISIS_COMMON_HEADER_SIZE   (sizeof(struct isis_common_header))

Definition at line 727 of file print-isoclns.c.

◆ ISIS_CSNP_HEADER_SIZE

#define ISIS_CSNP_HEADER_SIZE   (sizeof(struct isis_csnp_header))

Definition at line 731 of file print-isoclns.c.

◆ ISIS_IIH_LAN_HEADER_SIZE

#define ISIS_IIH_LAN_HEADER_SIZE   (sizeof(struct isis_iih_lan_header))

Definition at line 728 of file print-isoclns.c.

◆ ISIS_IIH_PTP_HEADER_SIZE

#define ISIS_IIH_PTP_HEADER_SIZE   (sizeof(struct isis_iih_ptp_header))

Definition at line 729 of file print-isoclns.c.

◆ ISIS_LAN_PRIORITY_MASK

#define ISIS_LAN_PRIORITY_MASK   0x7F

Definition at line 70 of file print-isoclns.c.

◆ ISIS_LSP_HEADER_SIZE

#define ISIS_LSP_HEADER_SIZE   (sizeof(struct isis_lsp_header))

Definition at line 730 of file print-isoclns.c.

◆ ISIS_LSP_TLV_METRIC_IE

#define ISIS_LSP_TLV_METRIC_IE (   x)    (GET_U_1(x)&0x40)

Definition at line 571 of file print-isoclns.c.

◆ ISIS_LSP_TLV_METRIC_SUPPORTED

#define ISIS_LSP_TLV_METRIC_SUPPORTED (   x)    (GET_U_1(x)&0x80)

Definition at line 570 of file print-isoclns.c.

◆ ISIS_LSP_TLV_METRIC_UPDOWN

#define ISIS_LSP_TLV_METRIC_UPDOWN (   x)    (GET_U_1(x)&0x80)

Definition at line 572 of file print-isoclns.c.

◆ ISIS_LSP_TLV_METRIC_VALUE

#define ISIS_LSP_TLV_METRIC_VALUE (   x)    (GET_U_1(x)&0x3f)

Definition at line 573 of file print-isoclns.c.

◆ ISIS_LSP_TYPE_LEVEL_1

#define ISIS_LSP_TYPE_LEVEL_1   1

Definition at line 594 of file print-isoclns.c.

◆ ISIS_LSP_TYPE_LEVEL_2

#define ISIS_LSP_TYPE_LEVEL_2   3

Definition at line 596 of file print-isoclns.c.

◆ ISIS_LSP_TYPE_UNUSED0

#define ISIS_LSP_TYPE_UNUSED0   0

Definition at line 593 of file print-isoclns.c.

◆ ISIS_LSP_TYPE_UNUSED2

#define ISIS_LSP_TYPE_UNUSED2   2

Definition at line 595 of file print-isoclns.c.

◆ ISIS_MASK_LSP_ATT_BITS

#define ISIS_MASK_LSP_ATT_BITS (   x)    (GET_U_1(x)&0x78)

Definition at line 549 of file print-isoclns.c.

◆ ISIS_MASK_LSP_ATT_DEFAULT_BIT

#define ISIS_MASK_LSP_ATT_DEFAULT_BIT (   x)    (GET_U_1(x)&0x8)

Definition at line 553 of file print-isoclns.c.

◆ ISIS_MASK_LSP_ATT_DELAY_BIT

#define ISIS_MASK_LSP_ATT_DELAY_BIT (   x)    (GET_U_1(x)&0x10)

Definition at line 552 of file print-isoclns.c.

◆ ISIS_MASK_LSP_ATT_ERROR_BIT

#define ISIS_MASK_LSP_ATT_ERROR_BIT (   x)    (GET_U_1(x)&0x40)

Definition at line 550 of file print-isoclns.c.

◆ ISIS_MASK_LSP_ATT_EXPENSE_BIT

#define ISIS_MASK_LSP_ATT_EXPENSE_BIT (   x)    (GET_U_1(x)&0x20)

Definition at line 551 of file print-isoclns.c.

◆ ISIS_MASK_LSP_ISTYPE_BITS

#define ISIS_MASK_LSP_ISTYPE_BITS (   x)    (GET_U_1(x)&0x3)

Definition at line 547 of file print-isoclns.c.

◆ ISIS_MASK_LSP_OL_BIT

#define ISIS_MASK_LSP_OL_BIT (   x)    (GET_U_1(x)&0x4)

Definition at line 546 of file print-isoclns.c.

◆ ISIS_MASK_LSP_PARTITION_BIT

#define ISIS_MASK_LSP_PARTITION_BIT (   x)    (GET_U_1(x)&0x80)

Definition at line 548 of file print-isoclns.c.

◆ ISIS_MASK_MTFLAGS

#define ISIS_MASK_MTFLAGS (   x)    ((x)&0xf000)

Definition at line 556 of file print-isoclns.c.

◆ ISIS_MASK_MTID

#define ISIS_MASK_MTID (   x)    ((x)&0x0fff)

Definition at line 555 of file print-isoclns.c.

◆ ISIS_MASK_TLV_EXTD_IP6_IE

#define ISIS_MASK_TLV_EXTD_IP6_IE (   x)    ((x)&0x40)

Definition at line 567 of file print-isoclns.c.

◆ ISIS_MASK_TLV_EXTD_IP6_SUBTLV

#define ISIS_MASK_TLV_EXTD_IP6_SUBTLV (   x)    ((x)&0x20)

Definition at line 568 of file print-isoclns.c.

◆ ISIS_MASK_TLV_EXTD_IP_SUBTLV

#define ISIS_MASK_TLV_EXTD_IP_SUBTLV (   x)    ((x)&0x40)

Definition at line 565 of file print-isoclns.c.

◆ ISIS_MASK_TLV_EXTD_IP_UPDOWN

#define ISIS_MASK_TLV_EXTD_IP_UPDOWN (   x)    ((x)&0x80)

Definition at line 564 of file print-isoclns.c.

◆ ISIS_MASK_TLV_SHARED_RISK_GROUP

#define ISIS_MASK_TLV_SHARED_RISK_GROUP (   x)    ((x)&0x1)

Definition at line 575 of file print-isoclns.c.

◆ ISIS_PDU_L1_CSNP

#define ISIS_PDU_L1_CSNP   24

Definition at line 77 of file print-isoclns.c.

◆ ISIS_PDU_L1_LAN_IIH

#define ISIS_PDU_L1_LAN_IIH   15

Definition at line 72 of file print-isoclns.c.

◆ ISIS_PDU_L1_LSP

#define ISIS_PDU_L1_LSP   18

Definition at line 75 of file print-isoclns.c.

◆ ISIS_PDU_L1_PSNP

#define ISIS_PDU_L1_PSNP   26

Definition at line 79 of file print-isoclns.c.

◆ ISIS_PDU_L2_CSNP

#define ISIS_PDU_L2_CSNP   25

Definition at line 78 of file print-isoclns.c.

◆ ISIS_PDU_L2_LAN_IIH

#define ISIS_PDU_L2_LAN_IIH   16

Definition at line 73 of file print-isoclns.c.

◆ ISIS_PDU_L2_LSP

#define ISIS_PDU_L2_LSP   20

Definition at line 76 of file print-isoclns.c.

◆ ISIS_PDU_L2_PSNP

#define ISIS_PDU_L2_PSNP   27

Definition at line 80 of file print-isoclns.c.

◆ ISIS_PDU_PTP_IIH

#define ISIS_PDU_PTP_IIH   17

Definition at line 74 of file print-isoclns.c.

◆ ISIS_PDU_TYPE_MASK

#define ISIS_PDU_TYPE_MASK   0x1F

Definition at line 66 of file print-isoclns.c.

◆ ISIS_PREFIX_SID_FLAG_E

#define ISIS_PREFIX_SID_FLAG_E   0x10 /* rfc 8667 */

Definition at line 424 of file print-isoclns.c.

◆ ISIS_PREFIX_SID_FLAG_L

#define ISIS_PREFIX_SID_FLAG_L   0x04 /* rfc 8667 */

Definition at line 426 of file print-isoclns.c.

◆ ISIS_PREFIX_SID_FLAG_N

#define ISIS_PREFIX_SID_FLAG_N   0x40 /* rfc 8667 */

Definition at line 422 of file print-isoclns.c.

◆ ISIS_PREFIX_SID_FLAG_P

#define ISIS_PREFIX_SID_FLAG_P   0x20 /* rfc 8667 */

Definition at line 423 of file print-isoclns.c.

◆ ISIS_PREFIX_SID_FLAG_R

#define ISIS_PREFIX_SID_FLAG_R   0x80 /* rfc 8667 */

Definition at line 421 of file print-isoclns.c.

◆ ISIS_PREFIX_SID_FLAG_V

#define ISIS_PREFIX_SID_FLAG_V   0x08 /* rfc 8667 */

Definition at line 425 of file print-isoclns.c.

◆ ISIS_PSNP_HEADER_SIZE

#define ISIS_PSNP_HEADER_SIZE   (sizeof(struct isis_psnp_header))

Definition at line 732 of file print-isoclns.c.

◆ ISIS_PTP_ADJ_DOWN

#define ISIS_PTP_ADJ_DOWN   2

Definition at line 613 of file print-isoclns.c.

◆ ISIS_PTP_ADJ_INIT

#define ISIS_PTP_ADJ_INIT   1

Definition at line 612 of file print-isoclns.c.

◆ ISIS_PTP_ADJ_UP

#define ISIS_PTP_ADJ_UP   0

Definition at line 611 of file print-isoclns.c.

◆ ISIS_SPB_MCID_LEN

#define ISIS_SPB_MCID_LEN   51

Definition at line 495 of file print-isoclns.c.

◆ ISIS_SUBTLV_AUTH_GENERIC

#define ISIS_SUBTLV_AUTH_GENERIC   3 /* rfc 5310 */

Definition at line 464 of file print-isoclns.c.

◆ ISIS_SUBTLV_AUTH_MD5

#define ISIS_SUBTLV_AUTH_MD5   54

Definition at line 465 of file print-isoclns.c.

◆ ISIS_SUBTLV_AUTH_MD5_LEN

#define ISIS_SUBTLV_AUTH_MD5_LEN   16

Definition at line 466 of file print-isoclns.c.

◆ ISIS_SUBTLV_AUTH_PRIVATE

#define ISIS_SUBTLV_AUTH_PRIVATE   255

Definition at line 467 of file print-isoclns.c.

◆ ISIS_SUBTLV_AUTH_SIMPLE

#define ISIS_SUBTLV_AUTH_SIMPLE   1

Definition at line 463 of file print-isoclns.c.

◆ ISIS_SUBTLV_EXT_IS_REACH_ADMIN_GROUP

#define ISIS_SUBTLV_EXT_IS_REACH_ADMIN_GROUP   3 /* rfc5305 */

Definition at line 364 of file print-isoclns.c.

◆ ISIS_SUBTLV_EXT_IS_REACH_BW_CONSTRAINTS

#define ISIS_SUBTLV_EXT_IS_REACH_BW_CONSTRAINTS   22 /* rfc4124 */

Definition at line 377 of file print-isoclns.c.

◆ ISIS_SUBTLV_EXT_IS_REACH_BW_CONSTRAINTS_OLD

#define ISIS_SUBTLV_EXT_IS_REACH_BW_CONSTRAINTS_OLD   12 /* draft-ietf-tewg-diff-te-proto-06 */

Definition at line 372 of file print-isoclns.c.

◆ ISIS_SUBTLV_EXT_IS_REACH_INTF_SW_CAP_DESCR

#define ISIS_SUBTLV_EXT_IS_REACH_INTF_SW_CAP_DESCR   21 /* rfc4205 */

Definition at line 376 of file print-isoclns.c.

◆ ISIS_SUBTLV_EXT_IS_REACH_IPV4_INTF_ADDR

#define ISIS_SUBTLV_EXT_IS_REACH_IPV4_INTF_ADDR   6 /* rfc5305 */

Definition at line 367 of file print-isoclns.c.

◆ ISIS_SUBTLV_EXT_IS_REACH_IPV4_NEIGHBOR_ADDR

#define ISIS_SUBTLV_EXT_IS_REACH_IPV4_NEIGHBOR_ADDR   8 /* rfc5305 */

Definition at line 368 of file print-isoclns.c.

◆ ISIS_SUBTLV_EXT_IS_REACH_LAN_ADJ_SEGMENT_ID

#define ISIS_SUBTLV_EXT_IS_REACH_LAN_ADJ_SEGMENT_ID   32 /* rfc8667 */

Definition at line 378 of file print-isoclns.c.

◆ ISIS_SUBTLV_EXT_IS_REACH_LINK_ATTRIBUTE

#define ISIS_SUBTLV_EXT_IS_REACH_LINK_ATTRIBUTE   19 /* draft-ietf-isis-link-attr-01 */

Definition at line 374 of file print-isoclns.c.

◆ ISIS_SUBTLV_EXT_IS_REACH_LINK_LOCAL_REMOTE_ID

#define ISIS_SUBTLV_EXT_IS_REACH_LINK_LOCAL_REMOTE_ID   4 /* rfc4205 */

Definition at line 365 of file print-isoclns.c.

◆ ISIS_SUBTLV_EXT_IS_REACH_LINK_PROTECTION_TYPE

#define ISIS_SUBTLV_EXT_IS_REACH_LINK_PROTECTION_TYPE   20 /* rfc4205 */

Definition at line 375 of file print-isoclns.c.

◆ ISIS_SUBTLV_EXT_IS_REACH_LINK_REMOTE_ID

#define ISIS_SUBTLV_EXT_IS_REACH_LINK_REMOTE_ID   5 /* rfc5305 */

Definition at line 366 of file print-isoclns.c.

◆ ISIS_SUBTLV_EXT_IS_REACH_MAX_LINK_BW

#define ISIS_SUBTLV_EXT_IS_REACH_MAX_LINK_BW   9 /* rfc5305 */

Definition at line 369 of file print-isoclns.c.

◆ ISIS_SUBTLV_EXT_IS_REACH_RESERVABLE_BW

#define ISIS_SUBTLV_EXT_IS_REACH_RESERVABLE_BW   10 /* rfc5305 */

Definition at line 370 of file print-isoclns.c.

◆ ISIS_SUBTLV_EXT_IS_REACH_TE_METRIC

#define ISIS_SUBTLV_EXT_IS_REACH_TE_METRIC   18 /* rfc5305 */

Definition at line 373 of file print-isoclns.c.

◆ ISIS_SUBTLV_EXT_IS_REACH_UNRESERVED_BW

#define ISIS_SUBTLV_EXT_IS_REACH_UNRESERVED_BW   11 /* rfc4124 */

Definition at line 371 of file print-isoclns.c.

◆ ISIS_SUBTLV_EXTD_IP_REACH_ADMIN_TAG32

#define ISIS_SUBTLV_EXTD_IP_REACH_ADMIN_TAG32   1 /* draft-ietf-isis-admin-tags-01 */

Definition at line 408 of file print-isoclns.c.

◆ ISIS_SUBTLV_EXTD_IP_REACH_ADMIN_TAG64

#define ISIS_SUBTLV_EXTD_IP_REACH_ADMIN_TAG64   2 /* draft-ietf-isis-admin-tags-01 */

Definition at line 409 of file print-isoclns.c.

◆ ISIS_SUBTLV_EXTD_IP_REACH_MGMT_PREFIX_COLOR

#define ISIS_SUBTLV_EXTD_IP_REACH_MGMT_PREFIX_COLOR   117 /* draft-ietf-isis-wg-multi-topology-05 */

Definition at line 411 of file print-isoclns.c.

◆ ISIS_SUBTLV_EXTD_IP_REACH_PREFIX_SID

#define ISIS_SUBTLV_EXTD_IP_REACH_PREFIX_SID   3 /* rfc8667 */

Definition at line 410 of file print-isoclns.c.

◆ ISIS_SUBTLV_IDRP_ASN

#define ISIS_SUBTLV_IDRP_ASN   2

Definition at line 479 of file print-isoclns.c.

◆ ISIS_SUBTLV_IDRP_LOCAL

#define ISIS_SUBTLV_IDRP_LOCAL   1

Definition at line 478 of file print-isoclns.c.

◆ ISIS_SUBTLV_IDRP_RES

#define ISIS_SUBTLV_IDRP_RES   0

Definition at line 477 of file print-isoclns.c.

◆ ISIS_SUBTLV_ROUTER_CAP_SR

#define ISIS_SUBTLV_ROUTER_CAP_SR   2 /* rfc 8667 */

Definition at line 351 of file print-isoclns.c.

◆ ISIS_SUBTLV_SPB_BVID

#define ISIS_SUBTLV_SPB_BVID   6

Definition at line 490 of file print-isoclns.c.

◆ ISIS_SUBTLV_SPB_BVID_MIN_LEN

#define ISIS_SUBTLV_SPB_BVID_MIN_LEN   6

Definition at line 498 of file print-isoclns.c.

◆ ISIS_SUBTLV_SPB_DIGEST

#define ISIS_SUBTLV_SPB_DIGEST   5

Definition at line 489 of file print-isoclns.c.

◆ ISIS_SUBTLV_SPB_DIGEST_MIN_LEN

#define ISIS_SUBTLV_SPB_DIGEST_MIN_LEN   33

Definition at line 497 of file print-isoclns.c.

◆ ISIS_SUBTLV_SPB_INSTANCE

#define ISIS_SUBTLV_SPB_INSTANCE   1

Definition at line 492 of file print-isoclns.c.

◆ ISIS_SUBTLV_SPB_INSTANCE_MIN_LEN

#define ISIS_SUBTLV_SPB_INSTANCE_MIN_LEN   19

Definition at line 499 of file print-isoclns.c.

◆ ISIS_SUBTLV_SPB_INSTANCE_VLAN_TUPLE_LEN

#define ISIS_SUBTLV_SPB_INSTANCE_VLAN_TUPLE_LEN   8

Definition at line 500 of file print-isoclns.c.

◆ ISIS_SUBTLV_SPB_MCID

#define ISIS_SUBTLV_SPB_MCID   4

Definition at line 488 of file print-isoclns.c.

◆ ISIS_SUBTLV_SPB_MCID_MIN_LEN

#define ISIS_SUBTLV_SPB_MCID_MIN_LEN   102

Definition at line 496 of file print-isoclns.c.

◆ ISIS_SUBTLV_SPB_METRIC

#define ISIS_SUBTLV_SPB_METRIC   29 /* rfc6329 */

Definition at line 380 of file print-isoclns.c.

◆ ISIS_SUBTLV_SPBM_SI

#define ISIS_SUBTLV_SPBM_SI   3

Definition at line 493 of file print-isoclns.c.

◆ ISIS_TLV_AREA_ADDR

#define ISIS_TLV_AREA_ADDR   1 /* iso10589 */

Definition at line 103 of file print-isoclns.c.

◆ ISIS_TLV_AUTH

#define ISIS_TLV_AUTH   10 /* iso10589, rfc3567 */

Definition at line 112 of file print-isoclns.c.

◆ ISIS_TLV_CHECKSUM

#define ISIS_TLV_CHECKSUM   12 /* rfc3358 */

Definition at line 113 of file print-isoclns.c.

◆ ISIS_TLV_CHECKSUM_MINLEN

#define ISIS_TLV_CHECKSUM_MINLEN   2

Definition at line 114 of file print-isoclns.c.

◆ ISIS_TLV_DECNET_PHASE4

#define ISIS_TLV_DECNET_PHASE4   42

Definition at line 119 of file print-isoclns.c.

◆ ISIS_TLV_ESNEIGH

#define ISIS_TLV_ESNEIGH   3 /* iso10589 */

Definition at line 105 of file print-isoclns.c.

◆ ISIS_TLV_EXT_IP_REACH

#define ISIS_TLV_EXT_IP_REACH   130 /* rfc1195, rfc2966 */

Definition at line 123 of file print-isoclns.c.

◆ ISIS_TLV_EXT_IS_REACH

#define ISIS_TLV_EXT_IS_REACH   22 /* rfc5305 */

Definition at line 117 of file print-isoclns.c.

◆ ISIS_TLV_EXTD_IP_REACH

#define ISIS_TLV_EXTD_IP_REACH   135 /* rfc5305 */

Definition at line 128 of file print-isoclns.c.

◆ ISIS_TLV_HOSTNAME

#define ISIS_TLV_HOSTNAME   137 /* rfc2763 */

Definition at line 129 of file print-isoclns.c.

◆ ISIS_TLV_IDRP_INFO

#define ISIS_TLV_IDRP_INFO   131 /* rfc1195 */

Definition at line 124 of file print-isoclns.c.

◆ ISIS_TLV_IIH_SEQNR

#define ISIS_TLV_IIH_SEQNR   241 /* draft-shen-isis-iih-sequence-00 */

Definition at line 145 of file print-isoclns.c.

◆ ISIS_TLV_INSTANCE_ID

#define ISIS_TLV_INSTANCE_ID   7 /* rfc8202 */

Definition at line 109 of file print-isoclns.c.

◆ ISIS_TLV_INT_IP_REACH

#define ISIS_TLV_INT_IP_REACH   128 /* rfc1195, rfc2966 */

Definition at line 121 of file print-isoclns.c.

◆ ISIS_TLV_IP6_REACH

#define ISIS_TLV_IP6_REACH   236 /* draft-ietf-isis-ipv6-02 */

Definition at line 142 of file print-isoclns.c.

◆ ISIS_TLV_IP6ADDR

#define ISIS_TLV_IP6ADDR   232 /* draft-ietf-isis-ipv6-02 */

Definition at line 140 of file print-isoclns.c.

◆ ISIS_TLV_IPADDR

#define ISIS_TLV_IPADDR   132 /* rfc1195 */

Definition at line 125 of file print-isoclns.c.

◆ ISIS_TLV_IPAUTH

#define ISIS_TLV_IPAUTH   133 /* rfc1195 */

Definition at line 126 of file print-isoclns.c.

◆ ISIS_TLV_IS_ALIAS_ID

#define ISIS_TLV_IS_ALIAS_ID   24 /* rfc5311 */

Definition at line 118 of file print-isoclns.c.

◆ ISIS_TLV_IS_REACH

#define ISIS_TLV_IS_REACH   2 /* iso10589 */

Definition at line 104 of file print-isoclns.c.

◆ ISIS_TLV_ISNEIGH

#define ISIS_TLV_ISNEIGH   6 /* iso10589 */

Definition at line 108 of file print-isoclns.c.

◆ ISIS_TLV_LSP

#define ISIS_TLV_LSP   9 /* iso10589 */

Definition at line 111 of file print-isoclns.c.

◆ ISIS_TLV_LSP_BUFFERSIZE

#define ISIS_TLV_LSP_BUFFERSIZE   14 /* iso10589 rev2 */

Definition at line 116 of file print-isoclns.c.

◆ ISIS_TLV_LUCENT_PRIVATE

#define ISIS_TLV_LUCENT_PRIVATE   66

Definition at line 120 of file print-isoclns.c.

◆ ISIS_TLV_MT_CAPABILITY

#define ISIS_TLV_MT_CAPABILITY   144 /* rfc6329 */

Definition at line 132 of file print-isoclns.c.

◆ ISIS_TLV_MT_IP6_REACH

#define ISIS_TLV_MT_IP6_REACH   237 /* draft-ietf-isis-wg-multi-topology-05 */

Definition at line 143 of file print-isoclns.c.

◆ ISIS_TLV_MT_IP_REACH

#define ISIS_TLV_MT_IP_REACH   235 /* draft-ietf-isis-wg-multi-topology-05 */

Definition at line 141 of file print-isoclns.c.

◆ ISIS_TLV_MT_IS_REACH

#define ISIS_TLV_MT_IS_REACH   222 /* draft-ietf-isis-wg-multi-topology-05 */

Definition at line 138 of file print-isoclns.c.

◆ ISIS_TLV_MT_PORT_CAP

#define ISIS_TLV_MT_PORT_CAP   143 /* rfc6165 */

Definition at line 131 of file print-isoclns.c.

◆ ISIS_TLV_MT_SUPPORTED

#define ISIS_TLV_MT_SUPPORTED   229 /* draft-ietf-isis-wg-multi-topology-05 */

Definition at line 139 of file print-isoclns.c.

◆ ISIS_TLV_NORTEL_PRIVATE1

#define ISIS_TLV_NORTEL_PRIVATE1   176

Definition at line 133 of file print-isoclns.c.

◆ ISIS_TLV_NORTEL_PRIVATE2

#define ISIS_TLV_NORTEL_PRIVATE2   177

Definition at line 134 of file print-isoclns.c.

◆ ISIS_TLV_PADDING

#define ISIS_TLV_PADDING   8 /* iso10589 */

Definition at line 110 of file print-isoclns.c.

◆ ISIS_TLV_PART_DIS

#define ISIS_TLV_PART_DIS   4 /* iso10589 */

Definition at line 106 of file print-isoclns.c.

◆ ISIS_TLV_POI

#define ISIS_TLV_POI   13 /* rfc6232 */

Definition at line 115 of file print-isoclns.c.

◆ ISIS_TLV_PREFIX_NEIGH

#define ISIS_TLV_PREFIX_NEIGH   5 /* iso10589 */

Definition at line 107 of file print-isoclns.c.

◆ ISIS_TLV_PROTOCOLS

#define ISIS_TLV_PROTOCOLS   129 /* rfc1195 */

Definition at line 122 of file print-isoclns.c.

◆ ISIS_TLV_PTP_ADJ

#define ISIS_TLV_PTP_ADJ   240 /* rfc3373 */

Definition at line 144 of file print-isoclns.c.

◆ ISIS_TLV_RESTART_SIGNALING

#define ISIS_TLV_RESTART_SIGNALING   211 /* rfc3847 */

Definition at line 135 of file print-isoclns.c.

◆ ISIS_TLV_RESTART_SIGNALING_FLAGLEN

#define ISIS_TLV_RESTART_SIGNALING_FLAGLEN   1

Definition at line 136 of file print-isoclns.c.

◆ ISIS_TLV_RESTART_SIGNALING_HOLDTIMELEN

#define ISIS_TLV_RESTART_SIGNALING_HOLDTIMELEN   2

Definition at line 137 of file print-isoclns.c.

◆ ISIS_TLV_ROUTER_CAPABILITY

#define ISIS_TLV_ROUTER_CAPABILITY   242 /* rfc7981 */

Definition at line 146 of file print-isoclns.c.

◆ ISIS_TLV_SHARED_RISK_GROUP

#define ISIS_TLV_SHARED_RISK_GROUP   138 /* draft-ietf-isis-gmpls-extensions */

Definition at line 130 of file print-isoclns.c.

◆ ISIS_TLV_TE_ROUTER_ID

#define ISIS_TLV_TE_ROUTER_ID   134 /* rfc5305 */

Definition at line 127 of file print-isoclns.c.

◆ ISIS_TLV_VENDOR_PRIVATE

#define ISIS_TLV_VENDOR_PRIVATE   250 /* draft-ietf-isis-experimental-tlv-01 */

Definition at line 147 of file print-isoclns.c.

◆ ISIS_TLV_VENDOR_PRIVATE_MINLEN

#define ISIS_TLV_VENDOR_PRIVATE_MINLEN   3

Definition at line 148 of file print-isoclns.c.

◆ ISIS_VERSION

#define ISIS_VERSION   1

Definition at line 62 of file print-isoclns.c.

◆ LSP_ID_LEN

#define LSP_ID_LEN   (SYSTEM_ID_LEN+2)

Definition at line 60 of file print-isoclns.c.

◆ NODE_ID_LEN

#define NODE_ID_LEN   (SYSTEM_ID_LEN+1)

Definition at line 59 of file print-isoclns.c.

◆ SYSTEM_ID_LEN

#define SYSTEM_ID_LEN   MAC_ADDR_LEN

Definition at line 58 of file print-isoclns.c.

Function Documentation

◆ clnp_print()

◆ esis_print()

◆ isis_clear_checksum_lifetime()

static void isis_clear_checksum_lifetime ( void *  header)
static

Definition at line 2451 of file print-isoclns.c.

References isis_lsp_header::checksum, and isis_lsp_header::remaining_lifetime.

Referenced by isis_print().

◆ isis_print()

static int isis_print ( netdissect_options ndo,
const uint8_t *  p,
u_int  length 
)
static

Definition at line 2475 of file print-isoclns.c.

References AF_INET6, bittok2str(), isis_lsp_header::checksum, isis_tlv_lsp::checksum, isis_iih_ptp_header::circuit_id, isis_iih_lan_header::circuit_type, isis_iih_ptp_header::circuit_type, isis_csnp_header::end_lsp_id, isis_tlv_ptp_adj::extd_local_circuit_id, isis_common_header::fixed_len, GET_BE_U_2, GET_BE_U_3, GET_BE_U_4, GET_IP6ADDR_STRING, GET_IPADDR_STRING, GET_ISONSAP_STRING, GET_U_1, isis_iih_lan_header::holding_time, isis_iih_ptp_header::holding_time, isis_common_header::id_length, INVALID_OR_DECREMENT, isis_clear_checksum_lifetime(), ISIS_COMMON_HEADER_SIZE, ISIS_CSNP_HEADER_SIZE, isis_iih_circuit_type_values, ISIS_IIH_LAN_HEADER_SIZE, ISIS_IIH_PTP_HEADER_SIZE, isis_is_reach_virtual_values, ISIS_LAN_PRIORITY_MASK, ISIS_LSP_HEADER_SIZE, isis_lsp_istype_values, ISIS_MASK_LSP_ATT_BITS, ISIS_MASK_LSP_ATT_DEFAULT_BIT, ISIS_MASK_LSP_ATT_DELAY_BIT, ISIS_MASK_LSP_ATT_ERROR_BIT, ISIS_MASK_LSP_ATT_EXPENSE_BIT, ISIS_MASK_LSP_ISTYPE_BITS, ISIS_MASK_LSP_OL_BIT, ISIS_MASK_LSP_PARTITION_BIT, ISIS_MASK_TLV_SHARED_RISK_GROUP, isis_tlv_is_reach::isis_metric_block, isis_tlv_es_reach::isis_metric_block, ISIS_PDU_L1_CSNP, ISIS_PDU_L1_LAN_IIH, ISIS_PDU_L1_LSP, ISIS_PDU_L1_PSNP, ISIS_PDU_L2_CSNP, ISIS_PDU_L2_LAN_IIH, ISIS_PDU_L2_LSP, ISIS_PDU_L2_PSNP, ISIS_PDU_PTP_IIH, isis_pdu_values, isis_print_ext_is_reach(), isis_print_extd_ip_reach(), isis_print_id(), isis_print_metric_block(), isis_print_mt_capability_subtlv(), isis_print_mt_port_cap_subtlv(), isis_print_mtid(), isis_print_router_cap_subtlv(), isis_print_tlv_ip_reach(), ISIS_PSNP_HEADER_SIZE, isis_ptp_adjancey_values, isis_restart_flag_values, ISIS_SUBTLV_AUTH_GENERIC, ISIS_SUBTLV_AUTH_MD5, ISIS_SUBTLV_AUTH_MD5_LEN, ISIS_SUBTLV_AUTH_PRIVATE, ISIS_SUBTLV_AUTH_SIMPLE, isis_subtlv_auth_values, ISIS_SUBTLV_IDRP_ASN, ISIS_SUBTLV_IDRP_LOCAL, ISIS_SUBTLV_IDRP_RES, isis_subtlv_idrp_values, ISIS_TLV_AREA_ADDR, ISIS_TLV_AUTH, ISIS_TLV_CHECKSUM, ISIS_TLV_CHECKSUM_MINLEN, ISIS_TLV_DECNET_PHASE4, ISIS_TLV_ESNEIGH, ISIS_TLV_EXT_IP_REACH, ISIS_TLV_EXT_IS_REACH, ISIS_TLV_EXTD_IP_REACH, ISIS_TLV_HOSTNAME, ISIS_TLV_IDRP_INFO, ISIS_TLV_IIH_SEQNR, ISIS_TLV_INSTANCE_ID, ISIS_TLV_INT_IP_REACH, ISIS_TLV_IP6_REACH, ISIS_TLV_IP6ADDR, ISIS_TLV_IPADDR, ISIS_TLV_IPAUTH, ISIS_TLV_IS_ALIAS_ID, ISIS_TLV_IS_REACH, ISIS_TLV_ISNEIGH, ISIS_TLV_LSP, ISIS_TLV_LSP_BUFFERSIZE, ISIS_TLV_LUCENT_PRIVATE, ISIS_TLV_MT_CAPABILITY, ISIS_TLV_MT_IP6_REACH, ISIS_TLV_MT_IP_REACH, ISIS_TLV_MT_IS_REACH, ISIS_TLV_MT_PORT_CAP, ISIS_TLV_MT_SUPPORTED, ISIS_TLV_NORTEL_PRIVATE1, ISIS_TLV_NORTEL_PRIVATE2, ISIS_TLV_PADDING, ISIS_TLV_PART_DIS, ISIS_TLV_POI, ISIS_TLV_PREFIX_NEIGH, ISIS_TLV_PROTOCOLS, ISIS_TLV_PTP_ADJ, ISIS_TLV_RESTART_SIGNALING, ISIS_TLV_RESTART_SIGNALING_FLAGLEN, ISIS_TLV_RESTART_SIGNALING_HOLDTIMELEN, ISIS_TLV_ROUTER_CAPABILITY, isis_tlv_router_capability_flags, ISIS_TLV_SHARED_RISK_GROUP, ISIS_TLV_TE_ROUTER_ID, isis_tlv_values, ISIS_TLV_VENDOR_PRIVATE, ISIS_VERSION, isis_iih_lan_header::lan_id, isis_lsp_header::lsp_id, isis_tlv_lsp::lsp_id, LSP_ID_LEN, MAC_ADDR_LEN, isis_common_header::max_area, ND_PRINT, nd_print_invalid(), nd_print_trunc(), nd_printjnp(), ND_TCHECK_1, ND_TCHECK_2, ND_TCHECK_LEN, ND_TCHECK_SIZE, netdissect_options::ndo_eflag, netdissect_options::ndo_protocol, netdissect_options::ndo_vflag, isis_tlv_ptp_adj::neighbor_extd_local_circuit_id, isis_tlv_is_reach::neighbor_nodeid, isis_tlv_ptp_adj::neighbor_sysid, isis_tlv_es_reach::neighbor_sysid, nlpid_values, NODE_ID_LEN, osi_print_cksum(), oui_values, isis_iih_lan_header::pdu_len, isis_iih_ptp_header::pdu_len, isis_lsp_header::pdu_len, isis_csnp_header::pdu_len, isis_psnp_header::pdu_len, isis_common_header::pdu_type, isis_common_header::pdu_version, print_unknown_data(), isis_iih_lan_header::priority, isis_lsp_header::remaining_lifetime, isis_tlv_lsp::remaining_lifetime, isis_lsp_header::sequence_number, isis_tlv_lsp::sequence_number, signature_check_values, signature_verify(), isis_csnp_header::source_id, isis_psnp_header::source_id, isis_iih_lan_header::source_id, isis_iih_ptp_header::source_id, isis_csnp_header::start_lsp_id, SYSTEM_ID_LEN, tok2str(), isis_lsp_header::typeblock, version, and isis_common_header::version.

◆ isis_print_ext_is_reach()

◆ isis_print_extd_ip_reach()

static u_int isis_print_extd_ip_reach ( netdissect_options ndo,
const uint8_t *  tptr,
const char *  ident,
uint16_t  afi 
)
static

◆ isis_print_id()

static char* isis_print_id ( netdissect_options ndo,
const uint8_t *  cp,
u_int  id_len 
)
static

Definition at line 1752 of file print-isoclns.c.

References GET_U_1, LSP_ID_LEN, NODE_ID_LEN, snprintf(), and SYSTEM_ID_LEN.

Referenced by isis_print(), and isis_print_ext_is_reach().

◆ isis_print_ip_reach_subtlv()

◆ isis_print_mcid()

◆ isis_print_metric_block()

◆ isis_print_mt_capability_subtlv()

static int isis_print_mt_capability_subtlv ( netdissect_options ndo,
const uint8_t *  tptr,
u_int  len 
)
static

◆ isis_print_mt_port_cap_subtlv()

◆ isis_print_mtid()

static uint8_t isis_print_mtid ( netdissect_options ndo,
const uint8_t *  tptr,
const char *  ident,
u_int  tlv_remaining 
)
static

◆ isis_print_router_cap_subtlv()

static void isis_print_router_cap_subtlv ( netdissect_options ndo,
const uint8_t *  tptr,
uint8_t  tlen 
)
static

◆ isis_print_tlv_ip_reach()

◆ isoclns_print()

void isoclns_print ( netdissect_options ndo,
const u_char *  p,
u_int  length 
)

◆ osi_print_cksum()

static void osi_print_cksum ( netdissect_options ndo,
const uint8_t *  pptr,
uint16_t  checksum,
int  checksum_offset,
u_int  length 
)
static

Definition at line 3535 of file print-isoclns.c.

References create_osi_cksum(), ND_PRINT, ND_TTEST_2, and ND_TTEST_LEN.

Referenced by clnp_print(), esis_print(), and isis_print().

Variable Documentation

◆ clnp_flag_values

const struct tok clnp_flag_values[]
static
Initial value:
= {
{ 0x80 , "Segmentation permitted"},
{ 0x40 , "more Segments"},
{ 0x20 , "request Error Report"},
{ 0, NULL}
}

Definition at line 291 of file print-isoclns.c.

Referenced by clnp_print().

◆ clnp_option_qos_global_values

const struct tok clnp_option_qos_global_values[]
static
Initial value:
= {
{ 0x20, "reserved"},
{ 0x10, "sequencing vs. delay"},
{ 0x08, "congested"},
{ 0x04, "delay vs. cost"},
{ 0x02, "error vs. delay"},
{ 0x01, "error vs. cost"},
{ 0, NULL }
}

Definition at line 291 of file print-isoclns.c.

Referenced by clnp_print().

◆ clnp_option_rfd_address_values

const struct tok clnp_option_rfd_address_values[]
static
Initial value:
= {
{ 0x0, "Destination address unreachable"},
{ 0x1, "Destination address unknown"},
{ 0, NULL }
}

Definition at line 1 of file print-isoclns.c.

◆ clnp_option_rfd_class_values

const struct tok clnp_option_rfd_class_values[]
static
Initial value:
= {
{ 0x0, "General"},
{ 0x8, "Address"},
{ 0x9, "Source Routeing"},
{ 0xa, "Lifetime"},
{ 0xb, "PDU Discarded"},
{ 0xc, "Reassembly"},
{ 0, NULL }
}

Definition at line 1 of file print-isoclns.c.

Referenced by clnp_print().

◆ clnp_option_rfd_error_class

const struct tok* clnp_option_rfd_error_class[]
static
Initial value:
= {
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL
}
static const struct tok clnp_option_rfd_general_values[]
static const struct tok clnp_option_rfd_source_routeing_values[]
static const struct tok clnp_option_rfd_pdu_discard_values[]
static const struct tok clnp_option_rfd_lifetime_values[]
static const struct tok clnp_option_rfd_reassembly_values[]
static const struct tok clnp_option_rfd_address_values[]

Definition at line 291 of file print-isoclns.c.

Referenced by clnp_print().

◆ clnp_option_rfd_general_values

const struct tok clnp_option_rfd_general_values[]
static
Initial value:
= {
{ 0x0, "Reason not specified"},
{ 0x1, "Protocol procedure error"},
{ 0x2, "Incorrect checksum"},
{ 0x3, "PDU discarded due to congestion"},
{ 0x4, "Header syntax error (cannot be parsed)"},
{ 0x5, "Segmentation needed but not permitted"},
{ 0x6, "Incomplete PDU received"},
{ 0x7, "Duplicate option"},
{ 0, NULL }
}

Definition at line 1 of file print-isoclns.c.

◆ clnp_option_rfd_lifetime_values

const struct tok clnp_option_rfd_lifetime_values[]
static
Initial value:
= {
{ 0x0, "Lifetime expired while data unit in transit"},
{ 0x1, "Lifetime expired during reassembly"},
{ 0, NULL }
}

Definition at line 1 of file print-isoclns.c.

◆ clnp_option_rfd_pdu_discard_values

const struct tok clnp_option_rfd_pdu_discard_values[]
static
Initial value:
= {
{ 0x0, "Unsupported option not specified"},
{ 0x1, "Unsupported protocol version"},
{ 0x2, "Unsupported security option"},
{ 0x3, "Unsupported source routeing option"},
{ 0x4, "Unsupported recording of route option"},
{ 0, NULL }
}

Definition at line 1 of file print-isoclns.c.

◆ clnp_option_rfd_reassembly_values

const struct tok clnp_option_rfd_reassembly_values[]
static
Initial value:
= {
{ 0x0, "Reassembly interference"},
{ 0, NULL }
}

Definition at line 1 of file print-isoclns.c.

◆ clnp_option_rfd_source_routeing_values

const struct tok clnp_option_rfd_source_routeing_values[]
static
Initial value:
= {
{ 0x0, "Unspecified source routeing error"},
{ 0x1, "Syntax error in source routeing field"},
{ 0x2, "Unknown address in source routeing field"},
{ 0x3, "Path not acceptable"},
{ 0, NULL }
}

Definition at line 1 of file print-isoclns.c.

◆ clnp_option_scope_values

const struct tok clnp_option_scope_values[]
static
Initial value:
= {
{ 0x40 , "Source Address Specific"},
{ 0x80 , "Destination Address Specific"},
{ 0xc0 , "Globally unique"},
{ 0, NULL }
}

Definition at line 291 of file print-isoclns.c.

Referenced by clnp_print().

◆ clnp_option_sr_rr_string_values

const struct tok clnp_option_sr_rr_string_values[]
static
Initial value:
= {
{ 200 , "source routing"},
{ 203 , "recording of route in progress"},
{ 0, NULL }
}

Definition at line 291 of file print-isoclns.c.

Referenced by clnp_print().

◆ clnp_option_sr_rr_values

const struct tok clnp_option_sr_rr_values[]
static
Initial value:
= {
{ 0x0, "partial"},
{ 0x1, "complete"},
{ 0, NULL }
}

Definition at line 291 of file print-isoclns.c.

Referenced by clnp_print().

◆ clnp_option_values

const struct tok clnp_option_values[]
static
Initial value:
= {
{ 193 , "Discard Reason"},
{ 205 , "Priority"},
{ 195 , "QoS Maintenance"},
{ 197 , "Security"},
{ 200 , "Source Routing"},
{ 203 , "Route Recording"},
{ 204 , "Padding"},
{ 0, NULL }
}

Definition at line 1 of file print-isoclns.c.

Referenced by clnp_print().

◆ clnp_pdu_values

const struct tok clnp_pdu_values[]
static
Initial value:
= {
{ 1 , "Error Report"},
{ 29 , "MD"},
{ 28 , "Data"},
{ 30 , "Echo Request"},
{ 31 , "Echo Response"},
{ 0, NULL }
}

Definition at line 735 of file print-isoclns.c.

Referenced by clnp_print().

◆ esis_option_values

const struct tok esis_option_values[]
static
Initial value:
= {
{ 129 , "Protocols supported"},
{ 195 , "QoS Maintenance" },
{ 197 , "Security" },
{ 198 , "ES Configuration Time" },
{ 205 , "Priority" },
{ 225 , "Addressk Mask" },
{ 226 , "SNPA Mask" },
{ 0, NULL }
}

Definition at line 1 of file print-isoclns.c.

Referenced by esis_print().

◆ esis_pdu_values

const struct tok esis_pdu_values[]
static
Initial value:
= {
{ 6 , "redirect"},
{ 2 , "ESH"},
{ 4 , "ISH"},
{ 0, NULL }
}

Definition at line 827 of file print-isoclns.c.

Referenced by esis_print().

◆ isis_ext_ip_reach_subtlv_values

const struct tok isis_ext_ip_reach_subtlv_values[]
static
Initial value:
= {
{ 1 , "32-Bit Administrative tag" },
{ 2 , "64-Bit Administrative tag" },
{ 3 , "Prefix SID" },
{ 117 , "Management Prefix Color" },
{ 0, NULL }
}

Definition at line 291 of file print-isoclns.c.

Referenced by isis_print_ip_reach_subtlv().

◆ isis_ext_is_reach_subtlv_values

const struct tok isis_ext_is_reach_subtlv_values[]
static
Initial value:
= {
{ 3 , "Administrative groups" },
{ 4 , "Link Local/Remote Identifier" },
{ 5 , "Link Remote Identifier" },
{ 6 , "IPv4 interface address" },
{ 8 , "IPv4 neighbor address" },
{ 9 , "Maximum link bandwidth" },
{ 10 , "Reservable link bandwidth" },
{ 11 , "Unreserved bandwidth" },
{ 18 , "Traffic Engineering Metric" },
{ 19 , "Link Attribute" },
{ 20 , "Link Protection Type" },
{ 21 , "Interface Switching Capability" },
{ 12 , "Bandwidth Constraints (old)" },
{ 22 , "Bandwidth Constraints" },
{ 32 , "LAN Adjacency Segment Identifier" },
{ 29 , "SPB Metric" },
{ 250, "Reserved for cisco specific extensions" },
{ 251, "Reserved for cisco specific extensions" },
{ 252, "Reserved for cisco specific extensions" },
{ 253, "Reserved for cisco specific extensions" },
{ 254, "Reserved for cisco specific extensions" },
{ 255, "Reserved for future expansion" },
{ 0, NULL }
}

Definition at line 291 of file print-isoclns.c.

Referenced by isis_print_ext_is_reach().

◆ isis_iih_circuit_type_values

const struct tok isis_iih_circuit_type_values[]
static
Initial value:
= {
{ 1, "Level 1 only"},
{ 2, "Level 2 only"},
{ 3, "Level 1, Level 2"},
{ 0, NULL}
}

Definition at line 291 of file print-isoclns.c.

Referenced by isis_print().

◆ isis_is_reach_virtual_values

const struct tok isis_is_reach_virtual_values[]
static
Initial value:
= {
{ 0, "IsNotVirtual"},
{ 1, "IsVirtual"},
{ 0, NULL }
}

Definition at line 633 of file print-isoclns.c.

Referenced by isis_print().

◆ isis_lan_adj_sid_flag_values

const struct tok isis_lan_adj_sid_flag_values[]
static
Initial value:
= {
{ 0x80, "Address family IPv6" },
{ 0x40, "Backup" },
{ 0x20, "Value" },
{ 0x10, "Local significance" },
{ 0x08, "Set of adjacencies" },
{ 0x04, "Persistent" },
{ 0, NULL }
}

Definition at line 291 of file print-isoclns.c.

Referenced by isis_print_ext_is_reach().

◆ isis_lsp_istype_values

const struct tok isis_lsp_istype_values[]
static
Initial value:
= {
{ 0 , "Unused 0x0 (invalid)"},
{ 1 , "L1 IS"},
{ 2 , "Unused 0x2 (invalid)"},
{ 3 , "L2 IS"},
{ 0, NULL }
}

Definition at line 291 of file print-isoclns.c.

Referenced by isis_print().

◆ isis_mt_capability_subtlv_values

const struct tok isis_mt_capability_subtlv_values[]
static
Initial value:
= {
{ 1 , "SPB Instance" },
{ 3 , "SPBM Service Identifier and Unicast Address" },
{ 0, NULL }
}

Definition at line 291 of file print-isoclns.c.

Referenced by isis_print_mt_capability_subtlv().

◆ isis_mt_flag_values

const struct tok isis_mt_flag_values[]
static
Initial value:
= {
{ 0x4000, "ATT bit set"},
{ 0x8000, "Overload bit set"},
{ 0, NULL}
}

Definition at line 291 of file print-isoclns.c.

Referenced by isis_print_mtid().

◆ isis_mt_port_cap_subtlv_values

const struct tok isis_mt_port_cap_subtlv_values[]
static
Initial value:
= {
{ 4 , "SPB MCID" },
{ 5 , "SPB Digest" },
{ 6 , "SPB BVID" },
{ 0, NULL }
}

Definition at line 291 of file print-isoclns.c.

Referenced by isis_print_mt_port_cap_subtlv().

◆ isis_mt_values

const struct tok isis_mt_values[]
static
Initial value:
= {
{ 0, "IPv4 unicast"},
{ 1, "In-Band Management"},
{ 2, "IPv6 unicast"},
{ 3, "Multicast"},
{ 4095, "Development, Experimental or Proprietary"},
{ 0, NULL }
}

Definition at line 291 of file print-isoclns.c.

Referenced by isis_print_mtid().

◆ isis_pdu_values

const struct tok isis_pdu_values[]
static
Initial value:
= {
{ 15 , "L1 Lan IIH"},
{ 16 , "L2 Lan IIH"},
{ 17 , "p2p IIH"},
{ 18 , "L1 LSP"},
{ 20 , "L2 LSP"},
{ 24 , "L1 CSNP"},
{ 25 , "L2 CSNP"},
{ 26 , "L1 PSNP"},
{ 27 , "L2 PSNP"},
{ 0, NULL}
}

Definition at line 1 of file print-isoclns.c.

Referenced by isis_print().

◆ isis_ptp_adjancey_values

const struct tok isis_ptp_adjancey_values[]
static
Initial value:
= {
{ 0 , "Up" },
{ 1 , "Initializing" },
{ 2 , "Down" },
{ 0, NULL}
}

Definition at line 291 of file print-isoclns.c.

Referenced by isis_print().

◆ isis_restart_flag_values

const struct tok isis_restart_flag_values[]
static
Initial value:
= {
{ 0x1, "Restart Request"},
{ 0x2, "Restart Acknowledgement"},
{ 0x4, "Suppress adjacency advertisement"},
{ 0, NULL }
}

Definition at line 633 of file print-isoclns.c.

Referenced by isis_print().

◆ isis_router_capability_sr_flags

const struct tok isis_router_capability_sr_flags[]
static
Initial value:
= {
{ 0x80, "ipv4"},
{ 0x40, "ipv6"},
{ 0, NULL }
}

Definition at line 291 of file print-isoclns.c.

Referenced by isis_print_router_cap_subtlv().

◆ isis_router_capability_subtlv_values

const struct tok isis_router_capability_subtlv_values[]
static
Initial value:
= {
{ 2 , "SR-Capabilities"},
{ 0, NULL }
}

Definition at line 291 of file print-isoclns.c.

Referenced by isis_print_router_cap_subtlv().

◆ isis_subtlv_auth_values

const struct tok isis_subtlv_auth_values[]
static
Initial value:
= {
{ 1 , "simple text password"},
{ 3 , "Generic Crypto key-id"},
{ 54 , "HMAC-MD5 password"},
{ 255 , "Routing Domain private password"},
{ 0, NULL }
}

Definition at line 291 of file print-isoclns.c.

Referenced by isis_print().

◆ isis_subtlv_idrp_values

const struct tok isis_subtlv_idrp_values[]
static
Initial value:
= {
{ 0 , "Reserved"},
{ 1 , "Routing-Domain Specific"},
{ 2 , "AS Number Tag"},
{ 0, NULL}
}

Definition at line 291 of file print-isoclns.c.

Referenced by isis_print().

◆ isis_subtlv_link_attribute_values

const struct tok isis_subtlv_link_attribute_values[]
static
Initial value:
= {
{ 0x01, "Local Protection Available" },
{ 0x02, "Link excluded from local protection path" },
{ 0x04, "Local maintenance required"},
{ 0, NULL }
}

Definition at line 291 of file print-isoclns.c.

Referenced by isis_print_ext_is_reach().

◆ isis_tlv_router_capability_flags

const struct tok isis_tlv_router_capability_flags[]
static
Initial value:
= {
{ 0x01, "S bit"},
{ 0x02, "D bit"},
{ 0, NULL }
}

Definition at line 291 of file print-isoclns.c.

Referenced by isis_print().

◆ isis_tlv_values

const struct tok isis_tlv_values[]
static

Definition at line 1 of file print-isoclns.c.

Referenced by isis_print().

◆ prefix_sid_algo_values

const struct tok prefix_sid_algo_values[]
static
Initial value:
= {
{ 0, "SPF"},
{ 1, "strict-SPF"},
{ 0, NULL}
}

Definition at line 291 of file print-isoclns.c.

Referenced by isis_print_ip_reach_subtlv().

◆ prefix_sid_flag_values

const struct tok prefix_sid_flag_values[]
static
Initial value:
= {
{ 0x80 , "Readvertisement"},
{ 0x40 , "Node"},
{ 0x20 , "No-PHP"},
{ 0x10 , "Explicit NULL"},
{ 0x08 , "Value"},
{ 0x04 , "Local"},
{ 0, NULL}
}

Definition at line 291 of file print-isoclns.c.

Referenced by isis_print_ip_reach_subtlv().