Lines Matching refs:GET_U_1
115 (((flags) & 0x10) ? GET_BE_U_2(p) : GET_U_1(p))
589 plen = GET_U_1(pptr); in decode_prefix4()
619 plen = GET_U_1(pptr); /* get prefix length */ in decode_labeled_prefix4()
650 ((GET_U_1(pptr + 3) & 1) == 0) ? "(BOGUS: Bottom of Stack NOT set!)" : "(bottom)" ); in decode_labeled_prefix4()
720 addr_length = GET_U_1(pptr); in bgp_vpn_sg_print()
734 addr_length = GET_U_1(pptr); in bgp_vpn_sg_print()
770 GET_U_1(pptr + 4), GET_U_1(pptr + 5), in bgp_vpn_rd_print()
771 GET_U_1(pptr + 6), GET_U_1(pptr + 7)); in bgp_vpn_rd_print()
777 GET_U_1(pptr + 2), GET_U_1(pptr + 3), in bgp_vpn_rd_print()
778 GET_U_1(pptr + 4), GET_U_1(pptr + 5), in bgp_vpn_rd_print()
786 GET_BE_U_2(pptr + 6), GET_U_1(pptr + 2), in bgp_vpn_rd_print()
787 GET_U_1(pptr + 3), GET_U_1(pptr + 4), in bgp_vpn_rd_print()
788 GET_U_1(pptr + 5), GET_BE_U_2(pptr + 6)); in bgp_vpn_rd_print()
861 GET_U_1((pptr + 6))), in bgp_extended_community_print()
862 (GET_U_1(pptr + 7) & BGP_OSPF_RTYPE_METRIC_TYPE) ? "E2" : "", in bgp_extended_community_print()
863 …((GET_U_1(pptr + 6) == BGP_OSPF_RTYPE_EXT) || (GET_U_1(pptr + 6) == BGP_OSPF_RTYPE_NSSA)) ? "E1" :… in bgp_extended_community_print()
870 GET_U_1((pptr + 2))), in bgp_extended_community_print()
871 GET_U_1((pptr + 3)), in bgp_extended_community_print()
887 GET_U_1(pptr + 2), in bgp_extended_community_print()
888 GET_U_1(pptr + 3), in bgp_extended_community_print()
889 GET_U_1(pptr + 4), in bgp_extended_community_print()
890 GET_U_1(pptr + 5), in bgp_extended_community_print()
891 GET_U_1(pptr + 6), in bgp_extended_community_print()
892 GET_U_1(pptr + 7)); in bgp_extended_community_print()
997 plen = GET_U_1(pptr); /* get prefix length */ in decode_rt_routing_info()
1050 plen = GET_U_1(pptr); /* get prefix length */ in decode_labeled_vpn_prefix4()
1072 ((GET_U_1(pptr + 3) & 1) == 0) ? "(BOGUS: Bottom of Stack NOT set!)" : "(bottom)" ); in decode_labeled_vpn_prefix4()
1097 if (GET_U_1(pptr) != MDT_VPN_NLRI_LEN * 8) in decode_mdt_vpn_nlri()
1149 route_type = GET_U_1(pptr); in decode_multicast_vpn()
1151 route_length = GET_U_1(pptr); in decode_multicast_vpn()
1301 tlv_type = GET_U_1(pptr); in decode_labeled_vpn_l2()
1326 GET_U_1(pptr)); in decode_labeled_vpn_l2()
1371 plen = GET_U_1(pd); in decode_prefix6()
1401 plen = GET_U_1(pptr); /* get prefix length */ in decode_labeled_prefix6()
1424 ((GET_U_1(pptr + 3) & 1) == 0) ? "(BOGUS: Bottom of Stack NOT set!)" : "(bottom)" ); in decode_labeled_prefix6()
1442 plen = GET_U_1(pptr); /* get prefix length */ in decode_labeled_vpn_prefix6()
1464 ((GET_U_1(pptr + 3) & 1) == 0) ? "(BOGUS: Bottom of Stack NOT set!)" : "(bottom)" ); in decode_labeled_vpn_prefix6()
1476 plen = GET_U_1(pptr); /* get prefix length */ in decode_clnp_prefix()
1502 plen = GET_U_1(pptr); /* get prefix length */ in decode_labeled_vpn_clnp_prefix()
1524 ((GET_U_1(pptr + 3) & 1) == 0) ? "(BOGUS: Bottom of Stack NOT set!)" : "(bottom)" ); in decode_labeled_vpn_clnp_prefix()
1559 if (GET_U_1(tptr) < BGP_AS_SEG_TYPE_MIN || GET_U_1(tptr) > BGP_AS_SEG_TYPE_MAX) { in bgp_attr_get_as_size()
1562 tptr += 2 + GET_U_1(tptr + 1) * 2; in bgp_attr_get_as_size()
1610 prefix_length = GET_U_1(pptr + offset); in check_add_path()
1632 prefix_length = GET_U_1(pptr + offset); in check_add_path()
1661 safi = GET_U_1(tptr + 2); in bgp_mp_af_print()
1895 GET_U_1(tptr))); in bgp_attr_print()
1925 "?", GET_U_1(tptr))); in bgp_attr_print()
1926 for (i = 0; i < GET_U_1(tptr + 1) * as_size; i += as_size) { in bgp_attr_print()
1935 "?", GET_U_1(tptr))); in bgp_attr_print()
1936 tptr += 2 + GET_U_1(tptr + 1) * as_size; in bgp_attr_print()
2058 nhlen = GET_U_1(tptr); in bgp_attr_print()
2210 snpa = GET_U_1(tptr); in bgp_attr_print()
2220 snpalen = GET_U_1(tptr); in bgp_attr_print()
2315 flags = GET_U_1(tptr); in bgp_attr_print()
2316 tunnel_type = GET_U_1(tptr + 1); in bgp_attr_print()
2368 type = GET_U_1(tptr); in bgp_attr_print()
2425 aflags = GET_U_1(tptr); in bgp_attr_print()
2426 atype = GET_U_1(tptr + 1); in bgp_attr_print()
2529 cap_type=GET_U_1(opt + i); in bgp_capabilities_print()
2530 cap_len=GET_U_1(opt + i + 1); in bgp_capabilities_print()
2546 tok2str(bgp_safi_values, "Unknown", GET_U_1(opt + i + 5)), in bgp_capabilities_print()
2547 GET_U_1(opt + i + 5)); in bgp_capabilities_print()
2558 GET_U_1(opt + i + cap_offset + 2)), in bgp_capabilities_print()
2559 GET_U_1(opt + i + cap_offset + 2), in bgp_capabilities_print()
2560 GET_U_1(opt + i + cap_offset + 3)); in bgp_capabilities_print()
2573 ((GET_U_1(opt + i + 2))&0x80) ? "R" : "none", in bgp_capabilities_print()
2583 GET_U_1(opt + i + cap_offset + 2)), in bgp_capabilities_print()
2584 GET_U_1(opt + (i + cap_offset + 2)), in bgp_capabilities_print()
2585 ((GET_U_1(opt + (i + cap_offset + 3)))&0x80) ? "yes" : "no" ); in bgp_capabilities_print()
2621 tok2str(bgp_safi_values,"Unknown",GET_U_1(opt + i + cap_offset + 2)), in bgp_capabilities_print()
2622 GET_U_1(opt + (i + cap_offset + 2)), in bgp_capabilities_print()
2623 … tok2str(bgp_add_path_recvsend,"Bogus (0x%02x)",GET_U_1(opt + i + cap_offset + 3)) in bgp_capabilities_print()
2667 GET_U_1(bgp_open_header->bgpo_version)); in bgp_open_print()
2673 optslen = GET_U_1(bgp_open_header->bgpo_optlen); in bgp_open_print()
2687 opt_type = GET_U_1(bgpopt->bgpopt_type); in bgp_open_print()
2688 opt_len = GET_U_1(bgpopt->bgpopt_len); in bgp_open_print()
2825 aflags = GET_U_1(p); in bgp_update_print()
2826 atype = GET_U_1(p + 1); in bgp_update_print()
2922 bgpn_major = GET_U_1(bgp_notification_header->bgpn_major); in bgp_notification_print()
2923 bgpn_minor = GET_U_1(bgp_notification_header->bgpn_minor); in bgp_notification_print()
2976 tok2str(bgp_safi_values, "Unknown", GET_U_1((tptr + 2))), in bgp_notification_print()
2977 GET_U_1((tptr + 2)), in bgp_notification_print()
2988 uint8_t shutdown_comm_length = GET_U_1(tptr); in bgp_notification_print()
3039 GET_U_1(bgp_route_refresh_header->safi)), in bgp_route_refresh_print()
3040 GET_U_1(bgp_route_refresh_header->safi)); in bgp_route_refresh_print()
3061 bgp_type = GET_U_1(bgp_header->bgp_type); in bgp_pdu_print()
3121 if (GET_U_1(p) != 0xff) { in bgp_print()
3156 GET_U_1(bgp_header->bgp_type))); in bgp_print()