Added file and directory reference measurements to workitems
authorAndreas Steffen <andreas.steffen@strongswan.org>
Thu, 23 May 2013 13:30:55 +0000 (15:30 +0200)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Fri, 21 Jun 2013 21:25:22 +0000 (23:25 +0200)
src/libimcv/imv/imv_workitem.c
src/libimcv/imv/imv_workitem.h

index e4403e7..72f8d91 100644 (file)
@@ -25,7 +25,9 @@ ENUM(imv_workitem_type_names, IMV_WORKITEM_PACKAGES, IMV_WORKITEM_UDP_SCAN,
        "UNSRC",
        "FWDEN",
        "PWDEN",
+       "FREFM",
        "FMEAS",
+       "DREFM",
        "DMEAS",
        "TCPSC",
        "UDPSC"
index 507e99e..c803242 100644 (file)
@@ -34,10 +34,12 @@ enum imv_workitem_type_t {
        IMV_WORKITEM_UNKNOWN_SOURCE = 2,
        IMV_WORKITEM_FORWARDING =     3,
        IMV_WORKITEM_DEFAULT_PWD =    4,
-       IMV_WORKITEM_FILE_MEAS =      5,
-       IMV_WORKITEM_DIR_MEAS =       6,
-       IMV_WORKITEM_TCP_SCAN =       7,
-       IMV_WORKITEM_UDP_SCAN =       8
+       IMV_WORKITEM_FILE_REF_MEAS =  5,
+       IMV_WORKITEM_FILE_MEAS =      6,
+       IMV_WORKITEM_DIR_REF_MEAS =   7,
+       IMV_WORKITEM_DIR_MEAS =       8,
+       IMV_WORKITEM_TCP_SCAN =       9,
+       IMV_WORKITEM_UDP_SCAN =      10
 };
 
 extern enum_name_t *imv_workitem_type_names;