diff options
author | Guillaume Subiron <maethor@subiron.org> | 2015-12-19 22:25:01 +0100 |
---|---|---|
committer | Jason Wang <jasowang@redhat.com> | 2016-02-04 13:22:06 +0800 |
commit | 8a87f121ca82fbb34877ec843dfc50b327baef9d (patch) | |
tree | 2e13bcac23ec476d279b31e742711b264ad4ca6d /fsdev | |
parent | a5fd24aa6d0f26aeb9f15b24daa2d68427631c40 (diff) |
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 'fsdev')
0 files changed, 0 insertions, 0 deletions