]> git.proxmox.com Git - mirror_qemu.git/commit
linux-user: Add sockopts for IPv6 ping and IPv6 traceroute
authorHelge Deller <deller@gmx.de>
Sat, 18 Feb 2017 22:31:30 +0000 (23:31 +0100)
committerLaurent Vivier <laurent@vivier.eu>
Mon, 27 Feb 2017 22:10:02 +0000 (23:10 +0100)
commitee1ac3a1822b9386b2363c606908be44ca096401
treef83de0e48002d68dac9e16be9e8353e620f0e478
parent7eddb5ddacb783ba325277b8f420530c2ae8a2ce
linux-user: Add sockopts for IPv6 ping and IPv6 traceroute

Add the neccessary sockopts for ping and traceroute on IPv6.

This fixes the following qemu warnings with IPv6:
Unsupported ancillary data: 0/2
Unsupported ancillary data: 0/11
Unsupported ancillary data: 41/25
Unsupported setsockopt level=0 optname=12
Unsupported setsockopt level=41 optname=16
Unsupported setsockopt level=41 optname=25
Unsupported setsockopt level=41 optname=50
Unsupported setsockopt level=41 optname=51
Unsupported setsockopt level=41 optname=8
Unsupported setsockopt level=58 optname=1

Tested with hppa-linux-user (big-endian) on x86_64 (little-endian).

Signed-off-by: Helge Deller <deller@gmx.de>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20170218223130.GA25278@ls3530.fritz.box>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
linux-user/syscall.c
linux-user/syscall_defs.h