]> git.ipfire.org Git - thirdparty/squid.git/blame - src/ip/forward.h
Source Format Enforcement (#1234)
[thirdparty/squid.git] / src / ip / forward.h
CommitLineData
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
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
16namespace Ip
17{
e06b8df8 18class Address;
8b082ed9 19class NfMarkConfig;
e06b8df8 20}
8b082ed9 21class 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
26typedef uint32_t nfmark_t;
27typedef unsigned char tos_t;
28
e06b8df8 29#endif /* _SQUID_IP_FORWARD_H */
f53969cc 30