41 |
|
|
42 |
|
|
43 |
#ifdef STATS |
#ifdef STATS |
44 |
struct stats_ stats; |
struct stats_ lwip_stats; |
45 |
#endif /* STATS */ |
#endif /* STATS */ |
46 |
/*-----------------------------------------------------------------------------------*/ |
/*-----------------------------------------------------------------------------------*/ |
47 |
void |
void |
48 |
stats_init(void) |
stats_init(void) |
49 |
{ |
{ |
50 |
#ifdef STATS |
#ifdef STATS |
51 |
memset(&stats, 0, sizeof(struct stats_)); |
memset(&lwip_stats, 0, sizeof(struct stats_)); |
52 |
#endif /* STATS */ |
#endif /* STATS */ |
53 |
} |
} |
54 |
/*-----------------------------------------------------------------------------------*/ |
/*-----------------------------------------------------------------------------------*/ |