X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fceph%2Fsrc%2Finclude%2Fipaddr.h;fp=src%2Fceph%2Fsrc%2Finclude%2Fipaddr.h;h=0000000000000000000000000000000000000000;hb=7da45d65be36d36b880cc55c5036e96c24b53f00;hp=d9e096886545d64f37dfad603231a865c72f4467;hpb=691462d09d0987b47e112d6ee8740375df3c51b2;p=stor4nfv.git diff --git a/src/ceph/src/include/ipaddr.h b/src/ceph/src/include/ipaddr.h deleted file mode 100644 index d9e0968..0000000 --- a/src/ceph/src/include/ipaddr.h +++ /dev/null @@ -1,17 +0,0 @@ -#ifndef CEPH_IPADDR_H -#define CEPH_IPADDR_H - -/* - Find an IP address that is in the wanted subnet. - - If there are multiple matches, the first one is returned; this order - is system-dependent and should not be relied on. - */ -const struct ifaddrs *find_ip_in_subnet(const struct ifaddrs *addrs, - const struct sockaddr *net, - unsigned int prefix_len); - - -bool parse_network(const char *s, struct sockaddr_storage *network, unsigned int *prefix_len); - -#endif