From f7c2b27c9f8356c634f0405347444e03e10e151b Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Wed, 23 Oct 2024 23:07:31 +0200 Subject: mnl: update cmd_add_loc() to take struct nlmsghdr To prepare for a fix for very large sets. No functional change is intended. Signed-off-by: Pablo Neira Ayuso --- include/cmd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/cmd.h') diff --git a/include/cmd.h b/include/cmd.h index 0a8779b1..cf7e43bf 100644 --- a/include/cmd.h +++ b/include/cmd.h @@ -1,7 +1,7 @@ #ifndef _NFT_CMD_H_ #define _NFT_CMD_H_ -void cmd_add_loc(struct cmd *cmd, uint16_t offset, const struct location *loc); +void cmd_add_loc(struct cmd *cmd, const struct nlmsghdr *nlh, const struct location *loc); struct mnl_err; void nft_cmd_error(struct netlink_ctx *ctx, struct cmd *cmd, struct mnl_err *err); -- cgit v1.2.3