Changeset f4f866c in mainline for uspace/srv/net/il/arp/arp_module.c
- Timestamp:
- 2010-04-23T21:42:26Z (14 years ago)
- 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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/il/arp/arp_module.c
r38aaacc2 rf4f866c 48 48 #include <net_interface.h> 49 49 #include <packet/packet.h> 50 #include <il_ standalone.h>50 #include <il_local.h> 51 51 52 52 #include "arp.h" … … 65 65 * @returns Other error codes as defined for the arp_message() function. 66 66 */ 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);67 int 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); 69 69 } 70 70 … … 76 76 * @returns Other error codes as defined for the REGISTER_ME() macro function. 77 77 */ 78 int il_module_start (async_client_conn_t client_connection){78 int il_module_start_standalone(async_client_conn_t client_connection){ 79 79 ERROR_DECLARE; 80 81 ipcarg_t phonehash; 82 80 83 81 async_set_client_connection(client_connection); 84 82 arp_globals.net_phone = net_connect_module(SERVICE_NETWORKING); 85 83 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))) { 88 88 pm_destroy(); 89 89 return ERROR_CODE; 90 90 } 91 91 92 92 async_manager(); 93 93 94 94 pm_destroy(); 95 95 return EOK;
Note:
See TracChangeset
for help on using the changeset viewer.