Ignore:
File:
1 edited

Legend:

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

    r609243f4 rffa2c8ef  
    3838#define NET_ARP_H_
    3939
    40 #include <async.h>
    4140#include <fibril_synch.h>
    4241#include <ipc/services.h>
     
    9291struct arp_device {
    9392        /** Actual device hardware address. */
    94         uint8_t addr[NIC_MAX_ADDRESS_LENGTH];
    95         /** Actual device hardware address length. */
    96         size_t addr_len;
     93        measured_string_t *addr;
     94        /** Actual device hardware address data. */
     95        uint8_t *addr_data;
    9796        /** Broadcast device hardware address. */
    98         uint8_t broadcast_addr[NIC_MAX_ADDRESS_LENGTH];
    99         /** Broadcast device hardware address length. */
    100         size_t broadcast_addr_len;
     97        measured_string_t *broadcast_addr;
     98        /** Broadcast device hardware address data. */
     99        uint8_t *broadcast_data;
    101100        /** Device identifier. */
    102         nic_device_id_t device_id;
     101        device_id_t device_id;
    103102        /** Hardware type. */
    104103        hw_type_t hardware;
    105104        /** Packet dimension. */
    106105        packet_dimension_t packet_dimension;
    107         /** Device module session. */
    108         async_sess_t *sess;
     106        /** Device module phone. */
     107        int phone;
    109108       
    110109        /**
     
    123122        arp_cache_t cache;
    124123       
    125         /** Networking module session. */
    126         async_sess_t *net_sess;
    127        
     124        /** Networking module phone. */
     125        int net_phone;
    128126        /** Safety lock. */
    129127        fibril_mutex_t lock;
Note: See TracChangeset for help on using the changeset viewer.