[Qemu-devel] [PATCH 6/9] slirp: Factorizing and cleaning solookup()

2015-12-19 Thread Samuel Thibault
From: Guillaume Subiron solookup() was only compatible with TCP. Having the socket list in argument, it is now compatible with UDP too. Some optimization code is factorized inside the function (the function look at the last returned result before browsing the complete socket list). This prepare

Re: [Qemu-devel] [PATCH 6/9] slirp: Factorizing and cleaning solookup()

2015-12-14 Thread Thomas Huth
On 14/12/15 14:51, Samuel Thibault wrote: > From: Guillaume Subiron > > solookup() was only compatible with TCP. Having the socket list in > argument, it is now compatible with UDP too. > > Some optimization code is factorized inside the function (the function > look at the last returned result

[Qemu-devel] [PATCH 6/9] slirp: Factorizing and cleaning solookup()

2015-12-14 Thread Samuel Thibault
From: Guillaume Subiron solookup() was only compatible with TCP. Having the socket list in argument, it is now compatible with UDP too. Some optimization code is factorized inside the function (the function look at the last returned result before browsing the complete socket list). This prepare