]> git.ipfire.org Git - thirdparty/squid.git/blob - src/ip/forward.h
324baf27003c94560e5b303b0a4c22101446ef84
[thirdparty/squid.git] / src / ip / forward.h
1 /*
2 * Copyright (C) 1996-2019 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 /* DEBUG: section 14 IP Storage and Handling */
10
11 #ifndef _SQUID_IP_FORWARD_H
12 #define _SQUID_IP_FORWARD_H
13
14 // Forward-declare Ip classes needed by reference in other parts of the code
15 // for passing objects around without actually touching them
16 namespace Ip
17 {
18 class Address;
19 }
20
21 /// Length of buffer that needs to be allocated to old a null-terminated IP-string
22 // Yuck. But there are still structures that need it to be an 'integer constant'.
23 #define MAX_IPSTRLEN 75
24
25 typedef uint32_t nfmark_t;
26 typedef unsigned char tos_t;
27
28 #endif /* _SQUID_IP_FORWARD_H */
29