3 #include "lwip/tcpip.h"
7 CFG_SHM_NAME_SIZE = 30,
13 l4_cap_idx_t send_thread;
14 l4_cap_idx_t recv_thread;
15 char shm_name[CFG_SHM_NAME_SIZE];
19 L4_INLINE void print_ip(ip_addr_t *ip)
29 L4_INLINE void __hexdump(unsigned char *buf, unsigned len)
34 printf("%02x ", *(buf + i));
39 * Initialize an LWIP client up to the point where it becomes
40 * ready to send/receive. This includes
41 * 1) Ankh initialization
42 * 2) Setting up the LWIP network device
43 * 3) performing DHCP to obtain an IP
45 * Ankh arguments are extracted from argc and argv. Both are modified
46 * accordingly, so that it does not contain these args afterwards.
48 int l4_lwip_init(int *argc, char **argv);
50 extern struct netif ankh_netif;