From 6b60dc5be58a5781cacc4e6f238454d5e8421760 Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Mon, 1 Feb 2016 19:24:38 +0100 Subject: extensions: rename xt_buf to xt_xlate Use a more generic name for this object to prepare the introduction of other translation specific fields. Signed-off-by: Pablo Neira Ayuso --- iptables/nft.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'iptables/nft.h') diff --git a/iptables/nft.h b/iptables/nft.h index 192050a4..281e1c69 100644 --- a/iptables/nft.h +++ b/iptables/nft.h @@ -161,9 +161,9 @@ int nft_xtables_config_load(struct nft_handle *h, const char *filename, uint32_t struct xt_buf; bool xlate_find_match(const struct iptables_command_state *cs, const char *p_name); -int xlate_matches(const struct iptables_command_state *cs, struct xt_buf *buf); +int xlate_matches(const struct iptables_command_state *cs, struct xt_xlate *xl); int xlate_action(const struct iptables_command_state *cs, bool goto_set, - struct xt_buf *buf); + struct xt_xlate *xl); /* * ARP -- cgit v1.2.3