]>
Commit | Line | Data |
---|---|---|
e06b8df8 | 1 | /* |
b8ae064d | 2 | * Copyright (C) 1996-2023 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 | ||
ff9d9458 FC |
11 | #ifndef SQUID_SRC_IP_FORWARD_H |
12 | #define SQUID_SRC_IP_FORWARD_H | |
e06b8df8 HN |
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 | 18 | class Address; |
8b082ed9 | 19 | class NfMarkConfig; |
e06b8df8 | 20 | } |
8b082ed9 | 21 | class acl_nfmark; |
d9538350 | 22 | |
1a7cfe02 AJ |
23 | /// Length of buffer that needs to be allocated to old a null-terminated IP-string |
24 | // Yuck. But there are still structures that need it to be an 'integer constant'. | |
25 | #define MAX_IPSTRLEN 75 | |
d9538350 FC |
26 | typedef uint32_t nfmark_t; |
27 | typedef unsigned char tos_t; | |
28 | ||
ff9d9458 | 29 | #endif /* SQUID_SRC_IP_FORWARD_H */ |
f53969cc | 30 |