[Qemu-devel] [PATCH 5/9] slirp: Factorizing address translation

2015-12-19 Thread Samuel Thibault
From: Guillaume Subiron This patch factorizes some duplicate code into a new function, sotranslate_out(). This function perform the address translation when a packet is transmitted to the host network. If the packet is destinated to the host, the loopback address is used, and if the packet is des

[Qemu-devel] [PATCH 5/9] slirp: Factorizing address translation

2015-12-14 Thread Samuel Thibault
From: Guillaume Subiron This patch factorizes some duplicate code into a new function, sotranslate_out(). This function perform the address translation when a packet is transmitted to the host network. If the packet is destinated to the host, the loopback address is used, and if the packet is des