Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Feb 2018 17:42:44 -0500
From:      Jan Schaumann <jschauma@netmeister.org>
To:        Konstantin Belousov <kostikbel@gmail.com>
Cc:        freebsd-net@freebsd.org
Subject:   Re: tcpmux port opened for dual-stack results
Message-ID:  <20180225224244.GM8306@netmeister.org>
In-Reply-To: <20180225211329.GP94212@kib.kiev.ua>
References:  <20180225203306.GL8306@netmeister.org> <20180225211329.GP94212@kib.kiev.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
Konstantin Belousov <kostikbel@gmail.com> wrote:
 
> This is getaddrinfo(3) using fake connect(2) to get appropriate source
> address for the requested destination. They are used to order the result
> set when there is more that one element

Interesting - thanks!

https://svnweb.freebsd.org/base/head/lib/libc/net/getaddrinfo.c?revision=327029&view=markup#l877

https://svnweb.freebsd.org/base/head/lib/libc/net/getaddrinfo.c?revision=327029&view=markup#l980

-Jan



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20180225224244.GM8306>