Searched refs:LWIP_CONST_CAST (Results 1 – 10 of 10) sorted by relevance
/third_party/lwip/src/include/lwip/ |
D | arch.h | 239 #ifndef LWIP_CONST_CAST 240 #define LWIP_CONST_CAST(target_type, val) ((target_type)((ptrdiff_t)val)) macro 245 #define LWIP_ALIGNMENT_CAST(target_type, val) LWIP_CONST_CAST(target_type, val) 252 #define LWIP_PTR_NUMERIC_CAST(target_type, val) LWIP_CONST_CAST(target_type, val) 257 #define LWIP_PACKED_CAST(target_type, val) LWIP_CONST_CAST(target_type, val)
|
/third_party/lwip/src/core/ |
D | def.c | 110 return LWIP_CONST_CAST(char *, buffer); in lwip_strnstr() 114 return LWIP_CONST_CAST(char *, p); in lwip_strnstr()
|
D | init.c | 341 …LWIP_ASSERT("LWIP_CONST_CAST not implemented correctly. Check your lwIP port.", LWIP_CONST_CAST(vo… in lwip_init()
|
D | timeouts.c | 273 …sys_timeout(lwip_cyclic_timers[i].interval_ms, lwip_cyclic_timer, LWIP_CONST_CAST(void *, &lwip_cy… in sys_timeouts_init()
|
D | pbuf.c | 1215 return LWIP_CONST_CAST(struct pbuf *, out); in pbuf_skip()
|
D | tcp_out.c | 1955 NETIF_SET_HINTS(netif, LWIP_CONST_CAST(struct netif_hint*, &(pcb->netif_hints))); in tcp_output_control_segment()
|
/third_party/lwip/src/api/ |
D | api_msg.c | 119 return LWIP_CONST_CAST(void *, &netconn_aborted); in lwip_netconn_err_to_msg() 121 return LWIP_CONST_CAST(void *, &netconn_reset); in lwip_netconn_err_to_msg() 123 return LWIP_CONST_CAST(void *, &netconn_closed); in lwip_netconn_err_to_msg() 327 msg = LWIP_CONST_CAST(void *, &netconn_closed); 944 void *msg = LWIP_CONST_CAST(void *, &netconn_deleted);
|
D | netifapi.c | 346 NETIFAPI_VAR_REF(msg).msg.ifs.name = LWIP_CONST_CAST(char *, name);
|
D | sockets.c | 1309 msg.msg_iov = LWIP_CONST_CAST(struct iovec *, iov); in lwip_readv() 1830 msg.msg_iov = LWIP_CONST_CAST(struct iovec *, iov); in lwip_writev()
|
/third_party/lwip/src/apps/lwiperf/ |
D | lwiperf.c | 325 txptr = LWIP_CONST_CAST(void *, &lwiperf_txbuf_const[conn->bytes_transferred % 10]); in lwiperf_tcp_client_send_more()
|