Ignore:
File:
1 edited

Legend:

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

    r9934f7d r7bf12387  
    7777#include <il_skel.h>
    7878
    79 // FIXME: remove this header
    80 #include <kernel/ipc/ipc_methods.h>
    81 
    8279/** IP module name. */
    8380#define NAME                    "ip"
     
    123120GENERIC_FIELD_IMPLEMENT(ip_routes, ip_route_t);
    124121
    125 static void ip_receiver(ipc_callid_t, ipc_call_t *, void *);
     122static void ip_receiver(ipc_callid_t, ipc_call_t *);
    126123
    127124/** Releases the packet and returns the result.
     
    15941591 * @param[in]     iid   Message identifier.
    15951592 * @param[in,out] icall Message parameters.
    1596  * @param[in]     arg   Local argument.
    1597  */
    1598 static void ip_receiver(ipc_callid_t iid, ipc_call_t *icall, void *arg)
     1593 *
     1594 */
     1595static void ip_receiver(ipc_callid_t iid, ipc_call_t *icall)
    15991596{
    16001597        packet_t *packet;
     
    19161913       
    19171914        *answer_count = 0;
    1918        
    1919         if (!IPC_GET_IMETHOD(*call))
     1915        switch (IPC_GET_IMETHOD(*call)) {
     1916        case IPC_M_PHONE_HUNGUP:
    19201917                return EOK;
    19211918       
    1922         switch (IPC_GET_IMETHOD(*call)) {
    19231919        case IPC_M_CONNECT_TO_ME:
    19241920                return ip_register(IL_GET_PROTO(*call), IL_GET_SERVICE(*call),
Note: See TracChangeset for help on using the changeset viewer.