Hello again, On Mon, Jan 6, 2014 at 4:19 PM, Kristian Evensen <kristian.evensen@xxxxxxxxx> wrote: > Hello again, > > On Mon, Jan 6, 2014 at 1:49 PM, Pablo Neira Ayuso <pablo@xxxxxxxxxxxxx> wrote: >> >> I think one single NFT_META_CONNMARK with the get/set variants should >> be enough to implement the save, restore and set operations that >> xt_connmark provides. >> >> * restore: >> reg1 = get(NFT_META_CONNMARK) >> set(NFT_META_MARK, reg1) >> >> * save: >> reg1 = get(NFT_META_MARK) >> set(NFT_META_CONNMARK, reg1) >> >> * set: >> reg1 = immediate(value) >> set(NFT_META_CONNMARK, reg1) Please ignore my previous email. As often happens, the answer popped up right after I clicked on send. I did not think properly through how variables work and are used in nftables, and see now that the functionality of restore/save can be implemented using only the get/set operations. Thank you very much for the help, the patch is coming soon. -Kristian -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html