From cdcfbfcf608035797b5ceaf6f7fefa77ce5cb27a Mon Sep 17 00:00:00 2001 From: Alberto Compagno Date: Thu, 21 Nov 2019 12:06:33 +0000 Subject: [HICN-406] Adding face deletion on the hicn-plugin when the corresponding socket is destroyed Signed-off-by: Alberto Compagno Change-Id: I09268dc5ae2ad465b4a4f68607732c0d3f48e62e --- libtransport/src/hicn/transport/core/vpp_forwarder_interface.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'libtransport/src/hicn/transport/core/vpp_forwarder_interface.h') diff --git a/libtransport/src/hicn/transport/core/vpp_forwarder_interface.h b/libtransport/src/hicn/transport/core/vpp_forwarder_interface.h index 62af8bc3b..b1cb4b9b3 100644 --- a/libtransport/src/hicn/transport/core/vpp_forwarder_interface.h +++ b/libtransport/src/hicn/transport/core/vpp_forwarder_interface.h @@ -68,7 +68,10 @@ class VPPForwarderInterface static vpp_plugin_binary_api_t *hicn_api_; uint32_t memif_id_; uint32_t sw_if_index_; - uint32_t face_id_; + //A consumer socket in vpp has two faces (ipv4 and ipv6) + uint32_t face_id1_; + uint32_t face_id2_; + bool is_consumer_; static std::mutex global_lock_; }; -- cgit 1.2.3-korg