Re: max size for sk->rcvbuf

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

 



--- aksingh@hss.hns.com wrote:

>  Also what is the max possible size of sk-> rcvbuf
> .... knowing that it is
> defined as an int.
> (struct sock *sk)

  Look at net/core/sock.c:sock_setsockopt(). From what
seems to me the max is (sizeof(struck sk_buff + 256) *
256 * 2; Do correct me if I am wrong

=====
Regards,
Kiran Kumar Immidi


	
		
__________________________________
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/ 

--
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