From patchwork Fri Jul 19 15:17:38 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomasz Bursztyka X-Patchwork-Id: 260291 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 699062C0095 for ; Sat, 20 Jul 2013 01:18:16 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760185Ab3GSPSN (ORCPT ); Fri, 19 Jul 2013 11:18:13 -0400 Received: from mga14.intel.com ([143.182.124.37]:21979 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752320Ab3GSPSM (ORCPT ); Fri, 19 Jul 2013 11:18:12 -0400 Received: from azsmga002.ch.intel.com ([10.2.17.35]) by azsmga102.ch.intel.com with ESMTP; 19 Jul 2013 08:18:10 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.89,702,1367996400"; d="scan'208";a="270608903" Received: from unknown (HELO rd-180.ger.corp.intel.com) ([10.252.122.114]) by AZSMGA002.ch.intel.com with ESMTP; 19 Jul 2013 08:18:05 -0700 From: Tomasz Bursztyka To: netfilter-devel@vger.kernel.org Cc: Tomasz Bursztyka Subject: [iptables-nftables - RFC PATCH 09/15] xtables: Add support for registering nft translation function for match Date: Fri, 19 Jul 2013 18:17:38 +0300 Message-Id: <1374247064-3361-10-git-send-email-tomasz.bursztyka@linux.intel.com> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1374247064-3361-1-git-send-email-tomasz.bursztyka@linux.intel.com> References: <1374247064-3361-1-git-send-email-tomasz.bursztyka@linux.intel.com> Sender: netfilter-devel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netfilter-devel@vger.kernel.org Signed-off-by: Tomasz Bursztyka --- include/xtables.h.in | 1 + 1 file changed, 1 insertion(+) diff --git a/include/xtables.h.in b/include/xtables.h.in index 1658842..592aae9 100644 --- a/include/xtables.h.in +++ b/include/xtables.h.in @@ -264,6 +264,7 @@ struct xtables_match /* NFT related */ int (*to_nft)(struct nft_rule *r, struct xt_entry_match *); + int (*register_nft_instructions)(struct nft_trans_instruction_tree *); /* Size of per-extension instance extra "global" scratch space */ size_t udata_size;