Lines Matching refs:tlen

474     u_int tlen;  in sflow_print_counter_records()  local
482 tlen = len; in sflow_print_counter_records()
486 if (tlen < sizeof(struct sflow_counter_record_t)) in sflow_print_counter_records()
501 tlen -= sizeof(struct sflow_counter_record_t); in sflow_print_counter_records()
503 if (tlen < counter_len) 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()
538 tlen -= counter_len; in sflow_print_counter_records()
672 u_int tlen; in sflow_print_flow_records() local
680 tlen = len; in sflow_print_flow_records()
684 if (tlen < sizeof(struct sflow_flow_record_t)) in sflow_print_flow_records()
703 tlen -= sizeof(struct sflow_flow_record_t); in sflow_print_flow_records()
705 if (tlen < flow_len) 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()
744 tlen -= flow_len; in sflow_print_flow_records()
826 u_int tlen; in sflow_print() local
832 tlen = len; in sflow_print()
869 tlen -= sizeof(const struct sflow_datagram_t); in sflow_print()
871 while (nsamples > 0 && tlen > 0) { in sflow_print()
878 if (tlen < sizeof(struct sflow_sample_header)) in sflow_print()
882 tlen -= sizeof(struct sflow_sample_header); in sflow_print()
894 if (tlen < 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()
927 tlen -= sflow_sample_len; in sflow_print()