Lines Matching refs:tlv_ip_reach
1596 const struct isis_tlv_ip_reach *tlv_ip_reach; in isis_print_tlv_ip_reach() local
1598 tlv_ip_reach = (const struct isis_tlv_ip_reach *)cp; in isis_print_tlv_ip_reach()
1601 if ((size_t)length < sizeof(*tlv_ip_reach)) { in isis_print_tlv_ip_reach()
1604 (unsigned long)sizeof(*tlv_ip_reach))); in isis_print_tlv_ip_reach()
1608 if (!ND_TTEST(*tlv_ip_reach)) in isis_print_tlv_ip_reach()
1611 prefix_len = mask2plen(EXTRACT_32BITS(tlv_ip_reach->mask)); in isis_print_tlv_ip_reach()
1616 ipaddr_string(ndo, (tlv_ip_reach->prefix)), in isis_print_tlv_ip_reach()
1617 ipaddr_string(ndo, (tlv_ip_reach->mask)))); in isis_print_tlv_ip_reach()
1621 ipaddr_string(ndo, (tlv_ip_reach->prefix)), in isis_print_tlv_ip_reach()
1625 … ISIS_LSP_TLV_METRIC_UPDOWN(tlv_ip_reach->isis_metric_block.metric_default) ? "down" : "up", in isis_print_tlv_ip_reach()
1626 ISIS_LSP_TLV_METRIC_VALUE(tlv_ip_reach->isis_metric_block.metric_default), in isis_print_tlv_ip_reach()
1627 …ISIS_LSP_TLV_METRIC_IE(tlv_ip_reach->isis_metric_block.metric_default) ? "External" : "Internal")); in isis_print_tlv_ip_reach()
1629 if (!ISIS_LSP_TLV_METRIC_SUPPORTED(tlv_ip_reach->isis_metric_block.metric_delay)) in isis_print_tlv_ip_reach()
1632 ISIS_LSP_TLV_METRIC_VALUE(tlv_ip_reach->isis_metric_block.metric_delay), in isis_print_tlv_ip_reach()
1633 … ISIS_LSP_TLV_METRIC_IE(tlv_ip_reach->isis_metric_block.metric_delay) ? "External" : "Internal")); in isis_print_tlv_ip_reach()
1635 if (!ISIS_LSP_TLV_METRIC_SUPPORTED(tlv_ip_reach->isis_metric_block.metric_expense)) in isis_print_tlv_ip_reach()
1638 … ISIS_LSP_TLV_METRIC_VALUE(tlv_ip_reach->isis_metric_block.metric_expense), in isis_print_tlv_ip_reach()
1639 …ISIS_LSP_TLV_METRIC_IE(tlv_ip_reach->isis_metric_block.metric_expense) ? "External" : "Internal")); in isis_print_tlv_ip_reach()
1641 if (!ISIS_LSP_TLV_METRIC_SUPPORTED(tlv_ip_reach->isis_metric_block.metric_error)) in isis_print_tlv_ip_reach()
1644 ISIS_LSP_TLV_METRIC_VALUE(tlv_ip_reach->isis_metric_block.metric_error), in isis_print_tlv_ip_reach()
1645 … ISIS_LSP_TLV_METRIC_IE(tlv_ip_reach->isis_metric_block.metric_error) ? "External" : "Internal")); in isis_print_tlv_ip_reach()
1648 tlv_ip_reach++; in isis_print_tlv_ip_reach()