From: Elise Lennion Date: Fri, 17 Mar 2017 15:04:48 +0000 (-0300) Subject: doc: Document add / delete element operations of sets and maps X-Git-Tag: v0.8~189 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cad4da77d6330d08eea6a4c73c70c012d20d4e3b;p=thirdparty%2Fnftables.git doc: Document add / delete element operations of sets and maps The add / delete operations weren't documented yet. They fit better in the sets and maps blocks since these operations are used to directly modify their content. Signed-off-by: Elise Lennion Signed-off-by: Pablo Neira Ayuso --- diff --git a/doc/nft.xml b/doc/nft.xml index 5b754690..31c664d8 100644 --- a/doc/nft.xml +++ b/doc/nft.xml @@ -697,6 +697,19 @@ filter input iif $int_ifs accept table set + + + add + delete + + element + family + table + set + { + elements + } + Sets are elements containers of an user-defined data type, they are uniquely identified by an user-defined name and attached to tables. @@ -735,6 +748,22 @@ filter input iif $int_ifs accept + + + + + Comma-separated list of elements to add into the specified set. + + + + + + + + Comma-separated list of elements to delete from the specified set. + + + @@ -819,6 +848,19 @@ filter input iif $int_ifs accept tablemap + + + add + delete + + element + family + table + map + { + elements + } + Maps store data based on some specific key used as input, they are uniquely identified by an user-defined name and attached to tables. @@ -857,6 +899,22 @@ filter input iif $int_ifs accept + + + + + Comma-separated list of elements to add into the specified map. + + + + + + + + Comma-separated list of element keys to delete from the specified map. + + +