Changeset af7638e in mainline
- Timestamp:
- 2010-10-16T15:58:16Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 9b9d1c95
- Parents:
- faa3588
- Location:
- uspace
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/net/il/arp_remote.c
rfaa3588 raf7638e 146 146 } 147 147 148 /** Returns the ARP task identifier.149 *150 * @returns 0 if called by the remote module.151 */152 task_id_t arp_task_get_id(void)153 {154 return 0;155 }156 157 148 /** Translates the given protocol address to the network interface address. 158 149 * -
uspace/lib/net/include/arp_interface.h
rfaa3588 raf7638e 56 56 extern int arp_clean_cache_req(int); 57 57 extern int arp_connect_module(services_t); 58 extern task_id_t arp_task_get_id(void);59 58 60 59 /*@}*/ -
uspace/srv/net/il/arp/arp.c
rfaa3588 raf7638e 534 534 } 535 535 return EOK; 536 }537 538 task_id_t arp_task_get_id(void){539 return task_get_id();540 536 } 541 537 -
uspace/srv/net/il/ip/ip.c
rfaa3588 raf7638e 423 423 ip_globals.client_connection = client_connection; 424 424 ERROR_PROPAGATE(modules_initialize(&ip_globals.modules)); 425 ERROR_PROPAGATE(add_module(NULL, &ip_globals.modules, ARP_NAME, ARP_FILENAME, SERVICE_ARP, arp_task_get_id(), arp_connect_module));425 ERROR_PROPAGATE(add_module(NULL, &ip_globals.modules, ARP_NAME, ARP_FILENAME, SERVICE_ARP, 0, arp_connect_module)); 426 426 fibril_rwlock_write_unlock(&ip_globals.lock); 427 427 return EOK;
Note:
See TracChangeset
for help on using the changeset viewer.