Lines Matching refs:tptr
484 const u_char *tptr; in sflow_print_counter_records() local
492 tptr = pointer; in sflow_print_counter_records()
499 sflow_counter_record = (const struct sflow_counter_record_t *)tptr; in sflow_print_counter_records()
511 tptr += sizeof(struct sflow_counter_record_t); in sflow_print_counter_records()
519 if (print_sflow_counter_generic(ndo, tptr, tlen)) in sflow_print_counter_records()
523 if (print_sflow_counter_ethernet(ndo, tptr, tlen)) in sflow_print_counter_records()
527 if (print_sflow_counter_token_ring(ndo, tptr,tlen)) in sflow_print_counter_records()
531 if (print_sflow_counter_basevg(ndo, tptr, tlen)) in sflow_print_counter_records()
535 if (print_sflow_counter_vlan(ndo, tptr, tlen)) in sflow_print_counter_records()
539 if (print_sflow_counter_processor(ndo, tptr, tlen)) in sflow_print_counter_records()
544 print_unknown_data(ndo, tptr, "\n\t\t", counter_len); in sflow_print_counter_records()
548 tptr += counter_len; in sflow_print_counter_records()
673 const u_char *tptr; in sflow_print_flow_records() local
681 tptr = pointer; in sflow_print_flow_records()
689 sflow_flow_record = (const struct sflow_flow_record_t *)tptr; in sflow_print_flow_records()
704 tptr += sizeof(struct sflow_flow_record_t); in sflow_print_flow_records()
713 if (print_sflow_raw_packet(ndo, tptr, tlen)) in sflow_print_flow_records()
717 if (print_sflow_extended_switch_data(ndo, tptr, tlen)) in sflow_print_flow_records()
721 if (print_sflow_ethernet_frame(ndo, tptr, tlen)) in sflow_print_flow_records()
741 print_unknown_data(ndo, tptr, "\n\t\t", flow_len); in sflow_print_flow_records()
745 tptr += flow_len; in sflow_print_flow_records()
820 const u_char *tptr; in sflow_print() local
827 tptr = pptr; in sflow_print()
878 tptr += sizeof(struct sflow_datagram_t); in sflow_print()
894 tptr += sizeof(struct sflow_v6_datagram_t); in sflow_print()
898 sflow_sample = (const struct sflow_sample_header *)tptr; in sflow_print()
906 tptr += sizeof(struct sflow_sample_header); in sflow_print()
923 ND_TCHECK_LEN(tptr, sflow_sample_len); in sflow_print()
927 if (sflow_print_flow_sample(ndo, tptr, tlen)) in sflow_print()
932 if (sflow_print_counter_sample(ndo, tptr,tlen)) in sflow_print()
937 if (sflow_print_expanded_flow_sample(ndo, tptr, tlen)) in sflow_print()
942 if (sflow_print_expanded_counter_sample(ndo, tptr,tlen)) in sflow_print()
948 print_unknown_data(ndo, tptr, "\n\t ", sflow_sample_len); in sflow_print()
951 tptr += sflow_sample_len; in sflow_print()
959 ND_TCHECK_LEN(tptr, tlen); in sflow_print()