summaryrefslogtreecommitdiffstats
path: root/include/datatype.h
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2019-01-09 16:26:19 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2019-01-09 16:26:19 +0100
commitbad27ca386276e64cd7a27abf3417b8a4be20fa4 (patch)
tree92ee68e602f3acaad34926aa80db2657bca4907d /include/datatype.h
parent70065ab63a90787c49f714c6e39fa1b112b5c8af (diff)
src: add igmp support
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/datatype.h')
-rw-r--r--include/datatype.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/datatype.h b/include/datatype.h
index f7092f06..14ece282 100644
--- a/include/datatype.h
+++ b/include/datatype.h
@@ -44,6 +44,7 @@
* @TYPE_DEVGROUP: devgroup code (integer subtype)
* @TYPE_DSCP: Differentiated Services Code Point (integer subtype)
* @TYPE_IFNAME: interface name (string subtype)
+ * @TYPE_IGMP: IGMP type (integer subtype)
*/
enum datatypes {
TYPE_INVALID,
@@ -88,6 +89,7 @@ enum datatypes {
TYPE_BOOLEAN,
TYPE_CT_EVENTBIT,
TYPE_IFNAME,
+ TYPE_IGMP_TYPE,
__TYPE_MAX
};
#define TYPE_MAX (__TYPE_MAX - 1)
@@ -248,6 +250,7 @@ extern const struct datatype icmp_type_type;
extern const struct datatype icmp_code_type;
extern const struct datatype icmpv6_code_type;
extern const struct datatype icmpx_code_type;
+extern const struct datatype igmp_type_type;
extern const struct datatype time_type;
extern const struct datatype boolean_type;