util: FaceUri: add syntax for NIC-associated permanent faces
refs #3522
Change-Id: Id2c9f751d7d1f65b2f0ef968aad660e95250d155
diff --git a/src/util/face-uri.hpp b/src/util/face-uri.hpp
index f7cbe41..b222323 100644
--- a/src/util/face-uri.hpp
+++ b/src/util/face-uri.hpp
@@ -1,6 +1,6 @@
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/**
- * Copyright (c) 2014, Regents of the University of California,
+ * Copyright (c) 2014-2016, Regents of the University of California,
* Arizona Board of Regents,
* Colorado State University,
* University Pierre & Marie Curie, Sorbonne University,
@@ -103,6 +103,10 @@
static FaceUri
fromDev(const std::string& ifname);
+ /// create udp4 or udp6 NIC-associated FaceUri from endpoint and network device name
+ static FaceUri
+ fromUdpDev(const boost::asio::ip::udp::endpoint& endpoint, const std::string& ifname);
+
public: // getters
/// get scheme (protocol)
const std::string&