]> git.ipfire.org Git - thirdparty/ulogd2.git/commitdiff
some plugins support packet and flow data types
authorlaforge <laforge>
Sun, 20 Nov 2005 14:41:23 +0000 (14:41 +0000)
committerlaforge <laforge>
Sun, 20 Nov 2005 14:41:23 +0000 (14:41 +0000)
filter/ulogd_filter_IFINDEX.c
output/mysql/ulogd_output_MYSQL.c
output/ulogd_output_IPFIX.c
output/ulogd_output_OPRINT.c

index 886592b51b945be2d52d8ea72a23f8183a8014db..b386f4aa2e1875613549893830350dde0037beca 100644 (file)
@@ -132,12 +132,12 @@ static struct ulogd_plugin ifindex_plugin = {
        .input = {
                .keys = ifindex_inp,
                .num_keys = ARRAY_SIZE(ifindex_inp),
-               .type = ULOGD_DTYPE_PACKET,
+               .type = ULOGD_DTYPE_PACKET | ULOGD_DTYPE_FLOW,
                },
        .output = {
                .keys = ifindex_keys,
                .num_keys = ARRAY_SIZE(ifindex_keys),
-               .type = ULOGD_DTYPE_PACKET,
+               .type = ULOGD_DTYPE_PACKET | ULOGD_DTYPE_FLOW,
                },
        .interp = &interp_ifindex,
 
index ac04be9e9618f2f04b0499fdeb2441a4b4fe962f..602654e372c548ff5bddbbde51ae83e821c3600e 100644 (file)
@@ -515,7 +515,7 @@ static struct ulogd_plugin mysql_plugin = {
        .input = {
                .keys = NULL,
                .num_keys = 0,
-               .type = ULOGD_DTYPE_PACKET,
+               .type = ULOGD_DTYPE_PACKET | ULOGD_DTYPE_FLOW, 
        },
        .output = {
                .type = ULOGD_DTYPE_SINK,
index 966a56fe44b661eb7cbd82baafc1c490b2848c7b..2a46b37dba61b21e695cc48012643710f7786da5 100644 (file)
@@ -162,7 +162,7 @@ static struct ulogd_plugin ipfix_plugin = {
        .input = {
                .keys = printpkt_keys,
                .num_keys = ARRAY_SIZE(printpkt_keys),
-               .type = ULOGD_DTYPE_PACKET,
+               .type = ULOGD_DTYPE_PACKET | ULOGD_DTYPE_FLOW, 
        },
        .output = {
                .type = ULOGD_DTYPE_SINK,
index 89a8095fead4bbd2ddec3af00fb16f3fa1390c72..53638ce7264e0d942968a6cfc744026b2fd4dfe5 100644 (file)
@@ -199,7 +199,7 @@ static int oprint_fini(struct ulogd_pluginstance *pi)
 static struct ulogd_plugin oprint_plugin = {
        .name = "OPRINT", 
        .input = {
-                       .type = ULOGD_DTYPE_PACKET,
+                       .type = ULOGD_DTYPE_PACKET | ULOGD_DTYPE_FLOW,
                },
        .output = {
                        .type = ULOGD_DTYPE_SINK,