diff options
Diffstat (limited to 'lib/debug.c')
-rw-r--r-- | lib/debug.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/debug.c b/lib/debug.c index 1240e22..b2c5003 100644 --- a/lib/debug.c +++ b/lib/debug.c @@ -67,6 +67,9 @@ static const struct ipset_attrname adtattr2name[] = { [IPSET_ATTR_IP2_TO] = { .name = "IP2_TO" }, [IPSET_ATTR_IFACE] = { .name = "IFACE" }, [IPSET_ATTR_COMMENT] = { .name = "COMMENT" }, + [IPSET_ATTR_SKBMARK] = { .name = "SKBMARK" }, + [IPSET_ATTR_SKBPRIO] = { .name = "SKBPRIO" }, + [IPSET_ATTR_SKBQUEUE] = { .name = "SKBQUEUE" }, }; static void @@ -98,6 +101,12 @@ debug_cadt_attrs(int max, const struct ipset_attr_policy *policy, fprintf(stderr, "\t\t%s: %u\n", attr2name[i].name, ntohl(v)); break; + case MNL_TYPE_U64: + fprintf(stderr, "\t\t%s: 0x%llx\n", + attr2name[i].name, (long long int) + be64toh(*(uint64_t *) + mnl_attr_get_payload(nla[i]))); + break; case MNL_TYPE_NUL_STRING: fprintf(stderr, "\t\t%s: %s\n", attr2name[i].name, |