Lines Matching refs:advance
1371 int advance; in bgp_attr_print() local
1745 advance = decode_prefix4(ndo, tptr, len, buf, sizeof(buf)); in bgp_attr_print()
1746 if (advance == -1) in bgp_attr_print()
1748 else if (advance == -2) in bgp_attr_print()
1750 else if (advance == -3) in bgp_attr_print()
1756 advance = decode_labeled_prefix4(ndo, tptr, len, buf, sizeof(buf)); in bgp_attr_print()
1757 if (advance == -1) in bgp_attr_print()
1759 else if (advance == -2) in bgp_attr_print()
1761 else if (advance == -3) in bgp_attr_print()
1769 advance = decode_labeled_vpn_prefix4(ndo, tptr, buf, sizeof(buf)); in bgp_attr_print()
1770 if (advance == -1) in bgp_attr_print()
1772 else if (advance == -2) in bgp_attr_print()
1778 advance = decode_rt_routing_info(ndo, tptr, buf, sizeof(buf)); in bgp_attr_print()
1779 if (advance == -1) in bgp_attr_print()
1781 else if (advance == -2) in bgp_attr_print()
1788 advance = decode_multicast_vpn(ndo, tptr, buf, sizeof(buf)); in bgp_attr_print()
1789 if (advance == -1) in bgp_attr_print()
1791 else if (advance == -2) in bgp_attr_print()
1798 advance = decode_mdt_vpn_nlri(ndo, tptr, buf, sizeof(buf)); in bgp_attr_print()
1799 if (advance == -1) in bgp_attr_print()
1801 else if (advance == -2) in bgp_attr_print()
1809 advance = decode_prefix6(ndo, tptr, len, buf, sizeof(buf)); in bgp_attr_print()
1810 if (advance == -1) in bgp_attr_print()
1812 else if (advance == -2) in bgp_attr_print()
1814 else if (advance == -3) in bgp_attr_print()
1820 advance = decode_labeled_prefix6(ndo, tptr, len, buf, sizeof(buf)); in bgp_attr_print()
1821 if (advance == -1) in bgp_attr_print()
1823 else if (advance == -2) in bgp_attr_print()
1825 else if (advance == -3) in bgp_attr_print()
1833 advance = decode_labeled_vpn_prefix6(ndo, tptr, buf, sizeof(buf)); in bgp_attr_print()
1834 if (advance == -1) in bgp_attr_print()
1836 else if (advance == -2) in bgp_attr_print()
1845 advance = decode_labeled_vpn_l2(ndo, tptr, buf, sizeof(buf)); in bgp_attr_print()
1846 if (advance == -1) in bgp_attr_print()
1848 else if (advance == -2) in bgp_attr_print()
1856 advance = decode_clnp_prefix(ndo, tptr, buf, sizeof(buf)); in bgp_attr_print()
1857 if (advance == -1) in bgp_attr_print()
1859 else if (advance == -2) in bgp_attr_print()
1867 advance = decode_labeled_vpn_clnp_prefix(ndo, tptr, buf, sizeof(buf)); in bgp_attr_print()
1868 if (advance == -1) in bgp_attr_print()
1870 else if (advance == -2) in bgp_attr_print()
1880 advance = 0; in bgp_attr_print()
1884 if (advance < 0) in bgp_attr_print()
1886 tptr += advance; in bgp_attr_print()
1913 advance = decode_prefix4(ndo, tptr, len, buf, sizeof(buf)); in bgp_attr_print()
1914 if (advance == -1) in bgp_attr_print()
1916 else if (advance == -2) in bgp_attr_print()
1918 else if (advance == -3) in bgp_attr_print()
1924 advance = decode_labeled_prefix4(ndo, tptr, len, buf, sizeof(buf)); in bgp_attr_print()
1925 if (advance == -1) in bgp_attr_print()
1927 else if (advance == -2) in bgp_attr_print()
1929 else if (advance == -3) in bgp_attr_print()
1937 advance = decode_labeled_vpn_prefix4(ndo, tptr, buf, sizeof(buf)); in bgp_attr_print()
1938 if (advance == -1) in bgp_attr_print()
1940 else if (advance == -2) in bgp_attr_print()
1948 advance = decode_prefix6(ndo, tptr, len, buf, sizeof(buf)); in bgp_attr_print()
1949 if (advance == -1) in bgp_attr_print()
1951 else if (advance == -2) in bgp_attr_print()
1953 else if (advance == -3) in bgp_attr_print()
1959 advance = decode_labeled_prefix6(ndo, tptr, len, buf, sizeof(buf)); in bgp_attr_print()
1960 if (advance == -1) in bgp_attr_print()
1962 else if (advance == -2) in bgp_attr_print()
1964 else if (advance == -3) in bgp_attr_print()
1972 advance = decode_labeled_vpn_prefix6(ndo, tptr, buf, sizeof(buf)); in bgp_attr_print()
1973 if (advance == -1) in bgp_attr_print()
1975 else if (advance == -2) in bgp_attr_print()
1984 advance = decode_labeled_vpn_l2(ndo, tptr, buf, sizeof(buf)); in bgp_attr_print()
1985 if (advance == -1) in bgp_attr_print()
1987 else if (advance == -2) in bgp_attr_print()
1995 advance = decode_clnp_prefix(ndo, tptr, buf, sizeof(buf)); in bgp_attr_print()
1996 if (advance == -1) in bgp_attr_print()
1998 else if (advance == -2) in bgp_attr_print()
2006 advance = decode_labeled_vpn_clnp_prefix(ndo, tptr, buf, sizeof(buf)); in bgp_attr_print()
2007 if (advance == -1) in bgp_attr_print()
2009 else if (advance == -2) in bgp_attr_print()
2015 advance = decode_mdt_vpn_nlri(ndo, tptr, buf, sizeof(buf)); in bgp_attr_print()
2016 if (advance == -1) in bgp_attr_print()
2018 else if (advance == -2) in bgp_attr_print()
2025 advance = decode_multicast_vpn(ndo, tptr, buf, sizeof(buf)); in bgp_attr_print()
2026 if (advance == -1) in bgp_attr_print()
2028 else if (advance == -2) in bgp_attr_print()
2038 advance = 0; in bgp_attr_print()
2042 if (advance < 0) in bgp_attr_print()
2044 tptr += advance; in bgp_attr_print()