]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/common/pick_address.h
update sources to 12.2.2
[ceph.git] / ceph / src / common / pick_address.h
index c7c813d640a1b258543fbc42fdfdb937de8daeaf..73020602b7eef303bd1b5c6a2dbe020877d2fe54 100644 (file)
@@ -47,4 +47,11 @@ std::string pick_iface(CephContext *cct, const struct sockaddr_storage &network)
  */
 bool have_local_addr(CephContext *cct, const list<entity_addr_t>& ls, entity_addr_t *match);
 
+
+const struct sockaddr *find_ip_in_subnet_list(
+  CephContext *cct,
+  const struct ifaddrs *ifa,
+  const std::string &networks,
+  const std::string &interfaces);
+
 #endif