Ignore:
File:
1 edited

Legend:

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

    r7bf12387 r9934f7d  
    7777#include <il_skel.h>
    7878
     79// FIXME: remove this header
     80#include <kernel/ipc/ipc_methods.h>
     81
    7982/** IP module name. */
    8083#define NAME                    "ip"
     
    120123GENERIC_FIELD_IMPLEMENT(ip_routes, ip_route_t);
    121124
    122 static void ip_receiver(ipc_callid_t, ipc_call_t *);
     125static void ip_receiver(ipc_callid_t, ipc_call_t *, void *);
    123126
    124127/** Releases the packet and returns the result.
     
    15911594 * @param[in]     iid   Message identifier.
    15921595 * @param[in,out] icall Message parameters.
    1593  *
    1594  */
    1595 static void ip_receiver(ipc_callid_t iid, ipc_call_t *icall)
     1596 * @param[in]     arg   Local argument.
     1597 */
     1598static void ip_receiver(ipc_callid_t iid, ipc_call_t *icall, void *arg)
    15961599{
    15971600        packet_t *packet;
     
    19131916       
    19141917        *answer_count = 0;
     1918       
     1919        if (!IPC_GET_IMETHOD(*call))
     1920                return EOK;
     1921       
    19151922        switch (IPC_GET_IMETHOD(*call)) {
    1916         case IPC_M_PHONE_HUNGUP:
    1917                 return EOK;
    1918        
    19191923        case IPC_M_CONNECT_TO_ME:
    19201924                return ip_register(IL_GET_PROTO(*call), IL_GET_SERVICE(*call),
Note: See TracChangeset for help on using the changeset viewer.