695ebd3094ec0ce486a75be48274f381ff91d342vboxsync * Hack to avoid function name collisions with slirp or any other code.
695ebd3094ec0ce486a75be48274f381ff91d342vboxsync * Include at the end of your lwipopts.h
695ebd3094ec0ce486a75be48274f381ff91d342vboxsync#define lwip_inet_aton(cp, addr) ipaddr_aton(cp, (ip_addr_t*)(addr))
695ebd3094ec0ce486a75be48274f381ff91d342vboxsync# define lwip_ip_addr_isbroadcast(ipaddr. netif) lwip_ip4_addr_isbroadcast((ipaddr)->addr, (netif))
695ebd3094ec0ce486a75be48274f381ff91d342vboxsync# define ip4_addr_isbroadcast lwip_ip4_addr_isbroadcast
695ebd3094ec0ce486a75be48274f381ff91d342vboxsync#define netconn_new_with_callback lwip_netconn_new_with_callback
695ebd3094ec0ce486a75be48274f381ff91d342vboxsync#define netconn_new_with_proto_and_callback lwip_netconn_new_with_proto_and_callback
2f1d44e9a9a9300febc520fcf80a2e3fd9b39b73vboxsync#endif /* !MEM_USE_POOLS */
2f1d44e9a9a9300febc520fcf80a2e3fd9b39b73vboxsync#endif /* !MEM_LIBC_MALLOC */
695ebd3094ec0ce486a75be48274f381ff91d342vboxsync#define sys_arch_mbox_fetch lwip_sys_arch_mbox_fetch
641e2e067eb810f52974bc5a20171add2eae5e1cvboxsync#if 0 /* XXX: cf. lwip/sys.h which misinterprets this */
641e2e067eb810f52974bc5a20171add2eae5e1cvboxsync#define sys_arch_mbox_tryfetch lwip_sys_arch_mbox_tryfetch
695ebd3094ec0ce486a75be48274f381ff91d342vboxsync#define sys_mbox_set_invalid lwip_sys_mbox_set_invalid
695ebd3094ec0ce486a75be48274f381ff91d342vboxsync#define sys_sem_wait_timeout lwip_sys_sem_wait_timeout
695ebd3094ec0ce486a75be48274f381ff91d342vboxsync# define tcp_listen(pcb) lwip_tcp_listen_with_backlog(pcb, TCP_DEFAULT_LISTEN_BACKLOG)
695ebd3094ec0ce486a75be48274f381ff91d342vboxsync#define tcp_listen_with_backlog lwip_tcp_listen_with_backlog
2b114c590cf5a19f8047cd7bde9c7e5ae00aa22bvboxsync/* tcp_rst is renaming to tcp_rst_impl,
695ebd3094ec0ce486a75be48274f381ff91d342vboxsync * so for cleaner ABI, _impl was added. */
695ebd3094ec0ce486a75be48274f381ff91d342vboxsync#endif /* _VBOX_LWIP_NAMESPACE_H_ */