Oops, sorry. I misread your question, i think you ask the code that set IP address.
On Mon, May 11, 2009 at 1:17 PM, Iwan Budi Kusnanto <[email protected]> wrote: > On Mon, May 11, 2009 at 12:59 PM, Deepak Gopalakrishnan > <[email protected]> wrote: >> >> Im able to run the simhost application on my Ubuntu 8.04 system. while >> trying to debug the code, im not able to location the code that sets the MAC >> address for the tap0 device. >> Can anyone help me as in which file to look for this? > > maybe you can check in main_thread() function (in simhost.c) in line 379 > > netif_set_default(netif_add(&netif,&ipaddr, &netmask, &gw, NULL, tapif_init, > tcpip_input)); > netif_set_up(&netif); > -- Iwan Budi Kusnanto _______________________________________________ lwip-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/lwip-users
