Merge pull request #176 from adamdunkels/feature-net-bugfixes
Network system bugfixes
This commit is contained in:
commit
6a07172662
7 changed files with 191 additions and 176 deletions
|
@ -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__ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue