Ethernetif Question...HELP please

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Ethernetif Question...HELP please

Robson-4
> Hi...
> I´m trying to use the ethernetif source, and i´m having some
> problems in function ethernetif_input.
> By the documentation, i´ve discovered that this function must be
> called when a packet is read in my ethernet controller.
> I´m using RealTek 8019AS.
> In the code of this function, it calls a function named
> low_level_input, that reads the buffer of the ethernet controller. In
> this function there is no reference to pointer p->payload, and in the
> ethernetif_input function, there is this line code: ethhdr =
> p->payload; Wath is this? If i use this...the code stops at the point
> that reads the structure ethhdr. If I write this: ethhhrd = p I can
> read ethhdr and etc.
> Do you know wath is the problem?
> I´m not obtaining to read no package effectively.
> Can you help me please?
> Thanks for your attention!


_______________________________________________
lwip-users mailing list
[hidden email]
http://lists.nongnu.org/mailman/listinfo/lwip-users