ltm rule command TCP sendbufΒΆ

iRule(1)					  BIG-IP TMSH Manual					     iRule(1)

TCP::sendbuf
       This command can be used to set/get the send buffer size of a TCP connection.

SYNOPSIS
       TCP::sendbuf ('auto' | BUFFER_SIZE)?

DESCRIPTION
       TCP::sendbuf returns the send buffer size of a TCP connection.  TCP::sendbuf BUFFER_SIZE sets the send buffer
       size to BUFFER_SIZE bytes.

RETURN VALUE
       TCP::sendbuf returns the number of bytes that can be stored at the send buffer.

VALID DURING
       ANY_EVENT

EXAMPLES
	# Get the send buffer size of the TCP flow.
	when CLIENT_ACCEPTED {
	    log local0. "TCP set send buffer: [TCP::sendbuf 100000]"
	    log local0. "TCP get send buffer: [TCP::sendbuf]"
	}

HINTS
SEE ALSO
CHANGE LOG
       @BIGIP-12.1.0
	   --first introduce the command.

BIG-IP						      2020-06-23					     iRule(1)