Re: [Qemu-devel] [PATCH] slirp: Add IPv6 support to the TFTP code

2016-02-16 Thread Thomas Huth
On 16.02.2016 11:30, Samuel Thibault wrote: > Hello, > > Thanks for working on it :) > > Thomas Huth, on Tue 16 Feb 2016 09:47:38 +0100, wrote: >> -static int tftp_session_allocate(Slirp *slirp, struct tftp_t *tp) >> +static int tftp_session_allocate(struct sockaddr_storage *srcsas, Slirp >> *sl

Re: [Qemu-devel] [PATCH] slirp: Add IPv6 support to the TFTP code

2016-02-16 Thread Samuel Thibault
Hello, Thanks for working on it :) Thomas Huth, on Tue 16 Feb 2016 09:47:38 +0100, wrote: > -static int tftp_session_allocate(Slirp *slirp, struct tftp_t *tp) > +static int tftp_session_allocate(struct sockaddr_storage *srcsas, Slirp > *slirp, > + struct tftp_t *t

[Qemu-devel] [PATCH] slirp: Add IPv6 support to the TFTP code

2016-02-16 Thread Thomas Huth
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 --- This patch has to be applied on top of Samuel's "