ARP module interface. More...
#include "../structures/measured_strings.h"#include "device.h"
Functions | |
ARP module interface | |
| 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. | |
| 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. | |
| int | arp_clear_device_req (int arp_phone, device_id_t device_id) |
| Clears the device 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_clean_cache_req (int arp_phone) |
| Cleans the cache. | |
| int | arp_connect_module (services_t service) |
| Connects to the ARP module. | |
| task_id_t | arp_task_get_id (void) |
| Returns the ARP task identifier. | |
ARP module interface.
The same interface is used for standalone remote modules as well as for bundle modules. The standalone remote modules have to be compiled with the arp_remote.c source file. The bundle modules with the arp.c source file.
1.6.1