Lines Matching refs:ci
521 struct rta_cacheinfo *ci = RTA_DATA(tb[RTA_CACHEINFO]);
524 if (ci->rta_expires != 0)
525 fprintf(fp, " expires %dsec", ci->rta_expires/hz);
526 if (ci->rta_error != 0)
527 fprintf(fp, " error %d", ci->rta_error);
529 if (ci->rta_clntref)
530 fprintf(fp, " users %d", ci->rta_clntref);
531 if (ci->rta_used != 0)
532 fprintf(fp, " used %d", ci->rta_used);
533 if (ci->rta_lastuse != 0)
534 fprintf(fp, " age %dsec", ci->rta_lastuse/hz);
536 if (ci->rta_id)
537 fprintf(fp, " ipid 0x%04x", ci->rta_id);
538 if (ci->rta_ts || ci->rta_tsage)
540 ci->rta_ts, ci->rta_tsage);
543 struct rta_cacheinfo *ci = NULL;
545 ci = RTA_DATA(tb[RTA_CACHEINFO]);
546 if ((r->rtm_flags & RTM_F_CLONED) || (ci && ci->rta_expires)) {
551 if (ci->rta_expires)
552 fprintf(fp, " expires %dsec", ci->rta_expires/hz);
553 if (ci->rta_error != 0)
554 fprintf(fp, " error %d", ci->rta_error);
556 if (ci->rta_clntref)
557 fprintf(fp, " users %d", ci->rta_clntref);
558 if (ci->rta_used != 0)
559 fprintf(fp, " used %d", ci->rta_used);
560 if (ci->rta_lastuse != 0)
561 fprintf(fp, " age %dsec", ci->rta_lastuse/hz);
563 } else if (ci) {
564 if (ci->rta_error != 0)
565 fprintf(fp, " error %d", ci->rta_error);