ARP interface implementation for standalone remote modules. More...
#include <async.h>
#include <errno.h>
#include <ipc/ipc.h>
#include <ipc/services.h>
#include "../../messages.h"
#include "../../modules.h"
#include "../../include/device.h"
#include "../../include/arp_interface.h"
#include "../../structures/measured_strings.h"
#include "arp_messages.h"
Functions | |
ARP module interface | |
int | arp_connect_module (services_t service) |
Connects to the ARP module. | |
int | arp_clean_cache_req (int arp_phone) |
Cleans the cache. | |
int | arp_clear_address_req (int arp_phone, device_id_t device_id, services_t protocol, measured_string_ref address) |
Clears the given protocol address from the cache. | |
int | arp_clear_device_req (int arp_phone, device_id_t device_id) |
Clears the device cache. | |
int | arp_device_req (int arp_phone, device_id_t device_id, services_t protocol, services_t netif, measured_string_ref address) |
Registers the new device and the requesting protocol service. | |
task_id_t | arp_task_get_id (void) |
Returns the ARP task identifier. | |
int | arp_translate_req (int arp_phone, device_id_t device_id, services_t protocol, measured_string_ref address, measured_string_ref *translation, char **data) |
Translates the given protocol address to the network interface address. |
ARP interface implementation for standalone remote modules.