Changeset e9caf47 in mainline for uspace/srv/net/il/arp/arp_module.c
- Timestamp:
- 2010-10-27T23:06:48Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- e8199d77
- Parents:
- 0a3fbc7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/il/arp/arp_module.c
r0a3fbc7 re9caf47 32 32 33 33 /** @file 34 * ARP standalone module implementation. 35 * Contains skeleton module functions mapping. 36 * The functions are used by the module skeleton as module specific entry points. 37 * @see module.c 34 * ARP standalone module implementation. 35 * Contains skeleton module functions mapping. 36 * The functions are used by the module skeleton as module specific entry 37 * points. 38 * @see module.c 38 39 */ 39 40 … … 53 54 #include "arp_module.h" 54 55 55 /** ARP module global data. 56 */ 57 extern arp_globals_t arp_globals; 56 /** ARP module global data. */ 57 extern arp_globals_t arp_globals; 58 58 59 int il_module_message_standalone(ipc_callid_t callid, ipc_call_t * call, ipc_call_t * answer, int * answer_count){ 59 int 60 il_module_message_standalone(ipc_callid_t callid, ipc_call_t *call, 61 ipc_call_t *answer, int *answer_count) 62 { 60 63 return arp_message_standalone(callid, call, answer, answer_count); 61 64 } 62 65 63 int il_module_start_standalone(async_client_conn_t client_connection){ 66 int il_module_start_standalone(async_client_conn_t client_connection) 67 { 64 68 ERROR_DECLARE; 65 69 … … 69 73 70 74 ipcarg_t phonehash; 71 if (ERROR_OCCURRED(arp_initialize(client_connection)) 72 ||ERROR_OCCURRED(REGISTER_ME(SERVICE_ARP, &phonehash))) {75 if (ERROR_OCCURRED(arp_initialize(client_connection)) || 76 ERROR_OCCURRED(REGISTER_ME(SERVICE_ARP, &phonehash))) { 73 77 pm_destroy(); 74 78 return ERROR_CODE;
Note:
See TracChangeset
for help on using the changeset viewer.