Awesome , I think I have the answer . Like I said I had the network driver
with me and was trying to figure out how to interface this with lwip .
After going through the ethernetif.c what I see is being done is : We are
writing a new device driver . We are creating a network interface and
instead of using the *ether_setup* to set up this interface we are doing
these things manually in the low_level_init function.This means I will have
to rewrite the driver code and not use the net_device structure that is
already there in the driver but create a struct netif kind of structure
which is for the lwip code.And then redo the start_xmit function
accordingly.

This is what I think I should do . Plz correct me if I am wrong .
Thank you.
Sraddha
_______________________________________________
lwip-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to