Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset af7638e in mainline


Ignore:
Timestamp:
2010-10-16T15:58:16Z (10 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
master
Children:
9b9d1c95
Parents:
faa3588
Message:

Retire arp_task_get_id().

Location:
uspace
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/net/il/arp_remote.c

    rfaa3588 raf7638e  
    146146}
    147147
    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 
    157148/** Translates the given protocol address to the network interface address.
    158149 *
  • uspace/lib/net/include/arp_interface.h

    rfaa3588 raf7638e  
    5656extern int arp_clean_cache_req(int);
    5757extern int arp_connect_module(services_t);
    58 extern task_id_t arp_task_get_id(void);
    5958
    6059/*@}*/
  • uspace/srv/net/il/arp/arp.c

    rfaa3588 raf7638e  
    534534        }
    535535        return EOK;
    536 }
    537 
    538 task_id_t arp_task_get_id(void){
    539         return task_get_id();
    540536}
    541537
  • uspace/srv/net/il/ip/ip.c

    rfaa3588 raf7638e  
    423423        ip_globals.client_connection = client_connection;
    424424        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));
    426426        fibril_rwlock_write_unlock(&ip_globals.lock);
    427427        return EOK;
Note: See TracChangeset for help on using the changeset viewer.