1 /* 2 * Copyright (C) 1996-2021 The Squid Software Foundation and contributors 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 9 #ifndef _SQUID_SRC_IP_TOOLS_H 10 #define _SQUID_SRC_IP_TOOLS_H 11 12 namespace Ip 13 { 14 15 /// Probe to discover IPv6 capabilities 16 void ProbeTransport(void); 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 27 } // namespace Ip 28 29 #endif /* _SQUID_SRC_IP_TOOLS_H */ 30 31