Home
last modified time | relevance | path

Searched refs:fcurr (Results 1 – 2 of 2) sorted by relevance

/titanic_41/usr/src/cmd/flowstat/
H A Dflowstat.c332 flow_chain_t *fcurr; in cleanup_removed_flows() local
337 fcurr = state->fs_flowchain; in cleanup_removed_flows()
338 while (fcurr != NULL) { in cleanup_removed_flows()
339 if (fcurr->fc_visited) { in cleanup_removed_flows()
340 fcurr->fc_visited = B_FALSE; in cleanup_removed_flows()
341 fprev = fcurr; in cleanup_removed_flows()
342 fcurr = fcurr->fc_next; in cleanup_removed_flows()
347 if (fcurr == state->fs_flowchain) in cleanup_removed_flows()
348 state->fs_flowchain = fcurr->fc_next; in cleanup_removed_flows()
350 fprev->fc_next = fcurr->fc_next; in cleanup_removed_flows()
[all …]
/titanic_41/usr/src/lib/libdladm/common/
H A Dlibdlstat.c138 struct flowlist *fcurr; in print_flow_stats() local
151 for (fcount = 0, fcurr = flist; in print_flow_stats()
153 fcount++, fcurr++) { in print_flow_stats()
154 if (fcurr->flowname && fcurr->display) { in print_flow_stats()
155 dlt = (double)fcurr->diffstats.snaptime/(double)NANOSEC; in print_flow_stats()
156 ikbs = fcurr->diffstats.rbytes * 8 / dlt / 1024; in print_flow_stats()
157 okbs = fcurr->diffstats.obytes * 8 / dlt / 1024; in print_flow_stats()
158 ipks = fcurr->diffstats.ipackets / dlt; in print_flow_stats()
159 opks = fcurr->diffstats.opackets / dlt; in print_flow_stats()
160 (void) printw("%-15.15s", fcurr->flowname); in print_flow_stats()
[all …]