RFR: 8220083: Use InetAddress.getLoopbackAddress() in place of 127.0.0.1 for some tests
Martin Buchholz
martinrb at google.com
Wed Mar 13 18:57:14 UTC 2019
On Wed, Mar 13, 2019 at 11:49 AM Chris Hegarty <chris.hegarty at oracle.com>
wrote:
>
> > At Google, we have our own hacks to test ipv6-only environments, based
> > on either LD_PRELOAD or eBPF (but it would take work to share them even
> > in minimally functional form)
>
> Maybe I can produce something similar and publish it? So you intercept
> setsocktopt, lookups? What else?
>
Here's a code snippet with the list:
static int (*libc_socket)(int, int, int);
static int (*libc_setsockopt)(int, int, int, const void *, socklen_t);
static int (*libc_getifaddrs)(struct ifaddrs **);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/net-dev/attachments/20190313/c71eec4e/attachment.html>
More information about the net-dev
mailing list