diff options
Diffstat (limited to 'include/obj.h')
-rw-r--r-- | include/obj.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/obj.h b/include/obj.h index d848ac9..d217737 100644 --- a/include/obj.h +++ b/include/obj.h @@ -104,7 +104,8 @@ struct obj_ops { const char *name; uint32_t type; size_t alloc_len; - int max_attr; + int nftnl_max_attr; + struct attr_policy *attr_policy; int (*set)(struct nftnl_obj *e, uint16_t type, const void *data, uint32_t data_len); const void *(*get)(const struct nftnl_obj *e, uint16_t type, uint32_t *data_len); int (*parse)(struct nftnl_obj *e, struct nlattr *attr); |