Home | History | Annotate | Download | only in net

Lines Matching defs:ifi

76 	struct if_data * const ifi;
88 if (ctx->ifi) {
89 ctx->ifi->ifi_ipackets += local_counters[if_ipackets];
90 ctx->ifi->ifi_ierrors += local_counters[if_ierrors];
91 ctx->ifi->ifi_opackets += local_counters[if_opackets];
92 ctx->ifi->ifi_oerrors += local_counters[if_oerrors];
93 ctx->ifi->ifi_collisions += local_counters[if_collisions];
94 ctx->ifi->ifi_ibytes += local_counters[if_ibytes];
95 ctx->ifi->ifi_obytes += local_counters[if_obytes];
96 ctx->ifi->ifi_imcasts += local_counters[if_imcasts];
97 ctx->ifi->ifi_omcasts += local_counters[if_omcasts];
98 ctx->ifi->ifi_iqdrops += local_counters[if_iqdrops];
99 ctx->ifi->ifi_noproto += local_counters[if_noproto];
116 if_stats_to_if_data(ifnet_t * const ifp, struct if_data * const ifi,
120 .ifi = ifi,
124 memset(ifi, 0, sizeof(*ifi));