added packetIn filter counts to statistics
[openflowjava.git] / openflow-protocol-impl / src / main / java / org / opendaylight / openflowjava / statistics / CounterEventTypes.java
index 0dd7faad41adb44eeb361d66ef68478b91918c71..60b1c6da35983c571a691c8a417545a2cfffb59e 100644 (file)
@@ -1,53 +1,57 @@
-/*\r
- * Copyright (c) 2014 Pantheon Technologies s.r.o. and others. All rights reserved.\r
- *\r
- * This program and the accompanying materials are made available under the\r
- * terms of the Eclipse Public License v1.0 which accompanies this distribution,\r
- * and is available at http://www.eclipse.org/legal/epl-v10.html\r
- */\r
-\r
-package org.opendaylight.openflowjava.statistics;\r
-\r
-/**\r
- * Enumeration of events to be counted with StatisticsCounters\r
- * @author madamjak\r
- *\r
- */\r
-public enum CounterEventTypes {\r
-    /**\r
-     * enter message to OFJ and pass to downstream\r
-     */\r
-    DS_ENTERED_OFJAVA,\r
-    /**\r
-     * flow-mod is entered\r
-     */\r
-    DS_FLOW_MODS_ENTERED,\r
-    /**\r
-     * encode message successfully\r
-     */\r
-    DS_ENCODE_SUCCESS,\r
-    /**\r
-     * fail encode message\r
-     */\r
-    DS_ENCODE_FAIL,\r
-    /**\r
-     * flow-mod encoded and sent to downstream\r
-     */\r
-    DS_FLOW_MODS_SENT,\r
-    /**\r
-     * receive message and pass to upstream\r
-     */\r
-    US_RECEIVED_IN_OFJAVA,\r
-    /**\r
-     * decode message successfully\r
-     */\r
-    US_DECODE_SUCCESS,\r
-    /**\r
-     * fail decode message\r
-     */\r
-    US_DECODE_FAIL,\r
-    /**\r
-     * pass message to consumer (end of upstream)\r
-     */\r
-    US_MESSAGE_PASS;\r
+/*
+ * Copyright (c) 2014 Pantheon Technologies s.r.o. and others. All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ */
+
+package org.opendaylight.openflowjava.statistics;
+
+/**
+ * Enumeration of events to be counted with StatisticsCounters
+ * @author madamjak
+ *
+ */
+public enum CounterEventTypes {
+    /**
+     * enter message to OFJ and pass to downstream
+     */
+    DS_ENTERED_OFJAVA,
+    /**
+     * flow-mod is entered
+     */
+    DS_FLOW_MODS_ENTERED,
+    /**
+     * encode message successfully
+     */
+    DS_ENCODE_SUCCESS,
+    /**
+     * fail encode message
+     */
+    DS_ENCODE_FAIL,
+    /**
+     * flow-mod encoded and sent to downstream
+     */
+    DS_FLOW_MODS_SENT,
+    /**
+     * packetIn message got dropped -filtering is active
+     */
+    US_DROPPED_PACKET_IN,
+    /**
+     * receive message and pass to upstream
+     */
+    US_RECEIVED_IN_OFJAVA,
+    /**
+     * decode message successfully
+     */
+    US_DECODE_SUCCESS,
+    /**
+     * fail decode message
+     */
+    US_DECODE_FAIL,
+    /**
+     * pass message to consumer (end of upstream)
+     */
+    US_MESSAGE_PASS;
 }
\ No newline at end of file