slirp: Adding address family switch for produced frames
commit18137fba35980de428664fca3576b5d187e96fef
authorGuillaume Subiron <maethor@subiron.org>
Sat, 19 Dec 2015 21:24:57 +0000 (19 22:24 +0100)
committerJason Wang <jasowang@redhat.com>
Thu, 4 Feb 2016 05:22:06 +0000 (4 13:22 +0800)
tree297f695dcc3f89c8a046e89bec16991602448559
parentfc3779a1189cbe6e777a0f7608741f3841cdcfea
slirp: Adding address family switch for produced frames

In if_encap, a switch is added to prepare for the IPv6 case. Some code
is factorized.

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>
slirp/slirp.c