summaryrefslogtreecommitdiff
path: root/cesar/cp/eoc/beacon/src/beacon.c
diff options
context:
space:
mode:
Diffstat (limited to 'cesar/cp/eoc/beacon/src/beacon.c')
-rw-r--r--cesar/cp/eoc/beacon/src/beacon.c32
1 files changed, 32 insertions, 0 deletions
diff --git a/cesar/cp/eoc/beacon/src/beacon.c b/cesar/cp/eoc/beacon/src/beacon.c
new file mode 100644
index 0000000000..d4bae1dab1
--- /dev/null
+++ b/cesar/cp/eoc/beacon/src/beacon.c
@@ -0,0 +1,32 @@
+/* Cesar project {{{
+ *
+ * Copyright (C) 2012 Spidcom
+ *
+ * <<<Licence>>>
+ *
+ * }}} */
+/**
+ * \file cp/eoc/beacon/src/beacon.c
+ * \brief EoC Dedicated functions
+ * \ingroup cp_eoc_beacon
+ *
+ * Behavior of the CP beacon for the EoC project.
+ */
+#include "common/std.h"
+
+/* Private headers. */
+#include "cp/eoc/beacon/inc/beacon.h"
+
+/* Public headers. */
+#include "cp/eoc/beacon/beacon.h"
+#include "bsu/bsu.h"
+
+void
+cp_eoc_beacon_fill_discovery_bentries (cp_t *ctx, bsu_beacon_t *beacon)
+{
+ dbg_assert (beacon);
+
+ beacon->bmis.discover.present = false;
+
+ cp_beacon_fill_discover_info (ctx, &beacon->bmis.discover_info);
+}