Changeset fe5a9fc in mainline for uspace/srv/net/il/arp/arp_module.c


Ignore:
Timestamp:
2011-01-12T11:25:54Z (13 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
73ac2e9
Parents:
77429d3
Message:

do not send extra ARP requests if a lookup is currently in progress (but remove the half-filled lookup data as soon as the lookup times out for the second time)
cstyle fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/net/il/arp/arp_module.c

    r77429d3 rfe5a9fc  
    5757extern arp_globals_t arp_globals;
    5858
    59 int il_module_message_standalone(ipc_callid_t callid, ipc_call_t *call,
     59int il_module_message(ipc_callid_t callid, ipc_call_t *call,
    6060    ipc_call_t *answer, size_t *count)
    6161{
    62         return arp_message_standalone(callid, call, answer, count);
     62        return arp_message(callid, call, answer, count);
    6363}
    6464
    65 int il_module_start_standalone(async_client_conn_t client_connection)
     65int il_module_start(async_client_conn_t client_connection)
    6666{
    6767        sysarg_t phonehash;
    68         int rc;
    6968       
    7069        async_set_client_connection(client_connection);
    7170        arp_globals.net_phone = net_connect_module();
    7271       
    73         rc = pm_init();
     72        int rc = pm_init();
    7473        if (rc != EOK)
    7574                return rc;
     
    8483       
    8584        async_manager();
    86 
     85       
    8786out:
    8887        pm_destroy();
Note: See TracChangeset for help on using the changeset viewer.