]>
Commit | Line | Data |
---|---|---|
e06b8df8 | 1 | /* |
4ac4a490 | 2 | * Copyright (C) 1996-2017 The Squid Software Foundation and contributors |
e06b8df8 | 3 | * |
bbc27441 AJ |
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. | |
e06b8df8 | 7 | */ |
bbc27441 AJ |
8 | |
9 | /* DEBUG: section 14 IP Storage and Handling */ | |
10 | ||
e06b8df8 HN |
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 | |
f3378ccf A |
16 | namespace Ip |
17 | { | |
e06b8df8 HN |
18 | class Address; |
19 | } | |
d9538350 | 20 | |
1a7cfe02 AJ |
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 | ||
d9538350 FC |
25 | typedef uint32_t nfmark_t; |
26 | typedef unsigned char tos_t; | |
27 | ||
e06b8df8 | 28 | #endif /* _SQUID_IP_FORWARD_H */ |
f53969cc | 29 |