summaryrefslogtreecommitdiff
path: root/cesar/cl/mcast.h
diff options
context:
space:
mode:
Diffstat (limited to 'cesar/cl/mcast.h')
-rw-r--r--cesar/cl/mcast.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/cesar/cl/mcast.h b/cesar/cl/mcast.h
new file mode 100644
index 0000000000..72a76e0b62
--- /dev/null
+++ b/cesar/cl/mcast.h
@@ -0,0 +1,36 @@
+#ifndef cesar_cl_mcast_h
+#define cesar_cl_mcast_h
+/* Cesar project {{{
+ *
+ * Copyright (C) 2011 Spidcom
+ *
+ * <<<Licence>>>
+ *
+ * }}} */
+/**
+ * \file cesar/cl/mcast.h
+ * \brief Multicast
+ * \ingroup cl
+ */
+#include "common/defs/igmp.h"
+
+BEGIN_DECLS
+
+/**
+ * Update the igmp groups based on the mactotei table.
+ * \param cl the CL context.
+ */
+void
+cl_update_igmp_groups (cl_t *ctx);
+
+/**
+ * Get the access to the igmp data in the cl context.
+ * \param cl the CL context.
+ * \return the pointer to the igmp data.
+ */
+igmp_groups_t *
+cl_get_igmp_groups (cl_t *cl);
+
+END_DECLS
+
+#endif /* cesar_cl_mcast_h */