]> git.ipfire.org Git - thirdparty/squid.git/blame - src/ip/tools.h
Bug 5428: Warn if pkg-config is not found (#1902)
[thirdparty/squid.git] / src / ip / tools.h
CommitLineData
bbc27441 1/*
b8ae064d 2 * Copyright (C) 1996-2023 The Squid Software Foundation and contributors
bbc27441
AJ
3 *
4 * Squid software is distributed under GPLv2+ license and includes
5 * contributions from numerous individuals and organizations.
6 * Please see the COPYING and CONTRIBUTORS files for details.
7 */
8
ff9d9458
FC
9#ifndef SQUID_SRC_IP_TOOLS_H
10#define SQUID_SRC_IP_TOOLS_H
055421ee
AJ
11
12namespace Ip
13{
14
15/// Probe to discover IPv6 capabilities
82afb125 16void ProbeTransport(void);
055421ee
AJ
17
18/* Squids notion of IPv6 stack types and state */
19#define IPV6_OFF 0
20#define IPV6_ON 1
21#define IPV6_SPECIAL_V4MAPPING 2
22#define IPV6_SPECIAL_SPLITSTACK 4
23
24/// Whether IPv6 is supported and type of support.
25extern int EnableIpv6;
26
e5519212 27} // namespace Ip
055421ee 28
ff9d9458 29#endif /* SQUID_SRC_IP_TOOLS_H */
f53969cc 30