Lines Matching refs:if_data
423 interface->if_data.ifi_mtu = mtu;
432 retval = interface == NULL ? 0 : interface->if_data.ifi_mtu;
442 retval = interface == NULL ? 0 : interface->if_data.ifi_type;
454 interface->if_data.ifi_typelen = typelen;
464 retval = interface == NULL ? 0 : interface->if_data.ifi_typelen;
475 interface->if_data.ifi_addrlen = addrlen;
484 retval = interface == NULL ? 0 : interface->if_data.ifi_addrlen;
494 interface->if_data.ifi_hdrlen = hdrlen;
503 retval = interface == NULL ? 0 : interface->if_data.ifi_hdrlen;
513 interface->if_data.ifi_metric = metric;
522 retval = interface == NULL ? 0 : interface->if_data.ifi_metric;
533 interface->if_data.ifi_baudrate = baudrate > 0xFFFFFFFF ? 0xFFFFFFFF : baudrate;
542 retval = interface == NULL ? 0 : interface->if_data.ifi_baudrate;
559 interface->if_data.ifi_ipackets += counts->packets_in;
560 interface->if_data.ifi_ibytes += counts->bytes_in;
561 interface->if_data.ifi_ierrors += counts->errors_in;
563 interface->if_data.ifi_opackets += counts->packets_out;
564 interface->if_data.ifi_obytes += counts->bytes_out;
565 interface->if_data.ifi_oerrors += counts->errors_out;
567 interface->if_data.ifi_collisions += counts->collisions;
568 interface->if_data.ifi_iqdrops += counts->dropped;
594 interface->if_data.ifi_ipackets += packets_in;
595 interface->if_data.ifi_ibytes += bytes_in;
596 interface->if_data.ifi_ierrors += errors_in;
620 interface->if_data.ifi_opackets += packets_out;
621 interface->if_data.ifi_obytes += bytes_out;
622 interface->if_data.ifi_oerrors += errors_out;
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;
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;
734 *last_change = interface->if_data.ifi_lastchange;