From 12d57b50dfe50353a2a0d6b40dd5ff45530dd5cc Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Thu, 3 May 2018 12:31:48 +0200 Subject: src: add set_spec Store location object in handle to improve error reporting. Signed-off-by: Pablo Neira Ayuso --- include/rule.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'include/rule.h') diff --git a/include/rule.h b/include/rule.h index 4ea09c52..68d32f10 100644 --- a/include/rule.h +++ b/include/rule.h @@ -37,6 +37,11 @@ struct chain_spec { const char *name; }; +struct set_spec { + struct location location; + const char *name; +}; + /** * struct handle - handle for tables, chains, rules and sets * @@ -54,7 +59,7 @@ struct handle { uint32_t family; struct table_spec table; struct chain_spec chain; - const char *set; + struct set_spec set; const char *obj; const char *flowtable; struct handle_spec handle; -- cgit v1.2.3