patch-2.2.4 linux/include/linux/pkt_cls.h
Next file: linux/include/linux/proc_fs.h
Previous file: linux/include/linux/pci.h
Back to the patch index
Back to the overall index
- Lines: 46
- Date:
Sun Mar 21 07:22:00 1999
- Orig file:
v2.2.3/linux/include/linux/pkt_cls.h
- Orig date:
Sat May 2 14:19:54 1998
diff -u --recursive --new-file v2.2.3/linux/include/linux/pkt_cls.h linux/include/linux/pkt_cls.h
@@ -23,9 +23,12 @@
TCA_POLICE_TBF,
TCA_POLICE_RATE,
TCA_POLICE_PEAKRATE,
+ TCA_POLICE_AVRATE,
+ TCA_POLICE_RESULT
+#define TCA_POLICE_RESULT TCA_POLICE_RESULT
};
-#define TCA_POLICE_MAX TCA_POLICE_PEAKRATE
+#define TCA_POLICE_MAX TCA_POLICE_RESULT
/* U32 filters */
@@ -113,5 +116,31 @@
__u8 tunnelid;
__u8 tunnelhdr;
};
+
+/* ROUTE filter */
+
+enum
+{
+ TCA_ROUTE4_UNSPEC,
+ TCA_ROUTE4_CLASSID,
+ TCA_ROUTE4_TO,
+ TCA_ROUTE4_FROM,
+ TCA_ROUTE4_IIF,
+ TCA_ROUTE4_POLICE,
+};
+
+#define TCA_ROUTE4_MAX TCA_ROUTE4_POLICE
+
+
+/* FW filter */
+
+enum
+{
+ TCA_FW_UNSPEC,
+ TCA_FW_CLASSID,
+ TCA_FW_POLICE,
+};
+
+#define TCA_FW_MAX TCA_FW_POLICE
#endif
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)