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


Ignore:
Timestamp:
2010-04-23T21:42:26Z (14 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
6c39a907
Parents:
38aaacc2 (diff), 80badbe (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge mainline changes.

File:
1 edited

Legend:

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

    r38aaacc2 rf4f866c  
    4848#include <net_interface.h>
    4949#include <packet/packet.h>
    50 #include <il_standalone.h>
     50#include <il_local.h>
    5151
    5252#include "arp.h"
     
    6565 *  @returns Other error codes as defined for the arp_message() function.
    6666 */
    67 int il_module_message(ipc_callid_t callid, ipc_call_t * call, ipc_call_t * answer, int * answer_count){
    68         return arp_message(callid, call, answer, answer_count);
     67int il_module_message_standalone(ipc_callid_t callid, ipc_call_t * call, ipc_call_t * answer, int * answer_count){
     68        return arp_message_standalone(callid, call, answer, answer_count);
    6969}
    7070
     
    7676 *  @returns Other error codes as defined for the REGISTER_ME() macro function.
    7777 */
    78 int il_module_start(async_client_conn_t client_connection){
     78int il_module_start_standalone(async_client_conn_t client_connection){
    7979        ERROR_DECLARE;
    80 
    81         ipcarg_t phonehash;
    82 
     80       
    8381        async_set_client_connection(client_connection);
    8482        arp_globals.net_phone = net_connect_module(SERVICE_NETWORKING);
    8583        ERROR_PROPAGATE(pm_init());
    86         if(ERROR_OCCURRED(arp_initialize(client_connection))
    87                 || ERROR_OCCURRED(REGISTER_ME(SERVICE_ARP, &phonehash))){
     84       
     85        ipcarg_t phonehash;
     86        if (ERROR_OCCURRED(arp_initialize(client_connection))
     87            || ERROR_OCCURRED(REGISTER_ME(SERVICE_ARP, &phonehash))) {
    8888                pm_destroy();
    8989                return ERROR_CODE;
    9090        }
    91 
     91       
    9292        async_manager();
    93 
     93       
    9494        pm_destroy();
    9595        return EOK;
Note: See TracChangeset for help on using the changeset viewer.