Lines Matching refs:tlv_ip_reach

1606 	const struct isis_tlv_ip_reach *tlv_ip_reach;  in isis_print_tlv_ip_reach()  local
1608 tlv_ip_reach = (const struct isis_tlv_ip_reach *)cp; in isis_print_tlv_ip_reach()
1611 if ((size_t)length < sizeof(*tlv_ip_reach)) { in isis_print_tlv_ip_reach()
1614 (unsigned long)sizeof(*tlv_ip_reach)); in isis_print_tlv_ip_reach()
1618 if (!TTEST(*tlv_ip_reach)) in isis_print_tlv_ip_reach()
1621 prefix_len = mask2plen(EXTRACT_32BITS(tlv_ip_reach->mask)); in isis_print_tlv_ip_reach()
1626 ipaddr_string((tlv_ip_reach->prefix)), in isis_print_tlv_ip_reach()
1627 ipaddr_string((tlv_ip_reach->mask))); in isis_print_tlv_ip_reach()
1631 ipaddr_string((tlv_ip_reach->prefix)), in isis_print_tlv_ip_reach()
1635 … ISIS_LSP_TLV_METRIC_UPDOWN(tlv_ip_reach->isis_metric_block.metric_default) ? "down" : "up", in isis_print_tlv_ip_reach()
1636 ISIS_LSP_TLV_METRIC_VALUE(tlv_ip_reach->isis_metric_block.metric_default), in isis_print_tlv_ip_reach()
1637 … ISIS_LSP_TLV_METRIC_IE(tlv_ip_reach->isis_metric_block.metric_default) ? "External" : "Internal"); in isis_print_tlv_ip_reach()
1639 if (!ISIS_LSP_TLV_METRIC_SUPPORTED(tlv_ip_reach->isis_metric_block.metric_delay)) in isis_print_tlv_ip_reach()
1642 ISIS_LSP_TLV_METRIC_VALUE(tlv_ip_reach->isis_metric_block.metric_delay), in isis_print_tlv_ip_reach()
1643 … ISIS_LSP_TLV_METRIC_IE(tlv_ip_reach->isis_metric_block.metric_delay) ? "External" : "Internal"); in isis_print_tlv_ip_reach()
1645 if (!ISIS_LSP_TLV_METRIC_SUPPORTED(tlv_ip_reach->isis_metric_block.metric_expense)) in isis_print_tlv_ip_reach()
1648 … ISIS_LSP_TLV_METRIC_VALUE(tlv_ip_reach->isis_metric_block.metric_expense), in isis_print_tlv_ip_reach()
1649 … ISIS_LSP_TLV_METRIC_IE(tlv_ip_reach->isis_metric_block.metric_expense) ? "External" : "Internal"); in isis_print_tlv_ip_reach()
1651 if (!ISIS_LSP_TLV_METRIC_SUPPORTED(tlv_ip_reach->isis_metric_block.metric_error)) in isis_print_tlv_ip_reach()
1654 ISIS_LSP_TLV_METRIC_VALUE(tlv_ip_reach->isis_metric_block.metric_error), in isis_print_tlv_ip_reach()
1655 … ISIS_LSP_TLV_METRIC_IE(tlv_ip_reach->isis_metric_block.metric_error) ? "External" : "Internal"); in isis_print_tlv_ip_reach()
1658 tlv_ip_reach++; in isis_print_tlv_ip_reach()