summaryrefslogtreecommitdiff
path: root/cesar/cp/msg/inc/vs_get_mactotei.h
blob: ebd7c969a02a9087c14c5432d7349cd7162cd83d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef cp_msg_inc_vs_get_mactotei_h
#define cp_msg_inc_vs_get_mactotei_h
/* Cesar project {{{
 *
 * Copyright (C) 2011 Spidcom
 *
 * <<<Licence>>>
 *
 * }}} */
/**
 * \file    cp/msg/inc/vs_get_mactotei.h
 * \brief   VS_GET_MACTOTEI Structures.
 * \ingroup cp_msg
 */

/* Dynamic payload size in byte */
#define VS_GET_MACTOTEI_CNF_ENTRY_SIZE (ETH_MAC_ADDRESS_SIZE + 1 + 1)

/* total size in byte (dynamic payload and static payload) */
#define VS_GET_MACTOTEI_CNF_SIZE(n)  ((n)*VS_GET_MACTOTEI_CNF_ENTRY_SIZE + 2)

#endif /* cp_msg_inc_vs_get_mactotei_h */