From: "Michael Kerrisk (man-pages)" <mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: Eric Dumazet <eric.dumazet-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org,
linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH] ip.7: add IP_BIND_ADDRESS_NO_PORT description
Date: Wed, 3 Feb 2016 15:49:22 +0100 [thread overview]
Message-ID: <56B21372.8030001@gmail.com> (raw)
In-Reply-To: <1454369722.7627.191.camel-XN9IlZ5yJG9HTL0Zs8A6p/gx64E7kk8eUsxypvmhUTTZJqsBc5GL+g@public.gmane.org>
Hi Eric,
On 02/02/2016 12:35 AM, Eric Dumazet wrote:
> From: Eric Dumazet <edumazet-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org>
>
> Documentation for IP_BIND_ADDRESS_NO_PORT socket option
> added in linux-4.2
> http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=90c337da1524863838658078ec34241f45d8394d
Thanks for the patch. I've applied, and tweaked a little.
It would be good to add a couple of sentences about
why this option is useful and what use case it allows.
Could you come up with something?
Thanks,
Michael
PS How about a patch for SO_MAX_PACING_RATE for the socket(7) page :-) ?
> Signed-off-by: Eric Dumazet <edumazet-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org>
> ---
> man7/ip.7 | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/man7/ip.7 b/man7/ip.7
> index 1c51a50..f8d4e63 100644
> --- a/man7/ip.7
> +++ b/man7/ip.7
> @@ -338,6 +338,11 @@ application wants to receive data from.
> This option can be used multiple times to allow
> receiving data from more than one source.
> .TP
> +.BR IP_BIND_ADDRESS_NO_PORT " (since Linux 4.2)
> +Instruct kernel to not reserve an ephemeral port at bind() time.
> +The port will be automatically chosen at connect() time, in a way
> +that allows sharing a source port as long as the 4-tuples are unique.
> +.TP
> .BR IP_BLOCK_SOURCE " (since Linux 2.4.22 / 2.5.68)"
> Stop receiving multicast data from a specific source in a given group.
> This is valid only after the application has subscribed
>
>
>
--
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2016-02-03 14:49 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-01 23:35 [PATCH] ip.7: add IP_BIND_ADDRESS_NO_PORT description Eric Dumazet
[not found] ` <1454369722.7627.191.camel-XN9IlZ5yJG9HTL0Zs8A6p/gx64E7kk8eUsxypvmhUTTZJqsBc5GL+g@public.gmane.org>
2016-02-03 14:49 ` Michael Kerrisk (man-pages) [this message]
[not found] ` <56B21372.8030001-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2016-02-03 15:44 ` Eric Dumazet
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=56B21372.8030001@gmail.com \
--to=mtk.manpages-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
--cc=eric.dumazet-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.