Lines Matching defs:history
533 show_history_date(dladm_usage_t *history, void *arg)
542 * Only show history information for existing links unless '-a'
546 if ((status = dladm_name2info(handle, history->du_name,
554 stime = history->du_stime;
563 show_history_time(dladm_usage_t *history, void *arg)
574 * Only show history information for existing links unless '-a'
578 if ((status = dladm_name2info(handle, history->du_name,
592 (void) printf(" %s", history->du_name);
593 if (history->du_last) {
600 time = history->du_etime;
606 bw = (double)history->du_bandwidth/1000;
608 if (history->du_last) {
619 history->du_name);
620 time = history->du_stime;
624 time = history->du_etime;
629 "%llu", history->du_rbytes);
631 "%llu", history->du_obytes);
633 "%s Mbps", dladm_bw2str(history->du_bandwidth, buf));
640 show_history_res(dladm_usage_t *history, void *arg)
649 * Only show history information for existing links unless '-a'
653 if ((status = dladm_name2info(handle, history->du_name,
664 history->du_name);
666 "%llu", history->du_duration);
668 "%llu", history->du_ipackets);
670 "%llu", history->du_rbytes);
672 "%llu", history->du_opackets);
674 "%llu", history->du_obytes);
676 "%s Mbps", dladm_bw2str(history->du_bandwidth, buf));