From e56f5ae1eddaed28fcf92d8b7ab8f57d7b109c64 Mon Sep 17 00:00:00 2001 From: Martine Lenders <mail@martine-lenders.eu> Date: Tue, 26 May 2015 23:48:27 +0200 Subject: [PATCH] ng_netconf: define maximum number of options --- sys/include/net/ng_netconf.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/sys/include/net/ng_netconf.h b/sys/include/net/ng_netconf.h index 167b221193..6d6439526c 100644 --- a/sys/include/net/ng_netconf.h +++ b/sys/include/net/ng_netconf.h @@ -120,6 +120,13 @@ typedef enum { NETCONF_OPT_AUTOCCA, /**< en/disable to check automatically before sending the channel is clear. */ /* add more options if needed */ + + /** + * @brief maximum number of options defined here + * + * @note Interfaces are not meant to respond to that. + */ + NETCONF_OPT_NUMOF, } ng_netconf_opt_t; /** -- GitLab