ULOGD_DTYPE_RAW = 0x0002, /* raw packet data */
ULOGD_DTYPE_PACKET = 0x0004, /* packet metadata */
ULOGD_DTYPE_FLOW = 0x0008, /* flow metadata */
- ULOGD_DTYPE_SINK = 0x0010, /* sink of data, no output keys */
+ ULOGD_DTYPE_SUM = 0x0010, /* sum metadata */
+ ULOGD_DTYPE_SINK = 0x0020, /* sink of data, no output keys */
};
/* structure describing an input / output parameter of a plugin */
.output = {
.keys = nfacct_okeys,
.num_keys = ARRAY_SIZE(nfacct_okeys),
- .type = ULOGD_DTYPE_FLOW,
+ .type = ULOGD_DTYPE_SUM,
},
.config_kset = &nfacct_kset,
.interp = NULL,
static struct ulogd_plugin gprint_plugin = {
.name = "GPRINT",
.input = {
- .type = ULOGD_DTYPE_PACKET | ULOGD_DTYPE_FLOW,
+ .type = ULOGD_DTYPE_PACKET | ULOGD_DTYPE_FLOW | ULOGD_DTYPE_SUM,
},
.output = {
.type = ULOGD_DTYPE_SINK,