Home
last modified time | relevance | path

Searched refs:LWIP_CONST_CAST (Results 1 – 10 of 10) sorted by relevance

/third_party/lwip/src/include/lwip/
Darch.h239 #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/
Ddef.c110 return LWIP_CONST_CAST(char *, buffer); in lwip_strnstr()
114 return LWIP_CONST_CAST(char *, p); in lwip_strnstr()
Dinit.c341 …LWIP_ASSERT("LWIP_CONST_CAST not implemented correctly. Check your lwIP port.", LWIP_CONST_CAST(vo… in lwip_init()
Dtimeouts.c273 …sys_timeout(lwip_cyclic_timers[i].interval_ms, lwip_cyclic_timer, LWIP_CONST_CAST(void *, &lwip_cy… in sys_timeouts_init()
Dpbuf.c1215 return LWIP_CONST_CAST(struct pbuf *, out); in pbuf_skip()
Dtcp_out.c1955 NETIF_SET_HINTS(netif, LWIP_CONST_CAST(struct netif_hint*, &(pcb->netif_hints))); in tcp_output_control_segment()
/third_party/lwip/src/api/
Dapi_msg.c119 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);
Dnetifapi.c346 NETIFAPI_VAR_REF(msg).msg.ifs.name = LWIP_CONST_CAST(char *, name);
Dsockets.c1309 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/
Dlwiperf.c325 txptr = LWIP_CONST_CAST(void *, &lwiperf_txbuf_const[conn->bytes_transferred % 10]); in lwiperf_tcp_client_send_more()