questions on tcp_send

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

 



Hello all,

I have some questions on the tcp send routine in net/ipv4/tcp.c:

1) What's the difference/relationship between sk->tp_pinfo.af_tcp->send_head
and sk->write_queue. [what purpose do they serve?]

2) What are sk->tp_pinfo.af_tcp->sendmsg_page/sendmsg_off used for? Why is there
only one page that's reused in the loop to push the current data?

3) Is skb_shinfo(skb)->nr_frags the number of fragments to be assembled into
a tcp segment? If so, what qualifies an sk_buff as a fragment (as opposed to
being a full tcp segment).

If someone can point me to prior discussions/resources that might help, I'd
be grateful...

TIA,
Sapan
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux