slirp: Add IPv6 support to the TFTP code

Enterprise / Virtualization / QEMU - Thomas Huth [redhat.com] - 15 March 2016 11:05 UTC

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().

fad7fb9 slirp: Add IPv6 support to the TFTP code
slirp/tftp.c | 133 ++++++++++++++++++++++++++++++++--------------------------
slirp/tftp.h | 7 ++--
slirp/udp.c | 16 ++++---
slirp/udp6.c | 16 +++++--
4 files changed, 100 insertions(+), 72 deletions(-)

Upstream: git.qemu.org


  • Share