Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/net/nil/eth/eth.c

    r28a3e74 r9934f7d  
    6060#include <nil_skel.h>
    6161
     62// FIXME: remove this header
     63#include <kernel/ipc/ipc_methods.h>
     64
    6265#include "eth.h"
    6366
     
    228231 * @param[in] iid       The message identifier.
    229232 * @param[in,out] icall The message parameters.
    230  */
    231 static void eth_receiver(ipc_callid_t iid, ipc_call_t *icall)
     233 * @param[in] arg       Local argument.
     234 */
     235static void eth_receiver(ipc_callid_t iid, ipc_call_t *icall, void *arg)
    232236{
    233237        packet_t *packet;
     
    846850       
    847851        *answer_count = 0;
     852       
     853        if (!IPC_GET_IMETHOD(*call))
     854                return EOK;
     855       
    848856        switch (IPC_GET_IMETHOD(*call)) {
    849         case IPC_M_PHONE_HUNGUP:
    850                 return EOK;
    851        
    852857        case NET_NIL_DEVICE:
    853858                return eth_device_message(IPC_GET_DEVICE(*call),
Note: See TracChangeset for help on using the changeset viewer.