HomeSort by: relevance | last modified time | path
    Searched refs:ifi (Results 1 - 10 of 10) sorted by relevancy

  /src/sys/net/
if_stats.c 76 struct if_data * const ifi; member in struct:if_stats_to_if_data_ctx
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]
    [all...]
if_sl.c 1037 struct if_data ifi; local in function:slioctl
1039 if_export_if_data(&sc->sc_if, &ifi, false);
1042 psp->p.ppp_ibytes = ifi.ifi_ibytes;
1043 psp->p.ppp_ipackets = ifi.ifi_ipackets;
1044 psp->p.ppp_ierrors = ifi.ifi_ierrors;
1045 psp->p.ppp_obytes = ifi.ifi_obytes;
1046 psp->p.ppp_opackets = ifi.ifi_opackets;
1047 psp->p.ppp_oerrors = ifi.ifi_oerrors;
if.c 3163 if_export_if_data(ifnet_t * const ifp, struct if_data *ifi, bool zero_stats)
3166 /* Collect the volatile stats first; this zeros *ifi. */
3167 if_stats_to_if_data(ifp, ifi, zero_stats);
3169 ifi->ifi_type = ifp->if_type;
3170 ifi->ifi_addrlen = ifp->if_addrlen;
3171 ifi->ifi_hdrlen = ifp->if_hdrlen;
3172 ifi->ifi_link_state = ifp->if_link_state;
3173 ifi->ifi_mtu = ifp->if_mtu;
3174 ifi->ifi_metric = ifp->if_metric;
3175 ifi->ifi_baudrate = ifp->if_baudrate
    [all...]
  /src/sys/compat/common/
rtsock_50.c 80 struct if_data ifi; local in function:compat_50_rt_oifmsg
88 if_export_if_data(ifp, &ifi, false);
91 oifm.ifm_data.ifi_type = ifi.ifi_type;
92 oifm.ifm_data.ifi_addrlen = ifi.ifi_addrlen;
93 oifm.ifm_data.ifi_hdrlen = ifi.ifi_hdrlen;
94 oifm.ifm_data.ifi_link_state = ifi.ifi_link_state;
95 oifm.ifm_data.ifi_mtu = ifi.ifi_mtu;
96 oifm.ifm_data.ifi_metric = ifi.ifi_metric;
97 oifm.ifm_data.ifi_baudrate = ifi.ifi_baudrate;
98 oifm.ifm_data.ifi_ipackets = ifi.ifi_ipackets
123 struct if_data ifi; local in function:compat_50_iflist
    [all...]
rtsock_14.c 102 struct if_data ifi; local in function:compat_14_rt_oifmsg
111 if_export_if_data(ifp, &ifi, false);
114 oifm.ifm_data.ifi_type = ifi.ifi_type;
115 oifm.ifm_data.ifi_addrlen = ifi.ifi_addrlen;
116 oifm.ifm_data.ifi_hdrlen = ifi.ifi_hdrlen;
117 oifm.ifm_data.ifi_mtu = ifi.ifi_mtu;
118 oifm.ifm_data.ifi_metric = ifi.ifi_metric;
119 oifm.ifm_data.ifi_baudrate = ifi.ifi_baudrate;
120 oifm.ifm_data.ifi_ipackets = ifi.ifi_ipackets;
121 oifm.ifm_data.ifi_ierrors = ifi.ifi_ierrors
145 struct if_data ifi; local in function:compat_14_iflist
    [all...]
uipc_syscalls_50.c 62 struct if_data ifi; local in function:compat_ifdatareq
83 if_export_if_data(ifp, &ifi, false);
84 ifdatan2o(&ifdr->ifdr_data, &ifi);
96 if_export_if_data(ifp, &ifi, true);
97 ifdatan2o(&ifdr->ifdr_data, &ifi);
  /src/sbin/ifconfig/
ifconfig.c 1275 struct if_data *ifi; local in function:status
1376 ifi = &ifdr.ifdr_data;
1378 print_plural("\tinput: ", ifi->ifi_ipackets, "packet");
1379 print_human_bytes(hflag, ifi->ifi_ibytes);
1380 if (ifi->ifi_imcasts)
1381 print_plural(", ", ifi->ifi_imcasts, "multicast");
1382 if (ifi->ifi_ierrors)
1383 print_plural(", ", ifi->ifi_ierrors, "error");
1384 if (ifi->ifi_iqdrops)
1385 print_plural(", ", ifi->ifi_iqdrops, "queue drop")
    [all...]
media.c 419 struct if_data *ifi = &ifdr.ifdr_data; local in function:media_status
427 if (ifi->ifi_link_state != LINK_STATE_UNKNOWN)
428 print_link_status(ifi->ifi_type, ifi->ifi_link_state);
  /src/usr.sbin/ifwatchd/
ifwatchd.c 566 const struct if_data *ifi; local in function:run_initial_ups
607 ifi = (const struct if_data *)p->ifa_data;
608 if (ifd->last_carrier_status == ifi->ifi_link_state)
610 switch (ifi->ifi_link_state) {
620 ifd->last_carrier_status = ifi->ifi_link_state;
  /src/sys/dev/ic/
ath.c 5409 struct if_data ifi; local in function:ath_ioctl
5417 if_export_if_data(ifp, &ifi, false);
5418 stats_out.ast_tx_packets = ifi.ifi_opackets;
5419 stats_out.ast_rx_packets = ifi.ifi_ipackets;

Completed in 21 milliseconds