slirp: Add IPv6 support to the TFTP code
commitfad7fb9ccd8013ea03c8c7a8f491c395e786dae6
authorThomas Huth <thuth@redhat.com>
Tue, 15 Mar 2016 09:31:23 +0000 (15 10:31 +0100)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Tue, 15 Mar 2016 16:05:34 +0000 (15 17:05 +0100)
tree2efbcb62853bb497eae6a7782dd1e5cf6f2ed4fe
parent7aac531ef260e3176838f8089525f3e13e40b607
slirp: Add IPv6 support to the TFTP code

Add the handler code for incoming TFTP packets to udp6_input(),
and make sure that the TFTP code can send packets with both,
udp_output() and udp6_output() by introducing a wrapper function
called tftp_udp_output().

Signed-off-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
slirp/tftp.c
slirp/tftp.h
slirp/udp.c
slirp/udp6.c