Ignore:
File:
1 edited

Legend:

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

    r609243f4 rffa2c8ef  
    3838#define NET_IP_H_
    3939
    40 #include <async.h>
    4140#include <fibril_synch.h>
    4241#include <ipc/services.h>
     
    9291        in_addr_t broadcast;
    9392        /** Device identifier. */
    94         nic_device_id_t device_id;
     93        device_id_t device_id;
    9594        /** Indicates whether using DHCP. */
    9695        int dhcp;
     
    9998        /** Packet dimension. */
    10099        packet_dimension_t packet_dimension;
    101         /** Netif module session. */
    102         async_sess_t *sess;
     100        /** Netif module phone. */
     101        int phone;
    103102        /** Routing table. */
    104103        ip_routes_t routes;
     
    108107        services_t service;
    109108        /** Device state. */
    110         nic_device_state_t state;
     109        device_state_t state;
    111110};
    112111
    113112/** IP protocol specific data. */
    114113struct ip_proto {
    115         /** Protocol module session. */
    116         async_sess_t *sess;
     114        /** Protocol module phone. */
     115        int phone;
    117116        /** Protocol number. */
    118117        int protocol;
     
    143142        /** Known support modules. */
    144143        modules_t modules;
    145         /** Networking module session. */
    146         async_sess_t *net_sess;
     144        /** Networking module phone. */
     145        int net_phone;
    147146        /** Registered network interfaces. */
    148147        ip_netifs_t netifs;
Note: See TracChangeset for help on using the changeset viewer.