mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-22 10:30:13 +00:00
Document a macro
This commit is contained in:
parent
e596d5104d
commit
06cfea692b
@ -393,8 +393,10 @@ void uip_setipid(uint16_t id);
|
||||
uip_process(UIP_TIMER); } while (0)
|
||||
|
||||
/**
|
||||
* Macro to determine whether a specific uIP connection is active
|
||||
*
|
||||
*
|
||||
* \param conn The connection's number
|
||||
* \retval 0 Connection closed
|
||||
*/
|
||||
#define uip_conn_active(conn) (uip_conns[conn].tcpstateflags != UIP_CLOSED)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user