• Home
  • Raw
  • Download

Lines Matching refs:tlen

494     u_int tlen;  in sflow_print_counter_records()  local
502 tlen = len; in sflow_print_counter_records()
506 if (tlen < sizeof(struct sflow_counter_record_t)) in sflow_print_counter_records()
522 tlen -= sizeof(struct sflow_counter_record_t); in sflow_print_counter_records()
524 if (tlen < counter_len) in sflow_print_counter_records()
529 if (print_sflow_counter_generic(ndo, tptr, tlen)) in sflow_print_counter_records()
533 if (print_sflow_counter_ethernet(ndo, tptr, tlen)) in sflow_print_counter_records()
537 if (print_sflow_counter_token_ring(ndo, tptr,tlen)) in sflow_print_counter_records()
541 if (print_sflow_counter_basevg(ndo, tptr, tlen)) in sflow_print_counter_records()
545 if (print_sflow_counter_vlan(ndo, tptr, tlen)) in sflow_print_counter_records()
549 if (print_sflow_counter_processor(ndo, tptr, tlen)) in sflow_print_counter_records()
559 tlen -= counter_len; in sflow_print_counter_records()
713 u_int tlen; in sflow_print_flow_records() local
721 tlen = len; in sflow_print_flow_records()
725 if (tlen < sizeof(struct sflow_flow_record_t)) in sflow_print_flow_records()
745 tlen -= sizeof(struct sflow_flow_record_t); in sflow_print_flow_records()
747 if (tlen < flow_len) in sflow_print_flow_records()
753 if (print_sflow_raw_packet(ndo, tptr, tlen)) in sflow_print_flow_records()
757 if (print_sflow_extended_switch_data(ndo, tptr, tlen)) in sflow_print_flow_records()
761 if (print_sflow_ethernet_frame(ndo, tptr, tlen)) in sflow_print_flow_records()
786 tlen -= flow_len; in sflow_print_flow_records()
877 u_int tlen; in sflow_print() local
882 tlen = len; in sflow_print()
919 tlen -= sizeof(const struct sflow_datagram_t); in sflow_print()
921 while (nsamples > 0 && tlen > 0) { in sflow_print()
928 if (tlen < sizeof(struct sflow_sample_header)) in sflow_print()
932 tlen -= sizeof(struct sflow_sample_header); in sflow_print()
944 if (tlen < sflow_sample_len) in sflow_print()
952 if (sflow_print_flow_sample(ndo, tptr, tlen)) in sflow_print()
957 if (sflow_print_counter_sample(ndo, tptr,tlen)) in sflow_print()
962 if (sflow_print_expanded_flow_sample(ndo, tptr, tlen)) in sflow_print()
967 if (sflow_print_expanded_counter_sample(ndo, tptr,tlen)) in sflow_print()
977 tlen -= sflow_sample_len; in sflow_print()