Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/net/include/nil_remote.h

    r609243f4 ree2fa30a  
    3434#define __NET_NIL_REMOTE_H__
    3535
     36#include <ipc/services.h>
    3637#include <net/device.h>
    3738#include <net/packet.h>
    38 #include <devman.h>
    3939#include <generic.h>
    4040#include <async.h>
     
    5858            packet_get_id(packet), sender, 0)
    5959
    60 extern int nil_device_req(async_sess_t *, nic_device_id_t, devman_handle_t,
    61     size_t);
    62 extern int nil_device_state_msg(async_sess_t *, nic_device_id_t, sysarg_t);
    63 extern int nil_received_msg(async_sess_t *, nic_device_id_t, packet_id_t);
    64 extern int nil_addr_changed_msg(async_sess_t *, nic_device_id_t,
    65     const nic_address_t *);
     60#define nil_device_req(sess, device_id, mtu, netif_service) \
     61        generic_device_req_remote(sess, NET_NIL_DEVICE, device_id, mtu, \
     62            netif_service)
     63
     64extern int nil_device_state_msg(async_sess_t *, device_id_t, sysarg_t);
     65extern int nil_received_msg(async_sess_t *, device_id_t, packet_t *,
     66    services_t);
    6667
    6768#endif
Note: See TracChangeset for help on using the changeset viewer.