Networking Forums

Networking Forums > Computer Networking > Linux Networking > Useless networking code ?

Reply
Thread Tools Display Modes

Useless networking code ?

 
 
anth0
Guest
Posts: n/a

 
      10-23-2003, 10:24 AM
Noone could answer that shit :

If we have a look at (tcp.c) the functions tcp_recv_skb() and
tcp_read_sock() (and even tcp_recvmsg()):

there is a Syn check :

extract from the tcp_recv_skb() :

offset = seq - TCP_SKB_CB(skb)->seq;
if (skb->h.th->syn)
offset--;

seq contains copied_seq, which refers to the last passed sequence
number. But if we have not receive data (the case if we receive a
SYN), the check seems useless...

I don't think i'll get a reply here, but maybe ...
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
A MS VPN is useless? Tom wilson Windows Networking 5 06-08-2007 04:32 PM
where do I find router code for networking setup Paula Broadband Hardware 1 10-10-2004 02:10 AM
netif_rx kernel networking code question Webmaster Linux Networking 0 05-21-2004 12:21 PM
Linksys is Useless! Greg Wireless Internet 19 02-28-2004 01:28 AM
WRT54G Web Log Useless! Clark W. Griswold, Jr. Wireless Internet 2 01-04-2004 11:42 PM



1 2 3 4 5 6 7 8 9 10 11