Lines Matching refs:tlv_ip_reach

1698 	const struct isis_tlv_ip_reach *tlv_ip_reach;  in isis_print_tlv_ip_reach()  local
1700 tlv_ip_reach = (const struct isis_tlv_ip_reach *)cp; in isis_print_tlv_ip_reach()
1703 if ((size_t)length < sizeof(*tlv_ip_reach)) { in isis_print_tlv_ip_reach()
1706 (unsigned long)sizeof(*tlv_ip_reach))); in isis_print_tlv_ip_reach()
1710 if (!ND_TTEST(*tlv_ip_reach)) in isis_print_tlv_ip_reach()
1713 prefix_len = mask2plen(EXTRACT_32BITS(tlv_ip_reach->mask)); in isis_print_tlv_ip_reach()
1718 ipaddr_string(ndo, (tlv_ip_reach->prefix)), in isis_print_tlv_ip_reach()
1719 ipaddr_string(ndo, (tlv_ip_reach->mask)))); in isis_print_tlv_ip_reach()
1723 ipaddr_string(ndo, (tlv_ip_reach->prefix)), in isis_print_tlv_ip_reach()
1727 … ISIS_LSP_TLV_METRIC_UPDOWN(tlv_ip_reach->isis_metric_block.metric_default) ? "down" : "up", in isis_print_tlv_ip_reach()
1728 ISIS_LSP_TLV_METRIC_VALUE(tlv_ip_reach->isis_metric_block.metric_default), in isis_print_tlv_ip_reach()
1729 …ISIS_LSP_TLV_METRIC_IE(tlv_ip_reach->isis_metric_block.metric_default) ? "External" : "Internal")); in isis_print_tlv_ip_reach()
1731 if (!ISIS_LSP_TLV_METRIC_SUPPORTED(tlv_ip_reach->isis_metric_block.metric_delay)) in isis_print_tlv_ip_reach()
1734 ISIS_LSP_TLV_METRIC_VALUE(tlv_ip_reach->isis_metric_block.metric_delay), in isis_print_tlv_ip_reach()
1735 … ISIS_LSP_TLV_METRIC_IE(tlv_ip_reach->isis_metric_block.metric_delay) ? "External" : "Internal")); in isis_print_tlv_ip_reach()
1737 if (!ISIS_LSP_TLV_METRIC_SUPPORTED(tlv_ip_reach->isis_metric_block.metric_expense)) in isis_print_tlv_ip_reach()
1740 … ISIS_LSP_TLV_METRIC_VALUE(tlv_ip_reach->isis_metric_block.metric_expense), in isis_print_tlv_ip_reach()
1741 …ISIS_LSP_TLV_METRIC_IE(tlv_ip_reach->isis_metric_block.metric_expense) ? "External" : "Internal")); in isis_print_tlv_ip_reach()
1743 if (!ISIS_LSP_TLV_METRIC_SUPPORTED(tlv_ip_reach->isis_metric_block.metric_error)) in isis_print_tlv_ip_reach()
1746 ISIS_LSP_TLV_METRIC_VALUE(tlv_ip_reach->isis_metric_block.metric_error), in isis_print_tlv_ip_reach()
1747 … ISIS_LSP_TLV_METRIC_IE(tlv_ip_reach->isis_metric_block.metric_error) ? "External" : "Internal")); in isis_print_tlv_ip_reach()
1750 tlv_ip_reach++; in isis_print_tlv_ip_reach()