From f0646875d0bc941e339d305d0c68b13543cd6f2a Mon Sep 17 00:00:00 2001 From: Sander Vrijders Date: Tue, 25 Oct 2016 13:22:51 +0200 Subject: lib, irmd, ipcpd: Add name querying to IPCPs This adds the ability to query IPCPs if a name can be reached through them, e.g. if a name is available in a DIF. This means that in the shim-udp a DNS query is performed, in the shim-eth-llc an ARP-like query has been added, in the local a check is done to see if the name is registered, and in the normal currently no application is reachable through it. --- src/irmd/registry.h | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'src/irmd/registry.h') diff --git a/src/irmd/registry.h b/src/irmd/registry.h index 35c4c10b..10cb12e8 100644 --- a/src/irmd/registry.h +++ b/src/irmd/registry.h @@ -27,15 +27,15 @@ #include #include +#include "api_table.h" +#include "apn_table.h" + #include #include #include #include #include -#include "api_table.h" -#include "apn_table.h" - #define registry_has_name(r, name) \ (registry_get_entry(r, name) != NULL) @@ -99,9 +99,6 @@ void registry_sanitize_apis(struct list_head * registry); struct reg_entry * registry_get_entry(struct list_head * registry, char * name); -char * registry_get_dif_for_dst(struct list_head * registry, - char * dst_name); - int registry_add_name_to_dif(struct list_head * registry, char * name, char * dif_name, -- cgit v1.2.3