Ignore:
File:
1 edited

Legend:

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

    rffa2c8ef r609243f4  
    3838#define NET_IP_H_
    3939
     40#include <async.h>
    4041#include <fibril_synch.h>
    4142#include <ipc/services.h>
     
    9192        in_addr_t broadcast;
    9293        /** Device identifier. */
    93         device_id_t device_id;
     94        nic_device_id_t device_id;
    9495        /** Indicates whether using DHCP. */
    9596        int dhcp;
     
    9899        /** Packet dimension. */
    99100        packet_dimension_t packet_dimension;
    100         /** Netif module phone. */
    101         int phone;
     101        /** Netif module session. */
     102        async_sess_t *sess;
    102103        /** Routing table. */
    103104        ip_routes_t routes;
     
    107108        services_t service;
    108109        /** Device state. */
    109         device_state_t state;
     110        nic_device_state_t state;
    110111};
    111112
    112113/** IP protocol specific data. */
    113114struct ip_proto {
    114         /** Protocol module phone. */
    115         int phone;
     115        /** Protocol module session. */
     116        async_sess_t *sess;
    116117        /** Protocol number. */
    117118        int protocol;
     
    142143        /** Known support modules. */
    143144        modules_t modules;
    144         /** Networking module phone. */
    145         int net_phone;
     145        /** Networking module session. */
     146        async_sess_t *net_sess;
    146147        /** Registered network interfaces. */
    147148        ip_netifs_t netifs;
Note: See TracChangeset for help on using the changeset viewer.