Lines Matching refs:tlv_ptr

224     } tlv_ptr;  in eigrp_print()  local
297 tlv_ptr.eigrp_tlv_general_parm = (const struct eigrp_tlv_general_parm_t *)tlv_tptr; in eigrp_print()
300 EXTRACT_16BITS(tlv_ptr.eigrp_tlv_general_parm->holdtime), in eigrp_print()
301 tlv_ptr.eigrp_tlv_general_parm->k1, in eigrp_print()
302 tlv_ptr.eigrp_tlv_general_parm->k2, in eigrp_print()
303 tlv_ptr.eigrp_tlv_general_parm->k3, in eigrp_print()
304 tlv_ptr.eigrp_tlv_general_parm->k4, in eigrp_print()
305 tlv_ptr.eigrp_tlv_general_parm->k5)); in eigrp_print()
309 tlv_ptr.eigrp_tlv_sw_version = (const struct eigrp_tlv_sw_version_t *)tlv_tptr; in eigrp_print()
312 tlv_ptr.eigrp_tlv_sw_version->ios_major, in eigrp_print()
313 tlv_ptr.eigrp_tlv_sw_version->ios_minor, in eigrp_print()
314 tlv_ptr.eigrp_tlv_sw_version->eigrp_major, in eigrp_print()
315 tlv_ptr.eigrp_tlv_sw_version->eigrp_minor)); in eigrp_print()
319 tlv_ptr.eigrp_tlv_ip_int = (const struct eigrp_tlv_ip_int_t *)tlv_tptr; in eigrp_print()
321 bit_length = tlv_ptr.eigrp_tlv_ip_int->plen; in eigrp_print()
328 memcpy(prefix,&tlv_ptr.eigrp_tlv_ip_int->destination,byte_length); in eigrp_print()
333 if (EXTRACT_32BITS(&tlv_ptr.eigrp_tlv_ip_int->nexthop) == 0) in eigrp_print()
336 ND_PRINT((ndo, "%s",ipaddr_string(ndo, &tlv_ptr.eigrp_tlv_ip_int->nexthop))); in eigrp_print()
339 (EXTRACT_32BITS(&tlv_ptr.eigrp_tlv_ip_int->delay)/100), in eigrp_print()
340 EXTRACT_32BITS(&tlv_ptr.eigrp_tlv_ip_int->bandwidth), in eigrp_print()
341 EXTRACT_24BITS(&tlv_ptr.eigrp_tlv_ip_int->mtu), in eigrp_print()
342 tlv_ptr.eigrp_tlv_ip_int->hopcount, in eigrp_print()
343 tlv_ptr.eigrp_tlv_ip_int->reliability, in eigrp_print()
344 tlv_ptr.eigrp_tlv_ip_int->load)); in eigrp_print()
348 tlv_ptr.eigrp_tlv_ip_ext = (const struct eigrp_tlv_ip_ext_t *)tlv_tptr; in eigrp_print()
350 bit_length = tlv_ptr.eigrp_tlv_ip_ext->plen; in eigrp_print()
357 memcpy(prefix,&tlv_ptr.eigrp_tlv_ip_ext->destination,byte_length); in eigrp_print()
362 if (EXTRACT_32BITS(&tlv_ptr.eigrp_tlv_ip_ext->nexthop) == 0) in eigrp_print()
365 ND_PRINT((ndo, "%s",ipaddr_string(ndo, &tlv_ptr.eigrp_tlv_ip_ext->nexthop))); in eigrp_print()
368 ipaddr_string(ndo, tlv_ptr.eigrp_tlv_ip_ext->origin_router), in eigrp_print()
369 EXTRACT_32BITS(tlv_ptr.eigrp_tlv_ip_ext->origin_as), in eigrp_print()
370 tok2str(eigrp_ext_proto_id_values,"unknown",tlv_ptr.eigrp_tlv_ip_ext->proto_id), in eigrp_print()
371 tlv_ptr.eigrp_tlv_ip_ext->flags, in eigrp_print()
372 EXTRACT_32BITS(tlv_ptr.eigrp_tlv_ip_ext->tag), in eigrp_print()
373 EXTRACT_32BITS(tlv_ptr.eigrp_tlv_ip_ext->metric))); in eigrp_print()
376 (EXTRACT_32BITS(&tlv_ptr.eigrp_tlv_ip_ext->delay)/100), in eigrp_print()
377 EXTRACT_32BITS(&tlv_ptr.eigrp_tlv_ip_ext->bandwidth), in eigrp_print()
378 EXTRACT_24BITS(&tlv_ptr.eigrp_tlv_ip_ext->mtu), in eigrp_print()
379 tlv_ptr.eigrp_tlv_ip_ext->hopcount, in eigrp_print()
380 tlv_ptr.eigrp_tlv_ip_ext->reliability, in eigrp_print()
381 tlv_ptr.eigrp_tlv_ip_ext->load)); in eigrp_print()
385 tlv_ptr.eigrp_tlv_at_cable_setup = (const struct eigrp_tlv_at_cable_setup_t *)tlv_tptr; in eigrp_print()
388 EXTRACT_16BITS(&tlv_ptr.eigrp_tlv_at_cable_setup->cable_start), in eigrp_print()
389 EXTRACT_16BITS(&tlv_ptr.eigrp_tlv_at_cable_setup->cable_end), in eigrp_print()
390 EXTRACT_32BITS(&tlv_ptr.eigrp_tlv_at_cable_setup->router_id))); in eigrp_print()
394 tlv_ptr.eigrp_tlv_at_int = (const struct eigrp_tlv_at_int_t *)tlv_tptr; in eigrp_print()
397 EXTRACT_16BITS(&tlv_ptr.eigrp_tlv_at_int->cable_start), in eigrp_print()
398 EXTRACT_16BITS(&tlv_ptr.eigrp_tlv_at_int->cable_end))); in eigrp_print()
400 if (EXTRACT_32BITS(&tlv_ptr.eigrp_tlv_at_int->nexthop) == 0) in eigrp_print()
404 EXTRACT_16BITS(&tlv_ptr.eigrp_tlv_at_int->nexthop), in eigrp_print()
405 EXTRACT_16BITS(&tlv_ptr.eigrp_tlv_at_int->nexthop[2]))); in eigrp_print()
408 (EXTRACT_32BITS(&tlv_ptr.eigrp_tlv_at_int->delay)/100), in eigrp_print()
409 EXTRACT_32BITS(&tlv_ptr.eigrp_tlv_at_int->bandwidth), in eigrp_print()
410 EXTRACT_24BITS(&tlv_ptr.eigrp_tlv_at_int->mtu), in eigrp_print()
411 tlv_ptr.eigrp_tlv_at_int->hopcount, in eigrp_print()
412 tlv_ptr.eigrp_tlv_at_int->reliability, in eigrp_print()
413 tlv_ptr.eigrp_tlv_at_int->load)); in eigrp_print()
417 tlv_ptr.eigrp_tlv_at_ext = (const struct eigrp_tlv_at_ext_t *)tlv_tptr; in eigrp_print()
420 EXTRACT_16BITS(&tlv_ptr.eigrp_tlv_at_ext->cable_start), in eigrp_print()
421 EXTRACT_16BITS(&tlv_ptr.eigrp_tlv_at_ext->cable_end))); in eigrp_print()
423 if (EXTRACT_32BITS(&tlv_ptr.eigrp_tlv_at_ext->nexthop) == 0) in eigrp_print()
427 EXTRACT_16BITS(&tlv_ptr.eigrp_tlv_at_ext->nexthop), in eigrp_print()
428 EXTRACT_16BITS(&tlv_ptr.eigrp_tlv_at_ext->nexthop[2]))); in eigrp_print()
431 EXTRACT_32BITS(tlv_ptr.eigrp_tlv_at_ext->origin_router), in eigrp_print()
432 EXTRACT_32BITS(tlv_ptr.eigrp_tlv_at_ext->origin_as), in eigrp_print()
433 tok2str(eigrp_ext_proto_id_values,"unknown",tlv_ptr.eigrp_tlv_at_ext->proto_id), in eigrp_print()
434 tlv_ptr.eigrp_tlv_at_ext->flags, in eigrp_print()
435 EXTRACT_32BITS(tlv_ptr.eigrp_tlv_at_ext->tag), in eigrp_print()
436 EXTRACT_16BITS(tlv_ptr.eigrp_tlv_at_ext->metric))); in eigrp_print()
439 (EXTRACT_32BITS(&tlv_ptr.eigrp_tlv_at_ext->delay)/100), in eigrp_print()
440 EXTRACT_32BITS(&tlv_ptr.eigrp_tlv_at_ext->bandwidth), in eigrp_print()
441 EXTRACT_24BITS(&tlv_ptr.eigrp_tlv_at_ext->mtu), in eigrp_print()
442 tlv_ptr.eigrp_tlv_at_ext->hopcount, in eigrp_print()
443 tlv_ptr.eigrp_tlv_at_ext->reliability, in eigrp_print()
444 tlv_ptr.eigrp_tlv_at_ext->load)); in eigrp_print()