Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/net/il/arp/arp.h

    rffa2c8ef r609243f4  
    3838#define NET_ARP_H_
    3939
     40#include <async.h>
    4041#include <fibril_synch.h>
    4142#include <ipc/services.h>
     
    9192struct arp_device {
    9293        /** Actual device hardware address. */
    93         measured_string_t *addr;
    94         /** Actual device hardware address data. */
    95         uint8_t *addr_data;
     94        uint8_t addr[NIC_MAX_ADDRESS_LENGTH];
     95        /** Actual device hardware address length. */
     96        size_t addr_len;
    9697        /** Broadcast device hardware address. */
    97         measured_string_t *broadcast_addr;
    98         /** Broadcast device hardware address data. */
    99         uint8_t *broadcast_data;
     98        uint8_t broadcast_addr[NIC_MAX_ADDRESS_LENGTH];
     99        /** Broadcast device hardware address length. */
     100        size_t broadcast_addr_len;
    100101        /** Device identifier. */
    101         device_id_t device_id;
     102        nic_device_id_t device_id;
    102103        /** Hardware type. */
    103104        hw_type_t hardware;
    104105        /** Packet dimension. */
    105106        packet_dimension_t packet_dimension;
    106         /** Device module phone. */
    107         int phone;
     107        /** Device module session. */
     108        async_sess_t *sess;
    108109       
    109110        /**
     
    122123        arp_cache_t cache;
    123124       
    124         /** Networking module phone. */
    125         int net_phone;
     125        /** Networking module session. */
     126        async_sess_t *net_sess;
     127       
    126128        /** Safety lock. */
    127129        fibril_mutex_t lock;
Note: See TracChangeset for help on using the changeset viewer.