.field_id = IPFIX_icmpTypeIPv4,
},
},
- {
- .type = ULOGD_RET_UINT32,
- .flags = ULOGD_RETF_NONE,
- .name = "ct.mark",
- .ipfix = {
- .vendor = IPFIX_VENDOR_NETFILTER,
- .field_id = IPFIX_NF_mark,
- },
- },
- {
- .type = ULOGD_RET_UINT32,
- .flags = ULOGD_RETF_NONE,
- .name = "ct.id",
- .ipfix = {
- .vendor = IPFIX_VENDOR_NETFILTER,
- .field_id = IPFIX_NF_conntrack_id,
- },
- },
+ {
+ .type = ULOGD_RET_UINT32,
+ .flags = ULOGD_RETF_NONE,
+ .name = "ct.mark",
+ .ipfix = {
+ .vendor = IPFIX_VENDOR_NETFILTER,
+ .field_id = IPFIX_NF_mark,
+ },
+ },
+ {
+ .type = ULOGD_RET_UINT32,
+ .flags = ULOGD_RETF_NONE,
+ .name = "ct.id",
+ .ipfix = {
+ .vendor = IPFIX_VENDOR_NETFILTER,
+ .field_id = IPFIX_NF_conntrack_id,
+ },
+ },
{
.type = ULOGD_RET_UINT32,
.flags = ULOGD_RETF_NONE,
INIT_LLIST_HEAD(&htable->idle);
for (i = 0; i < htable->num_buckets; i++)
- INIT_LLIST_HEAD(&htable->buckets[i]);
+ INIT_LLIST_HEAD(&htable->buckets[i]);
if (!htable->prealloc)
return htable;
ptr += pi->config_kset->num_ces
* sizeof(struct config_entry);
memcpy(pi->config_kset->ces, pl->config_kset->ces,
- pi->config_kset->num_ces
- *sizeof(struct config_entry));
+ pi->config_kset->num_ces
+ * sizeof(struct config_entry));
}
} else
pi->config_kset = NULL;
plname = equals+1;
/* find matching plugin */
- pl = find_plugin(plname);
+ pl = find_plugin(plname);
if (!pl) {
ulogd_log(ULOGD_ERROR, "can't find requested plugin "
"%s\n", plname);
warn_and_exit(daemonize);
}
if (setegid(gid)) {
- ulogd_log(ULOGD_FATAL, "can't sett effective GID %u\n",
+ ulogd_log(ULOGD_FATAL, "can't set effective GID %u\n",
gid);
warn_and_exit(daemonize);
}