72,19 → 72,6 |
*/ |
arp_globals_t arp_globals; |
|
/** Clears the whole cache. |
* @returns EOK on success. |
*/ |
int arp_clean_cache_req( int arp_phone ); |
|
/** Clears the device specific data from the cache. |
* @param arp_phone The ARP module phone used for (semi)remote calls. Input parameter. |
* @param device_id The device identifier. Input parameter. |
* @returns EOK on success. |
* @returns ENOENT if the device is not found in the cache. |
*/ |
int arp_clear_device_req( int arp_phone, device_id_t device_id ); |
|
/** Creates new protocol specific data. |
* @param proto Protocol specific data. Output parameter. |
* @param service Protocol module service. Input parameter. |
146,7 → 133,7 |
|
GENERIC_CHAR_MAP_IMPLEMENT( arp_addr, measured_string_t ) |
|
int arp_task_get_id( void ){ |
task_id_t arp_task_get_id( void ){ |
return task_get_id(); |
} |
|
521,8 → 508,7 |
if( ! ERROR_OCCURRED( packet_translate( arp_globals.net_phone, & packet, IPC_GET_PACKET( call )))){ |
rwlock_read_lock( & arp_globals.lock ); |
do{ |
next = pq_next( packet ); |
pq_detach( packet ); |
next = pq_detach( packet ); |
ERROR_CODE = arp_receive_message( IPC_GET_DEVICE( call ), packet ); |
if( ERROR_CODE != 1 ) pq_release( arp_globals.net_phone, packet_get_id( packet )); |
packet = next; |