This file is indexed.

/usr/include/libfilezilla/iputils.hpp is in libfilezilla-dev 0.4.0.1-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
#ifndef LIBFILEZILLA_IPUTILS_HEADER
#define LIBFILEZILLA_IPUTILS_HEADER

#include "libfilezilla.hpp"

/** \file
 * \brief Various functions to deal with IP address strings
 */

namespace fz {

/** \brief Given a shortened IPv6 address, returns the full, unshortened address
 *
 * If passed address is encloded in square brackes, they are stripped.
 *
 * Returns an empty string if the passed string isn't a valid IPv6 address.
 */
std::string FZ_PUBLIC_SYMBOL get_ipv6_long_form(std::string const& short_address);
std::wstring FZ_PUBLIC_SYMBOL get_ipv6_long_form(std::wstring const& short_address);

/** \brief Tests whether the passed IP address is routable on the public Internet.
 *
 * Unroutable addresss are:
 * \li Invalid addresses
 * \li ::/128 (the unspecified address)
 * \li ::1/128 (localhost)
 * \li fe80::/10 (link-local)
 * \li fc00::/7 (unique local)
 * \li 127.0.0.0/8 (localhost)
 * \li 10.0.0.0/8 (private)
 * \li 172.16.0.0/12 (private)
 * \li 192.168.0.0/16 (private)
 * \li 169.254.0.0/16 (link-local)
 *
 * All other addresses are assumed routable.
 */
bool FZ_PUBLIC_SYMBOL is_routable_address(std::string const& address);
bool FZ_PUBLIC_SYMBOL is_routable_address(std::wstring const& address);

enum class address_type
{
	unknown,
	ipv4,
	ipv6
};

/** \brief Gets the type of the passed IP address. */
address_type FZ_PUBLIC_SYMBOL get_address_type(std::string const& address);
address_type FZ_PUBLIC_SYMBOL get_address_type(std::wstring const& address);

}

#endif