Merge pull request #176 from adamdunkels/feature-net-bugfixes

Network system bugfixes
This commit is contained in:
Nicolas Tsiftes 2013-03-18 13:38:44 -07:00
commit 6a07172662
7 changed files with 191 additions and 176 deletions

View file

@ -55,8 +55,11 @@ struct rimestats {
unsigned long lltx, llrx;
};
#if RIMESTATS_CONF_ENABLED
extern struct rimestats rimestats;
#define RIMESTATS_ADD(x) rimestats.x++
#else /* RIMESTATS_CONF_ENABLED */
#define RIMESTATS_ADD(x)
#endif /* RIMESTATS_CONF_ENABLED */
#endif /* __RIMESTATS_H__ */