Lines Matching refs:withdrawn_routes_len
2362 int withdrawn_routes_len; in bgp_update_print() local
2382 withdrawn_routes_len = EXTRACT_16BITS(p); in bgp_update_print()
2385 if (withdrawn_routes_len) { in bgp_update_print()
2391 TCHECK2(p[0], withdrawn_routes_len); in bgp_update_print()
2392 if (length < withdrawn_routes_len) in bgp_update_print()
2395 printf("\n\t Withdrawn routes: %d bytes", withdrawn_routes_len); in bgp_update_print()
2396 p += withdrawn_routes_len; in bgp_update_print()
2397 length -= withdrawn_routes_len; in bgp_update_print()
2399 if (withdrawn_routes_len < 2) in bgp_update_print()
2402 withdrawn_routes_len -= 2; in bgp_update_print()
2407 while(withdrawn_routes_len > 0) { in bgp_update_print()
2408 wpfx = decode_prefix4(p, withdrawn_routes_len, buf, sizeof(buf)); in bgp_update_print()
2420 withdrawn_routes_len -= wpfx; in bgp_update_print()
2433 if (withdrawn_routes_len == 0 && len == 0 && length == 0) { in bgp_update_print()