Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified uspace/lib/net/nil/nil_remote.c

    r1bc35b5 r609243f4  
    7777 */
    7878int nil_received_msg(async_sess_t *sess, nic_device_id_t device_id,
    79     void *data, size_t size)
     79    packet_id_t packet_id)
    8080{
    81         async_exch_t *exch = async_exchange_begin(sess);
    82 
    83         ipc_call_t answer;
    84         aid_t req = async_send_1(exch, NET_NIL_RECEIVED, (sysarg_t) device_id,
    85             &answer);
    86         sysarg_t retval = async_data_write_start(exch, data, size);
    87 
    88         async_exchange_end(exch);
    89 
    90         if (retval != EOK) {
    91                 async_wait_for(req, NULL);
    92                 return retval;
    93         }
    94 
    95         async_wait_for(req, &retval);
    96         return retval;
     81        return generic_received_msg_remote(sess, NET_NIL_RECEIVED,
     82            device_id, packet_id, 0, 0);
    9783}
    9884
Note: See TracChangeset for help on using the changeset viewer.