]>
Commit | Line | Data |
---|---|---|
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 | |
12 | namespace Ip | |
13 | { | |
14 | ||
15 | /// Probe to discover IPv6 capabilities | |
82afb125 | 16 | void 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. | |
25 | extern int EnableIpv6; | |
26 | ||
e5519212 | 27 | } // namespace Ip |
055421ee | 28 | |
ff9d9458 | 29 | #endif /* SQUID_SRC_IP_TOOLS_H */ |
f53969cc | 30 |