[Ns-bugs] [Bug 141] udp tx buffer is not fixed size
bugzilla-daemon@nsnam-www.ece.gatech.edu
bugzilla-daemon at nsnam-www.ece.gatech.edu
Sat Feb 16 06:31:18 PST 2008
http://www.nsnam.org/bugzilla/show_bug.cgi?id=141
gjcarneiro at gmail.com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |gjcarneiro at gmail.com
------- Comment #1 from gjcarneiro at gmail.com 2008-02-16 09:31 -------
I don't think UDP sockets have transmit buffer in Linux. See
http://book.chinaunix.net/special/ebook/oreilly/Understanding_Linux_Network_Internals/0596002556/understandlni-CHP-21-SECT-1.html#IDX-CHP-21-2574
"""udp_sendmsg first calls ip_append_data, and then forces the immediate
transmission of the data with udp_push_pending_frames only if corkreq is
false"""
But the "cork" option is an advanced udp socket option, disabled by default.
By default UDP has no buffering; there's only a transmit queue in the netdevice
itself.
--
Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the Ns-bugs
mailing list