]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/common/pick_address.h
update sources to v12.2.0
[ceph.git] / ceph / src / common / pick_address.h
index eb2c104fc6ea801e23dc91ad997ecbddfd91e28f..c7c813d640a1b258543fbc42fdfdb937de8daeaf 100644 (file)
@@ -30,6 +30,12 @@ class CephContext;
  */
 void pick_addresses(CephContext *cct, int needs);
 
+/**
+ * Find a network interface whose address matches the address/netmask
+ * in `network`.
+ */
+std::string pick_iface(CephContext *cct, const struct sockaddr_storage &network);
+
 /**
  * check for a locally configured address
  *