Promote tun example to a unit test

PUBLISHED_FROM=0454cdeec5c7120eb4bf905fdd5b7abdcb4003c2
This commit is contained in:
Marko Mikulicic
2016-11-14 18:06:04 +00:00
committed by Cesanta Bot
parent a0d98b7a39
commit 3c5d48ea13
5 changed files with 32 additions and 87 deletions
+2 -2
View File
@@ -14,8 +14,8 @@ signature: |
size_t recv_mbuf_limit; /* Max size of recv buffer */
struct mbuf recv_mbuf; /* Received data */
struct mbuf send_mbuf; /* Data scheduled for sending */
time_t last_io_time; /* Timestamp of the last socket IO */
double ev_timer_time; /* Timestamp of the future MG_EV_TIMER */
time_t last_io_time; /* Timestamp of the last socket IO */
double ev_timer_time; /* Timestamp of the future MG_EV_TIMER */
#if MG_ENABLE_SSL
void *ssl_if_data; /* SSL library data. */
#endif