]> git.ipfire.org Git - thirdparty/squid.git/blame - src/ip/tools.h
Source Format Enforcement (#763)
[thirdparty/squid.git] / src / ip / tools.h
CommitLineData
bbc27441 1/*
f70aedc4 2 * Copyright (C) 1996-2021 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
055421ee
AJ
9#ifndef _SQUID_SRC_IP_TOOLS_H
10#define _SQUID_SRC_IP_TOOLS_H
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
AJ
28
29#endif /* _SQUID_SRC_IP_TOOLS_H */
f53969cc 30