summaryrefslogtreecommitdiff
path: root/cesar/cp/eoc/beacon/src/beacon.c
blob: d4bae1dab19717242185035f28d9ce3b4a55356b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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);
}