Lines Matching defs:stats
634 const struct ifnet_stats_param *stats)
645 interface->if_data.ifi_ipackets = stats->packets_in;
646 interface->if_data.ifi_ibytes = stats->bytes_in;
647 interface->if_data.ifi_imcasts = stats->multicasts_in;
648 interface->if_data.ifi_ierrors = stats->errors_in;
650 interface->if_data.ifi_opackets = stats->packets_out;
651 interface->if_data.ifi_obytes = stats->bytes_out;
652 interface->if_data.ifi_omcasts = stats->multicasts_out;
653 interface->if_data.ifi_oerrors = stats->errors_out;
655 interface->if_data.ifi_collisions = stats->collisions;
656 interface->if_data.ifi_iqdrops = stats->dropped;
657 interface->if_data.ifi_noproto = stats->no_protocol;
670 struct ifnet_stats_param *stats)
681 stats->packets_in = interface->if_data.ifi_ipackets;
682 stats->bytes_in = interface->if_data.ifi_ibytes;
683 stats->multicasts_in = interface->if_data.ifi_imcasts;
684 stats->errors_in = interface->if_data.ifi_ierrors;
686 stats->packets_out = interface->if_data.ifi_opackets;
687 stats->bytes_out = interface->if_data.ifi_obytes;
688 stats->multicasts_out = interface->if_data.ifi_omcasts;
689 stats->errors_out = interface->if_data.ifi_oerrors;
691 stats->collisions = interface->if_data.ifi_collisions;
692 stats->dropped = interface->if_data.ifi_iqdrops;
693 stats->no_protocol = interface->if_data.ifi_noproto;