Changes in uspace/srv/net/il/arp/arp_module.c [08e3ca4:e9caf47] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/il/arp/arp_module.c
r08e3ca4 re9caf47 41 41 #include <async.h> 42 42 #include <stdio.h> 43 #include <err no.h>43 #include <err.h> 44 44 45 45 #include <ipc/ipc.h> … … 66 66 int il_module_start_standalone(async_client_conn_t client_connection) 67 67 { 68 ipcarg_t phonehash; 69 int rc; 68 ERROR_DECLARE; 70 69 71 70 async_set_client_connection(client_connection); 72 71 arp_globals.net_phone = net_connect_module(); 72 ERROR_PROPAGATE(pm_init()); 73 73 74 rc = pm_init(); 75 if (rc != EOK) 76 return rc; 77 78 rc = arp_initialize(client_connection); 79 if (rc != EOK) 80 goto out; 81 82 rc = REGISTER_ME(SERVICE_ARP, &phonehash); 83 if (rc != EOK) 84 goto out; 74 ipcarg_t phonehash; 75 if (ERROR_OCCURRED(arp_initialize(client_connection)) || 76 ERROR_OCCURRED(REGISTER_ME(SERVICE_ARP, &phonehash))) { 77 pm_destroy(); 78 return ERROR_CODE; 79 } 85 80 86 81 async_manager(); 87 88 out: 82 89 83 pm_destroy(); 90 return rc;84 return EOK; 91 85 } 92 86
Note:
See TracChangeset
for help on using the changeset viewer.