summaryrefslogtreecommitdiffstats
path: root/lib/PROTOCOL
diff options
context:
space:
mode:
Diffstat (limited to 'lib/PROTOCOL')
-rw-r--r--lib/PROTOCOL17
1 files changed, 17 insertions, 0 deletions
diff --git a/lib/PROTOCOL b/lib/PROTOCOL
index aa8fc64..97a6b7c 100644
--- a/lib/PROTOCOL
+++ b/lib/PROTOCOL
@@ -1,3 +1,5 @@
+PROTOCOL 6:
+
req: msg: IPSET_CMD_PROTOCOL
attr: IPSET_ATTR_PROTOCOL
@@ -88,3 +90,18 @@ resp: attr: IPSET_ATTR_TYPENAME
IPSET_ATTR_FAMILY
IPSET_ATTR_REVISION (version max)
IPSET_ATTR_REVISION_MIN (version min, optional)
+
+PROTOCOL 7: PROTOCOL 6 +
+
+req: msg: IPSET_CMD_GET_BYNAME
+ attr: IPSET_ATTR_PROTOCOL
+ IPSET_ATTR_SETNAME
+
+resp: attr: IPSET_ATTR_INDEX
+ IPSET_ATTR_FAMILY
+
+req: msg: IPSET_CMD_GET_BYINDEX
+ attr: IPSET_ATTR_PROTOCOL
+ IPSET_ATTR_INDEX
+
+resp: attr: IPSET_ATTR_SETNAME