Lines Matching refs:tptr

474     const u_char *tptr;  in sflow_print_counter_records()  local
482 tptr = pointer; in sflow_print_counter_records()
489 sflow_counter_record = (const struct sflow_counter_record_t *)tptr; in sflow_print_counter_records()
501 tptr += sizeof(struct sflow_counter_record_t); in sflow_print_counter_records()
509 if (print_sflow_counter_generic(tptr,tlen)) in sflow_print_counter_records()
513 if (print_sflow_counter_ethernet(tptr,tlen)) in sflow_print_counter_records()
517 if (print_sflow_counter_token_ring(tptr,tlen)) in sflow_print_counter_records()
521 if (print_sflow_counter_basevg(tptr,tlen)) in sflow_print_counter_records()
525 if (print_sflow_counter_vlan(tptr,tlen)) in sflow_print_counter_records()
529 if (print_sflow_counter_processor(tptr,tlen)) in sflow_print_counter_records()
534 print_unknown_data(tptr, "\n\t\t", counter_len); in sflow_print_counter_records()
538 tptr += counter_len; in sflow_print_counter_records()
667 const u_char *tptr; in sflow_print_flow_records() local
675 tptr = pointer; in sflow_print_flow_records()
683 sflow_flow_record = (const struct sflow_flow_record_t *)tptr; in sflow_print_flow_records()
698 tptr += sizeof(struct sflow_flow_record_t); in sflow_print_flow_records()
707 if (print_sflow_raw_packet(tptr,tlen)) in sflow_print_flow_records()
711 if (print_sflow_extended_switch_data(tptr,tlen)) in sflow_print_flow_records()
715 if (print_sflow_ethernet_frame(tptr,tlen)) in sflow_print_flow_records()
735 print_unknown_data(tptr, "\n\t\t", flow_len); in sflow_print_flow_records()
739 tptr += flow_len; in sflow_print_flow_records()
818 const u_char *tptr; in sflow_print() local
824 tptr = pptr; in sflow_print()
861 tptr += sizeof(const struct sflow_datagram_t); in sflow_print()
865 sflow_sample = (const struct sflow_sample_header *)tptr; in sflow_print()
874 tptr += sizeof(struct sflow_sample_header); in sflow_print()
891 TCHECK2(*tptr, sflow_sample_len); in sflow_print()
895 if (sflow_print_flow_sample(tptr,tlen)) in sflow_print()
900 if (sflow_print_counter_sample(tptr,tlen)) in sflow_print()
905 if (sflow_print_expanded_flow_sample(tptr,tlen)) in sflow_print()
910 if (sflow_print_expanded_counter_sample(tptr,tlen)) in sflow_print()
916 print_unknown_data(tptr, "\n\t ", sflow_sample_len); in sflow_print()
919 tptr += sflow_sample_len; in sflow_print()