Siva Velusamy wrote: > In 1.3RC1, ethernetif_input has the following structure: > > case ETHTYPE_IP: > case ETHTYPE_ARP: > /* full packet send to tcpip_thread to process */ > if (netif->input(p, netif)!=ERR_OK) > > Both IP & ARP packets are sent via tcpip_thread. I don't understand > the control flow of what is expected to happen if you are using RAW > mode only where the api folder is not even compiled in. In that case > it seems to me that ARP packets need to go via etharp_input and ip > packets via ip_input. Is that correct?
Yes, but the way to do this is probably to make sure your netif->input points directly to ethernet_input (see netif/etharp.c). Strictly it isn't for the RAW API, but #if NO_SYS. Jifl -- eCosCentric Limited http://www.eCosCentric.com/ The eCos experts Barnwell House, Barnwell Drive, Cambridge, UK. Tel: +44 1223 245571 Registered in England and Wales: Reg No 4422071. Visit us @ Embedded World 2008, Nürnberg, Germany, 26-28 Feb:Stand 11-336 ------["Si fractum non sit, noli id reficere"]------ Opinions==mine _______________________________________________ lwip-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/lwip-users
