Lines Matching defs:fcurr
150 struct flowlist *fcurr;
163 for (fcount = 0, fcurr = flist;
165 fcount++, fcurr++) {
166 if (fcurr->flowname && fcurr->display) {
167 dlt = (double)fcurr->diffstats.snaptime/(double)NANOSEC;
168 ikbs = fcurr->diffstats.rbytes * 8 / dlt / 1024;
169 okbs = fcurr->diffstats.obytes * 8 / dlt / 1024;
170 ipks = fcurr->diffstats.ipackets / dlt;
171 opks = fcurr->diffstats.opackets / dlt;
172 (void) printw("%-15.15s", fcurr->flowname);
173 (void) printw("%-10.10s", fcurr->linkname);
249 struct flowlist *fcurr;
263 for (fcount = 0, fcurr = flist;
265 fcount++, fcurr++) {
266 if ((fcurr->linkid != DATALINK_INVALID_LINKID) &&
267 fcurr->display) {
268 dlt = (double)fcurr->diffstats.snaptime/(double)NANOSEC;
269 ikbs = (double)fcurr->diffstats.rbytes * 8 / dlt / 1024;
270 okbs = (double)fcurr->diffstats.obytes * 8 / dlt / 1024;
271 ipks = (double)fcurr->diffstats.ipackets / dlt;
272 opks = (double)fcurr->diffstats.opackets / dlt;
273 (void) printw("%-10.10s", fcurr->linkname);
276 if (fcurr->ifspeed != 0)
278 100/ fcurr->ifspeed;