[Qemu-devel] [PATCH 4/9] slirp: Make Socket structure IPv6 compatible

2015-12-19 Thread Samuel Thibault
From: Guillaume Subiron This patch replaces foreign and local address/port couples in Socket structure by 2 sockaddr_storage which can be casted in sockaddr_in. Direct access to address and port is still possible thanks to some \#define, so retrocompatibility of the existing code is assured. The

Re: [Qemu-devel] [PATCH 4/9] slirp: Make Socket structure IPv6 compatible

2015-12-14 Thread Thomas Huth
On 14/12/15 14:51, Samuel Thibault wrote: > From: Guillaume Subiron > > This patch replaces foreign and local address/port couples in Socket > structure by 2 sockaddr_storage which can be casted in sockaddr_in. > Direct access to address and port is still possible thanks to some > \#define, so re

[Qemu-devel] [PATCH 4/9] slirp: Make Socket structure IPv6 compatible

2015-12-14 Thread Samuel Thibault
From: Guillaume Subiron This patch replaces foreign and local address/port couples in Socket structure by 2 sockaddr_storage which can be casted in sockaddr_in. Direct access to address and port is still possible thanks to some \#define, so retrocompatibility of the existing code is assured. The