]> git.ipfire.org Git - thirdparty/nftables.git/commit
mnl: add function to convert flowtable device list to array
authorPablo Neira Ayuso <pablo@netfilter.org>
Wed, 20 May 2020 18:23:34 +0000 (20:23 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 2 Jun 2020 12:05:38 +0000 (14:05 +0200)
commit45f98f7451c7c3c3deb00de18683dba1970bee0c
tree1ff7b9d75821983e6b4648702edcffee0fe3b19d
parentfae0a0972d7a71574ca81f439bc828ed0f7d82c1
mnl: add function to convert flowtable device list to array

This patch adds nft_flowtable_dev_array() to convert the list of devices
into an array. This array is released through
nft_flowtable_dev_array_free().

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
src/mnl.c