summaryrefslogtreecommitdiffstats
path: root/include/proto.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/proto.h
parent70065ab63a90787c49f714c6e39fa1b112b5c8af (diff)
src: add igmp support
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/proto.h')
-rw-r--r--include/proto.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/proto.h b/include/proto.h
index 9a9f9255..99c57a79 100644
--- a/include/proto.h
+++ b/include/proto.h
@@ -211,6 +211,14 @@ enum icmp_hdr_fields {
ICMPHDR_MTU,
};
+enum igmp_hdr_fields {
+ IGMPHDR_INVALID,
+ IGMPHDR_TYPE,
+ IGMPHDR_CHECKSUM,
+ IGMPHDR_MRT,
+ IGMPHDR_GROUP,
+};
+
enum icmp6_hdr_fields {
ICMP6HDR_INVALID,
ICMP6HDR_TYPE,
@@ -299,6 +307,7 @@ enum sctp_hdr_fields {
};
extern const struct proto_desc proto_icmp;
+extern const struct proto_desc proto_igmp;
extern const struct proto_desc proto_ah;
extern const struct proto_desc proto_esp;
extern const struct proto_desc proto_comp;