Lines Matching refs:tptr
230 register const u_char *tptr) in cfm_mgmt_addr_print() argument
240 mgmt_addr_type = *tptr; in cfm_mgmt_addr_print()
250 ND_PRINT((ndo, ", %s", ipaddr_string(ndo, tptr + 1))); in cfm_mgmt_addr_print()
255 ND_PRINT((ndo, ", %s", ip6addr_string(ndo, tptr + 1))); in cfm_mgmt_addr_print()
271 cfm_egress_id_string(netdissect_options *ndo, register const u_char *tptr) in cfm_egress_id_string() argument
277 EXTRACT_16BITS(tptr), in cfm_egress_id_string()
278 etheraddr_string(ndo, tptr+2)); in cfm_egress_id_string()
289 const uint8_t *tptr, *tlv_ptr, *ma_name, *ma_nameformat, *ma_namelength; in cfm_print() local
300 tptr=pptr; in cfm_print()
328 tptr += sizeof(const struct cfm_common_header_t); in cfm_print()
333 msg_ptr.cfm_ccm = (const struct cfm_ccm_t *)tptr; in cfm_print()
418 msg_ptr.cfm_ltm = (const struct cfm_ltm_t *)tptr; in cfm_print()
434 msg_ptr.cfm_ltr = (const struct cfm_ltr_t *)tptr; in cfm_print()
462 print_unknown_data(ndo, tptr, "\n\t ", in cfm_print()
475 tptr += cfm_common_header->first_tlv_offset; in cfm_print()
479 cfm_tlv_header = (const struct cfm_tlv_header_t *)tptr; in cfm_print()
482 ND_TCHECK2(*tptr, 1); in cfm_print()
487 ND_TCHECK2(*tptr, sizeof(struct cfm_tlv_header_t)); in cfm_print()
502 print_unknown_data(ndo, tptr, "\n\t ", tlen); in cfm_print()
506 tptr += sizeof(struct cfm_tlv_header_t); in cfm_print()
508 tlv_ptr = tptr; in cfm_print()
512 ND_TCHECK2(*tptr, cfm_tlv_len); in cfm_print()
523 tok2str(cfm_tlv_port_status_values, "Unknown", *tptr), in cfm_print()
524 *tptr)); in cfm_print()
529 tok2str(cfm_tlv_interface_status_values, "Unknown", *tptr), in cfm_print()
530 *tptr)); in cfm_print()
535 tok2str(oui_values,"Unknown", EXTRACT_24BITS(tptr)), in cfm_print()
536 EXTRACT_24BITS(tptr), in cfm_print()
537 *(tptr + 3))); in cfm_print()
549 chassis_id_length = *tptr; in cfm_print()
555 tptr++; in cfm_print()
559 chassis_id_type = *tptr; in cfm_print()
569 ND_PRINT((ndo, "\n\t MAC %s", etheraddr_string(ndo, tptr + 1))); in cfm_print()
573 hexdump |= cfm_mgmt_addr_print(ndo, tptr); in cfm_print()
581 safeputs(ndo, tptr + 1, chassis_id_length); in cfm_print()
590 tptr += chassis_id_length; in cfm_print()
596 mgmt_addr_length = *tptr; in cfm_print()
602 tptr++; in cfm_print()
606 hexdump |= cfm_mgmt_addr_print(ndo, tptr); in cfm_print()
609 tptr += mgmt_addr_length; in cfm_print()
631 tptr+=cfm_tlv_len; in cfm_print()