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 static void print_ip(ip_addr_t *ip)
29 static void __attribute__((unused))
30 __hexdump(unsigned char *buf, unsigned len)
35 printf("%02x ", *(buf + i));
40 * Initialize an LWIP client up to the point where it becomes
41 * ready to send/receive. This includes
42 * 1) Ankh initialization
43 * 2) Setting up the LWIP network device
44 * 3) performing DHCP to obtain an IP
46 * Ankh arguments are extracted from argc and argv. Both are modified
47 * accordingly, so that it does not contain these args afterwards.
49 int l4_lwip_init(int *argc, char **argv);