Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/net/netif/lo/lo.c

    rfb04cba8 r4eca056  
    7070}
    7171
    72 int netif_get_addr_message(device_id_t device_id, measured_string_ref address)
     72int netif_get_addr_message(device_id_t device_id, measured_string_t *address)
    7373{
    7474        if (!address)
     
    8181}
    8282
    83 int netif_get_device_stats(device_id_t device_id, device_stats_ref stats)
     83int netif_get_device_stats(device_id_t device_id, device_stats_t *stats)
    8484{
    8585        netif_device_t *device;
     
    9393                return rc;
    9494
    95         memcpy(stats, (device_stats_ref) device->specific,
     95        memcpy(stats, (device_stats_t *) device->specific,
    9696            sizeof(device_stats_t));
    9797
     
    145145        }
    146146
    147         null_device_stats((device_stats_ref) (*device)->specific);
     147        null_device_stats((device_stats_t *) (*device)->specific);
    148148        (*device)->device_id = device_id;
    149149        (*device)->nil_phone = -1;
     
    204204        next = packet;
    205205        do {
    206                 ((device_stats_ref) device->specific)->send_packets++;
    207                 ((device_stats_ref) device->specific)->receive_packets++;
     206                ((device_stats_t *) device->specific)->send_packets++;
     207                ((device_stats_t *) device->specific)->receive_packets++;
    208208                length = packet_get_data_length(next);
    209                 ((device_stats_ref) device->specific)->send_bytes += length;
    210                 ((device_stats_ref) device->specific)->receive_bytes += length;
     209                ((device_stats_t *) device->specific)->send_bytes += length;
     210                ((device_stats_t *) device->specific)->receive_bytes += length;
    211211                next = pq_next(next);
    212212        } while(next);
Note: See TracChangeset for help on using the changeset viewer.