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/ipcpd/shim-eth-llc/shim_eth_llc_messages.proto | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'src/ipcpd/shim-eth-llc/shim_eth_llc_messages.proto') diff --git a/src/ipcpd/shim-eth-llc/shim_eth_llc_messages.proto b/src/ipcpd/shim-eth-llc/shim_eth_llc_messages.proto index 0e8a1ce2..4d027d98 100644 --- a/src/ipcpd/shim-eth-llc/shim_eth_llc_messages.proto +++ b/src/ipcpd/shim-eth-llc/shim_eth_llc_messages.proto @@ -1,14 +1,16 @@ enum shim_eth_llc_msg_code { - FLOW_REQ = 1; - FLOW_REPLY = 2; - FLOW_DEALLOC = 3; + FLOW_REQ = 1; + FLOW_REPLY = 2; + FLOW_DEALLOC = 3; + NAME_QUERY_REQ = 4; + NAME_QUERY_REPLY = 5; }; message shim_eth_llc_msg { required shim_eth_llc_msg_code code = 1; optional string dst_name = 2; optional string src_ae_name = 3; - required uint32 ssap = 4; + optional uint32 ssap = 4; optional uint32 dsap = 5; optional sint32 response = 6; }; -- cgit v1.2.3