lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-users] How to use Lwip with ethernet in Linux


From: 劉宸瑋
Subject: [lwip-users] How to use Lwip with ethernet in Linux
Date: Fri, 2 Mar 2007 14:24:06 +0800

Dear All,
 
I start to learn lwip and want to port it on Linux. But now, i am stuck.
I try to run it on eth0, but i don't know how to do.
 
I had seen example "unixsim".
I think i need to write this line ""  netif_set_default(netif_add(&netif,&ipaddr, &netmask, &gw, NULL, ethernetif_init, tcpip_input));  ""
Is my though is right?
 
And If i want to run lwip on ethernet, do i have to write codes of ethernetif ?
 
Can some one to give me some clues or sample codes?
 
Besr regard,
                                                                                                                                                                                                                                                        Adolf Liu 
 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]