]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - src/ip/forward.h
Source Format Enforcement (#763)
[thirdparty/squid.git] / src / ip / forward.h
index 8f7c870bcf6b2a777786d0352185c3a68b87ffed..ce8eb3ebdb57d108bf8b7d8072e9262269d72eac 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 1996-2014 The Squid Software Foundation and contributors
+ * Copyright (C) 1996-2021 The Squid Software Foundation and contributors
  *
  * Squid software is distributed under GPLv2+ license and includes
  * contributions from numerous individuals and organizations.
@@ -17,4 +17,13 @@ namespace Ip
 {
 class Address;
 }
+
+/// Length of buffer that needs to be allocated to old a null-terminated IP-string
+// Yuck. But there are still structures that need it to be an 'integer constant'.
+#define MAX_IPSTRLEN  75
+
+typedef uint32_t nfmark_t;
+typedef unsigned char tos_t;
+
 #endif /* _SQUID_IP_FORWARD_H */
+