Lines Matching refs:tptr
473 const u_char *tptr; in sflow_print_counter_records() local
481 tptr = pointer; in sflow_print_counter_records()
488 sflow_counter_record = (const struct sflow_counter_record_t *)tptr; in sflow_print_counter_records()
500 tptr += sizeof(struct sflow_counter_record_t); in sflow_print_counter_records()
508 if (print_sflow_counter_generic(ndo, tptr, tlen)) in sflow_print_counter_records()
512 if (print_sflow_counter_ethernet(ndo, tptr, tlen)) in sflow_print_counter_records()
516 if (print_sflow_counter_token_ring(ndo, tptr,tlen)) in sflow_print_counter_records()
520 if (print_sflow_counter_basevg(ndo, tptr, tlen)) in sflow_print_counter_records()
524 if (print_sflow_counter_vlan(ndo, tptr, tlen)) in sflow_print_counter_records()
528 if (print_sflow_counter_processor(ndo, tptr, tlen)) in sflow_print_counter_records()
533 print_unknown_data(ndo, tptr, "\n\t\t", counter_len); in sflow_print_counter_records()
537 tptr += counter_len; in sflow_print_counter_records()
671 const u_char *tptr; in sflow_print_flow_records() local
679 tptr = pointer; in sflow_print_flow_records()
687 sflow_flow_record = (const struct sflow_flow_record_t *)tptr; in sflow_print_flow_records()
702 tptr += sizeof(struct sflow_flow_record_t); in sflow_print_flow_records()
711 if (print_sflow_raw_packet(ndo, tptr, tlen)) in sflow_print_flow_records()
715 if (print_sflow_extended_switch_data(ndo, tptr, tlen)) in sflow_print_flow_records()
719 if (print_sflow_ethernet_frame(ndo, tptr, tlen)) in sflow_print_flow_records()
739 print_unknown_data(ndo, tptr, "\n\t\t", flow_len); in sflow_print_flow_records()
743 tptr += flow_len; in sflow_print_flow_records()
825 const u_char *tptr; in sflow_print() local
831 tptr = pptr; in sflow_print()
868 tptr += sizeof(const struct sflow_datagram_t); in sflow_print()
872 sflow_sample = (const struct sflow_sample_header *)tptr; in sflow_print()
881 tptr += sizeof(struct sflow_sample_header); in sflow_print()
898 ND_TCHECK2(*tptr, sflow_sample_len); in sflow_print()
902 if (sflow_print_flow_sample(ndo, tptr, tlen)) in sflow_print()
907 if (sflow_print_counter_sample(ndo, tptr,tlen)) in sflow_print()
912 if (sflow_print_expanded_flow_sample(ndo, tptr, tlen)) in sflow_print()
917 if (sflow_print_expanded_counter_sample(ndo, tptr,tlen)) in sflow_print()
923 print_unknown_data(ndo, tptr, "\n\t ", sflow_sample_len); in sflow_print()
926 tptr += sflow_sample_len; in sflow_print()