[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-users] [lwip] tcp_input() help
From: |
ajay kapoor |
Subject: |
[lwip-users] [lwip] tcp_input() help |
Date: |
Thu, 09 Jan 2003 00:14:37 -0000 |
--0-442011775-1040236664=:38966
Content-Type: text/plain; charset=us-ascii
Hi,
I am using the vc++ version of lwip stack. There seems to be problem with the
below function in tcp_input().
// pbuf_header(p, -(IPH_HL(iphdr) * 4/sizeof(s8_t)));
when i replace the - sign with * -1 it seems to work fine.
pbuf_header(p, (IPH_HL(iphdr) * 4/sizeof(u8_t))* -1);
is it ok to do that.
also the tcp checksum function inet_chksum_pseudo() is failing.
any suggestions. please help
-Aj
---------------------------------
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
--0-442011775-1040236664=:38966
Content-Type: text/html; charset=us-ascii
<P>Hi,</P>
<P>I am using the vc++ version of lwip stack. There seems to be problem with
the below function in tcp_input().</P>
<P>// pbuf_header(p, -(IPH_HL(iphdr) * 4/sizeof(s8_t)));</P>
<P>when i replace the - sign with * -1 it seems to work fine.</P>
<P>pbuf_header(p, (IPH_HL(iphdr) * 4/sizeof(u8_t))* -1);</P>
<P>is it ok to do that. </P>
<P>also the tcp checksum function inet_chksum_pseudo() is failing.</P>
<P>any suggestions. please help</P>
<P>-Aj</P>
<P> </P>
<P> </P><p><br><hr size=1>Do you Yahoo!?<br>
New <a href="http://rd.yahoo.com/evt=1207/*http://sbc.yahoo.com/">DSL Internet
Access</a> from SBC & Yahoo!</a>
--0-442011775-1040236664=:38966--
[This message was sent through the lwip discussion list.]
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [lwip-users] [lwip] tcp_input() help,
ajay kapoor <=