mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-12-25 18:14:53 +00:00
altcp: added raw tcp fallback for altcp_get_ip() #if !LWIP_ALTCP
This commit is contained in:
parent
425b2dda61
commit
596bddac47
@ -160,6 +160,7 @@ enum tcp_state altcp_dbg_get_tcp_state(struct altcp_pcb *conn);
|
|||||||
#define altcp_setprio tcp_setprio
|
#define altcp_setprio tcp_setprio
|
||||||
|
|
||||||
#define altcp_get_tcp_addrinfo tcp_get_tcp_addrinfo
|
#define altcp_get_tcp_addrinfo tcp_get_tcp_addrinfo
|
||||||
|
#define altcp_get_ip(pcb, local) ((local) ? (&(pcb)->local_ip) : (&(pcb)->remote_ip))
|
||||||
|
|
||||||
#ifdef LWIP_DEBUG
|
#ifdef LWIP_DEBUG
|
||||||
#define altcp_dbg_get_tcp_state tcp_dbg_get_tcp_state
|
#define altcp_dbg_get_tcp_state tcp_dbg_get_tcp_state
|
||||||
|
Loading…
Reference in New Issue
Block a user