summary refs log tree commit diff stats
path: root/slirp/tcp_subr.c
diff options
context:
space:
mode:
authorGuillaume Subiron <maethor@subiron.org>2015-12-19 22:25:01 +0100
committerJason Wang <jasowang@redhat.com>2016-02-04 13:22:06 +0800
commit8a87f121ca82fbb34877ec843dfc50b327baef9d (patch)
tree2e13bcac23ec476d279b31e742711b264ad4ca6d /slirp/tcp_subr.c
parenta5fd24aa6d0f26aeb9f15b24daa2d68427631c40 (diff)
downloadfocaccia-qemu-8a87f121ca82fbb34877ec843dfc50b327baef9d.tar.gz
focaccia-qemu-8a87f121ca82fbb34877ec843dfc50b327baef9d.zip
slirp: Add sockaddr_equal, make solookup family-agnostic
This patch makes solookup() compatible with varying address
families, by using a new sockaddr_equal() function that compares
two sockaddr_storage.

This prepares for IPv6 support.

Signed-off-by: Guillaume Subiron <maethor@subiron.org>
Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'slirp/tcp_subr.c')
0 files changed, 0 insertions, 0 deletions