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/ipcp.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/irmd/ipcp.h') diff --git a/src/irmd/ipcp.h b/src/irmd/ipcp.h index 930695fa..67b14ece 100644 --- a/src/irmd/ipcp.h +++ b/src/irmd/ipcp.h @@ -44,6 +44,8 @@ int ipcp_name_reg(pid_t api, char * name); int ipcp_name_unreg(pid_t api, char * name); +int ipcp_name_query(pid_t api, + char * name); int ipcp_flow_alloc(pid_t api, int port_id, -- cgit v1.2.3