Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/include/device/nic.h

    r9cd8165 r6d8455d  
    3737
    3838#include <async.h>
    39 #include <nic/nic.h>
    40 #include <ipc/common.h>
     39#include <net/device.h>
     40#include <net/packet.h>
     41#include <ipc/services.h>
    4142
    4243typedef enum {
    4344        NIC_SEND_MESSAGE = 0,
    44         NIC_CALLBACK_CREATE,
     45        NIC_CONNECT_TO_NIL,
    4546        NIC_GET_STATE,
    4647        NIC_SET_STATE,
     
    8485} nic_funcs_t;
    8586
    86 typedef enum {
    87         NIC_EV_ADDR_CHANGED = IPC_FIRST_USER_METHOD,
    88         NIC_EV_RECEIVED,
    89         NIC_EV_DEVICE_STATE
    90 } nic_event_t;
    91 
    9287extern int nic_send_frame(async_sess_t *, void *, size_t);
    93 extern int nic_callback_create(async_sess_t *, async_client_conn_t, void *);
     88extern int nic_connect_to_nil(async_sess_t *, services_t, nic_device_id_t);
    9489extern int nic_get_state(async_sess_t *, nic_device_state_t *);
    9590extern int nic_set_state(async_sess_t *, nic_device_state_t);
Note: See TracChangeset for help on using the changeset viewer.