[Top][All Lists]

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

[lwip-devel] [bug #22530] api_msg.c's recv_raw() does not consume data

From: Frédéric Bernon
Subject: [lwip-devel] [bug #22530] api_msg.c's recv_raw() does not consume data
Date: Wed, 12 Mar 2008 10:51:14 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv: Gecko/20080201 Firefox/

Update of bug #22530 (project lwip):

             Assigned to:                    None => fbernon                
         Planned Release:                         => 1.3.0                  


Follow-up Comment #8:

Answer : the lwip_recvfrom for a SOCK_RAW should also returns the IP header
(thank you jifl)

http://linux.die.net/man/7/raw ("...For receiving the IP header is always
included in the packet.")

http://msdn2.microsoft.com/en-us/library/ms740548.aspx ("An application
always gets the IP header at the front of each received datagram ...")

So, the patch is good. Note, the contrib/apps/ping is wrong, and I will fix


Reply to this item at:


  Message posté via/par Savannah

reply via email to

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