mirror of
https://repo.or.cz/socat.git
synced 2025-06-24 16:58:44 +00:00
Added options posixmq-maxmsg and posixmq-msgsize
This commit is contained in:
parent
663a6bb012
commit
25d2f746d9
7 changed files with 79 additions and 10 deletions
doc
10
doc/socat.yo
10
doc/socat.yo
|
@ -2168,7 +2168,7 @@ label(OPTION_NETNS)dit(bf(tt(netns=<net-namespace-name>)))
|
|||
Before opening the address it tries to switch to the named network namespace.
|
||||
After opening the address it switches back to the previous namespace.
|
||||
(link(Example with TCP forwarder)(EXAMPLE_OPTION_NETNS),
|
||||
link(example with virtual network connection)(EXAMPLE_TUN_NETNS).nl()
|
||||
link(example with virtual network connection)(EXAMPLE_TUN_NETNS)).nl()
|
||||
Only on Linux; requires root; use option tt(--experimental).nl()
|
||||
enddit()
|
||||
|
||||
|
@ -3495,6 +3495,14 @@ label(OPTION_POSIXMQ_PRIORITY)dit(bf(tt(posixmq-priority (mq-prio))))
|
|||
label(OPTION_POSIXMQ_FLUSH)dit(bf(tt(posixmq-flush (mq-flush))))
|
||||
"Consumes" (drops) all messages currently in the queue before starting
|
||||
transfers.
|
||||
label(OPTION_POSIXMQ_MAXMSG)dit(bf(tt(posixmq-maxmsg (mq-maxmsg))))
|
||||
Sets the maxmsg parameter of the POSIX message queue when creating it.
|
||||
Note: You need root or CAP_SYS_RESOURCE to exceed the default value
|
||||
(<tt>/proc/sys/fs/mqueue/msg_default</tt>).
|
||||
label(OPTION_POSIXMQ_MSGSIZE)dit(bf(tt(posixmq-msgsize (mq-msgsize))))
|
||||
Sets the msgsize parameter of the POSIX message queue when creating it.
|
||||
Note: You need root or CAP_SYS_RESOURCE to exceed the default value
|
||||
(<tt>/proc/sys/fs/mqueue/msgsize_default</tt>).
|
||||
enddit()
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue