diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2024-10-23 23:07:31 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2024-10-28 23:20:38 +0100 |
commit | f7c2b27c9f8356c634f0405347444e03e10e151b (patch) | |
tree | 577ef4c61013b05f94e1100d66146c1ed1e7da19 /include/cmd.h | |
parent | b4ce90d52d564efaced298f6e9c575d6942ecf91 (diff) |
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 <pablo@netfilter.org>
Diffstat (limited to 'include/cmd.h')
-rw-r--r-- | include/cmd.h | 2 |
1 files changed, 1 insertions, 1 deletions
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); |