Home
last modified time | relevance | path

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

/titanic_41/usr/src/cmd/flowstat/
H A Dflowstat.c299 flow_chain_t *flow_curr = NULL; in get_flow_prev_stat() local
302 for (flow_curr = state->fs_flowchain; flow_curr; in get_flow_prev_stat()
303 flow_curr = flow_curr->fc_next) { in get_flow_prev_stat()
304 if (strcmp(flow_curr->fc_flowname, flowname) == 0) in get_flow_prev_stat()
309 if (flow_curr == NULL) { in get_flow_prev_stat()
310 flow_curr = (flow_chain_t *)malloc(sizeof (flow_chain_t)); in get_flow_prev_stat()
311 if (flow_curr == NULL) in get_flow_prev_stat()
313 (void) strncpy(flow_curr->fc_flowname, flowname, in get_flow_prev_stat()
315 flow_curr->fc_stat = NULL; in get_flow_prev_stat()
316 flow_curr->fc_next = state->fs_flowchain; in get_flow_prev_stat()
[all …]