Changeset 08e3ca4 in mainline
- Timestamp:
- 2010-11-03T22:31:48Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- d8f95529
- Parents:
- 02314f8
- Location:
- uspace/srv/net
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/il/arp/arp_module.c
r02314f8 r08e3ca4 77 77 78 78 rc = arp_initialize(client_connection); 79 if (rc != EOK) { 80 pm_destroy(); 81 return rc; 82 } 79 if (rc != EOK) 80 goto out; 83 81 84 82 rc = REGISTER_ME(SERVICE_ARP, &phonehash); 85 if (rc != EOK) { 86 pm_destroy(); 87 return rc; 88 } 83 if (rc != EOK) 84 goto out; 89 85 90 86 async_manager(); 91 87 88 out: 92 89 pm_destroy(); 93 return EOK;90 return rc; 94 91 } 95 92 -
uspace/srv/net/nil/eth/eth_module.c
r02314f8 r08e3ca4 63 63 64 64 rc = nil_initialize(net_phone); 65 if (rc != EOK) { 66 pm_destroy(); 67 return rc; 68 } 65 if (rc != EOK) 66 goto out; 69 67 70 68 rc = REGISTER_ME(SERVICE_ETHERNET, &phonehash); 71 if (rc != EOK) { 72 pm_destroy(); 73 return rc; 74 } 69 if (rc != EOK) 70 goto out; 75 71 76 72 async_manager(); 77 73 74 out: 78 75 pm_destroy(); 79 return EOK;76 return rc; 80 77 } 81 78 -
uspace/srv/net/nil/nildummy/nildummy_module.c
r02314f8 r08e3ca4 64 64 65 65 rc = nil_initialize(net_phone); 66 if (rc != EOK) { 67 pm_destroy(); 68 return rc; 69 } 66 if (rc != EOK) 67 goto out; 70 68 71 69 rc = REGISTER_ME(SERVICE_NILDUMMY, &phonehash); 72 if (rc != EOK) { 73 pm_destroy(); 74 return rc; 75 } 70 if (rc != EOK) 71 goto out; 76 72 77 73 async_manager(); 78 74 75 out: 79 76 pm_destroy(); 80 return EOK;77 return rc; 81 78 } 82 79
Note:
See TracChangeset
for help on using the changeset viewer.