summaryrefslogtreecommitdiff
path: root/security/pf/files/patch-ab
blob: 0355d57ac1cd013c5d63fe10ec9e4c22b7f3c2ed (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
--- pf/pf_support.h	Mon Apr 14 05:54:15 2003
+++ pf/pf_support.h	Tue Jun 17 14:26:33 2003
@@ -16,10 +16,16 @@
  * Original numbers changed from 11, 12, 13.
  * sys/mbuf.h
  */
-#define PACKET_TAG_PF_GENERATED		19 /* PF generated, pass always */
-#define PACKET_TAG_PF_ROUTED		20 /* PF routed, no route loops */
-#define PACKET_TAG_PF_FRAGCACHE		21 /* PF fragment cached */
-#define PACKET_TAG_PF_QID		22 /* PF queue id */
+#if defined(PACKET_TAG_MACLABEL)
+#define PACKET_TAG_FB_END		(PACKET_TAG_MACLABEL)
+#else
+#define PACKET_TAG_FB_END		(PACKET_TAG_IPFORWARD)
+#endif
+#define PACKET_TAG_PF_GENERATED		(PACKET_TAG_FB_END+1)
+#define PACKET_TAG_PF_ROUTED		(PACKET_TAG_FB_END+2)
+#define PACKET_TAG_PF_FRAGCACHE		(PACKET_TAG_FB_END+3)
+#define PACKET_TAG_PF_QID		(PACKET_TAG_FB_END+4)
+#define PACKET_TAG_PF_TAG		(PACKET_TAG_FB_END+5)
 
 /*
  * sys/limits.h
--- pfaltq/pf_support.h	Mon Apr 14 06:04:19 2003
+++ pfaltq/pf_support.h	Tue Jun 17 14:26:34 2003
@@ -16,10 +16,16 @@
  * Original numbers changed from 11, 12, 13.
  * sys/mbuf.h
  */
-#define PACKET_TAG_PF_GENERATED		19 /* PF generated, pass always */
-#define PACKET_TAG_PF_ROUTED		20 /* PF routed, no route loops */
-#define PACKET_TAG_PF_FRAGCACHE		21 /* PF fragment cached */
-#define PACKET_TAG_PF_QID		22 /* PF queue id */
+#if defined(PACKET_TAG_MACLABEL)
+#define PACKET_TAG_FB_END		(PACKET_TAG_MACLABEL)
+#else
+#define PACKET_TAG_FB_END		(PACKET_TAG_IPFORWARD)
+#endif
+#define PACKET_TAG_PF_GENERATED		(PACKET_TAG_FB_END+1)
+#define PACKET_TAG_PF_ROUTED		(PACKET_TAG_FB_END+2)
+#define PACKET_TAG_PF_FRAGCACHE		(PACKET_TAG_FB_END+3)
+#define PACKET_TAG_PF_QID		(PACKET_TAG_FB_END+4)
+#define PACKET_TAG_PF_TAG		(PACKET_TAG_FB_END+5)
 
 /*
  * sys/limits.h
--- pfctl/pf_support.h	Mon Apr 14 05:55:07 2003
+++ pfctl/pf_support.h	Tue Jun 17 14:26:34 2003
@@ -16,10 +16,16 @@
  * Original numbers changed from 11, 12, 13.
  * sys/mbuf.h
  */
-#define PACKET_TAG_PF_GENERATED		19 /* PF generated, pass always */
-#define PACKET_TAG_PF_ROUTED		20 /* PF routed, no route loops */
-#define PACKET_TAG_PF_FRAGCACHE		21 /* PF fragment cached */
-#define PACKET_TAG_PF_QID		22 /* PF queue id */
+#if defined(PACKET_TAG_MACLABEL)
+#define PACKET_TAG_FB_END		(PACKET_TAG_MACLABEL)
+#else
+#define PACKET_TAG_FB_END		(PACKET_TAG_IPFORWARD)
+#endif
+#define PACKET_TAG_PF_GENERATED		(PACKET_TAG_FB_END+1)
+#define PACKET_TAG_PF_ROUTED		(PACKET_TAG_FB_END+2)
+#define PACKET_TAG_PF_FRAGCACHE		(PACKET_TAG_FB_END+3)
+#define PACKET_TAG_PF_QID		(PACKET_TAG_FB_END+4)
+#define PACKET_TAG_PF_TAG		(PACKET_TAG_FB_END+5)
 
 /*
  * sys/limits.h