Vasiliy Tolstov, on Thu 31 Mar 2016 14:49:35 +0300, wrote:
> Yes, i'm using older version of this patch and without working ipv6 on
> host my vm tries to access network via ipv6 (prefered) and not able to
> connect.
I'm surprised that the vm tries to access the network via ipv6 by
default. Which
Peter Maydell, on Thu 31 Mar 2016 12:30:24 +0100, wrote:
> On 31 March 2016 at 10:20, Samuel Thibault
> wrote:
> > http://people.debian.org/~sthibault/qemu.git tags/samuel-thibault-2
> >
> > for you to fetch changes up to c99751f2a711e9eecf60901520c6d4197bdaf9b4:
&g
Hello,
Thanks for the reviews!
Samuel
Separate get_dns_addr into get_dns_addr_cached and get_dns_addr_resolv_conf
to make conversion to IPv6 easier.
Signed-off-by: Samuel Thibault
Reviewed-by: Thomas Huth
---
slirp/slirp.c | 53 ++---
1 file changed, 34 insertions(+), 19 deletions
This adds the RDNSS option to IPv6 router advertisements, so that the guest
can autoconfigure the DNS server address.
Signed-off-by: Samuel Thibault
Reviewed-by: Thomas Huth
---
slirp/ip6_icmp.c | 19 ---
slirp/ip6_icmp.h | 12 ++--
2 files changed, 26 insertions(+), 5
They look like fe80::%eth0
Signed-off-by: Samuel Thibault
Reviewed-by: Thomas Huth
---
slirp/libslirp.h | 2 +-
slirp/slirp.c| 26 ++
slirp/socket.c | 2 +-
3 files changed, 24 insertions(+), 6 deletions(-)
diff --git a/slirp/libslirp.h b/slirp/libslirp.h
index
This makes get_dns_addr address family-agnostic, thus allowing to add the
IPv6 case.
Signed-off-by: Samuel Thibault
Reviewed-by: Thomas Huth
---
slirp/ip6.h | 9 +++
slirp/libslirp.h | 1 +
slirp/slirp.c| 79
slirp
Add ipv4 and ipv6 boolean options, so the user can setup IPv4-only and
IPv6-only network environments.
Signed-off-by: Samuel Thibault
Reviewed-by: Thomas Huth
---
net/slirp.c | 36 ++--
qapi-schema.json | 8
qemu-options.hx | 8
Update version for v2.6.0-rc0 release (2016-03-30 19:25:40 +0100)
are available in the git repository at:
http://people.debian.org/~sthibault/qemu.git tags/samuel-thibault-2
for you to fetch changes up to c99751f2a711e9eecf60901520c6d4197bdaf9b4:
slirp: Add RDNSS advertisement (2016-03
The options names were fixed in the qapi layer, but not in the command-line
options.
Signed-off-by: Samuel Thibault
Reviewed-by: Eric Blake
---
net/net.c | 14 +++---
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/net/net.c b/net/net.c
index 3b5a142..594c3b8 100644
--- a
The following changes since commit 9370a3bbc478f623dd21d783560629ea2064625b:
Update version for v2.6.0-rc0 release (2016-03-30 19:25:40 +0100)
are available in the git repository at:
http://people.debian.org/~sthibault/qemu.git tags/samuel-thibault
for you to fetch changes up to
The options names were fixed in the qapi layer, but not in the command-line
options.
Signed-off-by: Samuel Thibault
Reviewed-by: Eric Blake
---
net/net.c | 14 +++---
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/net/net.c b/net/net.c
index 3b5a142..594c3b8 100644
--- a
This makes get_dns_addr address family-agnostic, thus allowing to add the
IPv6 case.
Signed-off-by: Samuel Thibault
---
Changes since v1:
- code layout
- cope with inet_ntop returning NULL
- move static variables to function using them.
---
slirp/ip6.h | 9 +++
slirp/libslirp.h | 1
They look like fe80::%eth0
Signed-off-by: Samuel Thibault
Reviewed-by: Thomas Huth
---
slirp/libslirp.h | 2 +-
slirp/slirp.c| 26 ++
slirp/socket.c | 2 +-
3 files changed, 24 insertions(+), 6 deletions(-)
diff --git a/slirp/libslirp.h b/slirp/libslirp.h
index
This adds the RDNSS option to IPv6 router advertisements, so that the guest
can autoconfigure the DNS server address.
Signed-off-by: Samuel Thibault
Reviewed-by: Thomas Huth
---
slirp/ip6_icmp.c | 19 ---
slirp/ip6_icmp.h | 12 ++--
2 files changed, 26 insertions(+), 5
Add ipv4 and ipv6 boolean options, so the user can setup IPv4-only and
IPv6-only network environments.
Signed-off-by: Samuel Thibault
---
Changes since previous versions:
- fix coding style
- explicit that qemu options can take ipv[46]=on|off
---
net/slirp.c | 36
Separate get_dns_addr into get_dns_addr_cached and get_dns_addr_resolv_conf
to make conversion to IPv6 easier.
Signed-off-by: Samuel Thibault
Reviewed-by: Thomas Huth
---
Change since v1: remove superfluous parenthesis.
---
slirp/slirp.c | 53
static variables to function using them.
- remove superfluous parenthesis.
- fix coding style
- explicit that qemu options can take ipv[46]=on|off
Samuel Thibault (5):
slirp: Allow disabling IPv4 or IPv6
slirp: Split get_dns_addr
slirp: Add dns6 resolution
slirp: Support link-local DNS addresses
The options names were fixed in the qapi layer, but not in the command-line
options.
Signed-off-by: Samuel Thibault
---
net/net.c | 14 +++---
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/net/net.c b/net/net.c
index 3b5a142..594c3b8 100644
--- a/net/net.c
+++ b/net
Thomas Huth, on Wed 30 Mar 2016 17:29:12 +0200, wrote:
> On 30.03.2016 17:13, Samuel Thibault wrote:
> > Thomas Huth, on Wed 30 Mar 2016 17:06:51 +0200, wrote:
> >> The "restrict" option is listed with "=on|off" here, that's why I
> >> thought
Thomas Huth, on Wed 30 Mar 2016 17:06:51 +0200, wrote:
> The "restrict" option is listed with "=on|off" here, that's why I
> thought it should be there for "ipv4" and "ipv6", too. Which boolean
> options are missing the "=on|off" ?
All the ipv4 and ipv6 options in the same file.
Samuel
Hello,
Thomas Huth, on Wed 30 Mar 2016 10:38:46 +0200, wrote:
> > -"-netdev
> > user,id=str[,net=addr[/mask]][,host=addr][,ipv6-net=addr[/int]]\n"
> > -"
> > [,ipv6-host=addr][,restrict=on|off][,hostname=host][,dhcpstart=addr]\n"
> > +"-netdev user,id=str[,ipv4][,net=addr[/ma
Eric Blake, on Mon 28 Mar 2016 09:12:04 -0600, wrote:
> > +if ((user->has_ipv6 && user->ipv6 && !user->has_ipv4)
> > +|| (user->has_ipv4 && !user->ipv4))
> > +ipv4 = 0;
>
> Inconsistent with current qemu style. Should be:
>
> if ((user->has_ipv6 && user->ipv6 && !user
They look like fe80::%eth0
Signed-off-by: Samuel Thibault
---
slirp/libslirp.h | 2 +-
slirp/slirp.c| 26 ++
slirp/socket.c | 2 +-
3 files changed, 24 insertions(+), 6 deletions(-)
diff --git a/slirp/libslirp.h b/slirp/libslirp.h
index b0cfbc5..81bd139 100644
Add ipv4 and ipv6 boolean options, so the user can setup IPv4-only and
IPv6-only network environments.
Signed-off-by: Samuel Thibault
---
Changes since previous versions:
- fix coding style
---
net/slirp.c | 36 ++--
qapi-schema.json | 8
qemu
This makes get_dns_addr address family-agnostic, thus allowing to add the
IPv6 case.
Signed-off-by: Samuel Thibault
---
slirp/ip6.h | 9 +++
slirp/libslirp.h | 1 +
slirp/slirp.c| 72
slirp/socket.c | 4 ++--
4 files
Hello,
This series gathers the patches to enable ipv4-only and ipv6-only support: it
adds the discussed ipv4 and ipv6 options to select which is enabled, and adds
support for ipv6 dns translation.
Samuel Thibault (5):
slirp: Allow disabling IPv4 or IPv6
slirp: Split get_dns_addr
slirp: Add
This adds the RDNSS option to IPv6 router advertisements, so that the guest
can autoconfigure the DNS server address.
Signed-off-by: Samuel Thibault
---
slirp/ip6_icmp.c | 19 ---
slirp/ip6_icmp.h | 12 ++--
2 files changed, 26 insertions(+), 5 deletions(-)
diff --git a
Separate get_dns_addr into get_dns_addr_cached and get_dns_addr_resolv_conf
to make conversion to IPv6 easier.
Signed-off-by: Samuel Thibault
---
slirp/slirp.c | 53 ++---
1 file changed, 34 insertions(+), 19 deletions(-)
diff --git a/slirp
appropriate.
Signed-off-by: Samuel Thibault
Reviewed-by: Peter Maydell
---
slirp/if.c| 27 ++-
slirp/mbuf.c | 19 ++-
slirp/misc.c | 5 -
slirp/misc.h | 5 +
slirp/slirp.h | 8 +---
5 files changed, 34 insertions(+), 30 deletions(-)
diff
Signed-off-by: Samuel Thibault
Reviewed-by: Thomas Huth
---
slirp/udp6.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/slirp/udp6.c b/slirp/udp6.c
index 60a91c9..a23026f 100644
--- a/slirp/udp6.c
+++ b/slirp/udp6.c
@@ -113,8 +113,7 @@ void udp6_input(struct mbuf *m
Merge remote-tracking branch 'remotes/mdroth/tags/qga-pull-2016-03-21-tag'
into staging (2016-03-22 17:39:48 +)
are available in the git repository at:
http://people.debian.org/~sthibault/qemu.git tags/samuel-thibault
for you to fetch cha
Signed-off-by: Samuel Thibault
Reviewed-by: Thomas Huth
---
slirp/ip_input.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/slirp/ip_input.c b/slirp/ip_input.c
index 12f173d..b464f6b 100644
--- a/slirp/ip_input.c
+++ b/slirp/ip_input.c
@@ -85,7 +85,7 @@ ip_input(struct mbuf
From: Peter Maydell
Signed-off-by: Peter Maydell
Signed-off-by: Samuel Thibault
---
slirp/mbuf.h | 6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/slirp/mbuf.h b/slirp/mbuf.h
index 38fedf4..36fb814 100644
--- a/slirp/mbuf.h
+++ b/slirp/mbuf.h
@@ -81,11 +81,9 @@ struct
Rename the recently-added ip6-foo options into ipv6-foo options, to make
them coherent with other ipv6 options.
Also rework the documentation.
Signed-off-by: Samuel Thibault
Reviewed-by: Eric Blake
---
net/net.c| 16
net/slirp.c | 6 +++---
qapi-schema.json | 25
Add ipv4 and ipv6 boolean options, so the user can setup IPv4-only and
IPv6-only network environments.
Signed-off-by: Samuel Thibault
---
Changes since previous versions:
- Introduce boolean options ipv4 and ipv6 instead of net=none and
ip6-net=none.
- Reject incoherent configuration (e.g
Rename the recently-added ip6-foo options into ipv6-foo options, to make
them coherent with other ipv6 options.
Also rework the documentation.
Signed-off-by: Samuel Thibault
---
net/slirp.c | 6 +++---
qapi-schema.json | 25 -
qemu-options.hx | 18
This is a split of the previously-sent "Allow disabling IPv4 or IPv6"
patch, to separate reworking the existing newly-added options and
the new ipv4/ipv6 options.
Samuel Thibault (2):
Rework ipv6 options
slirp: Allow disabling IPv4 or IPv6
net/slirp.c
Samuel Thibault, on Fri 25 Mar 2016 00:25:55 +0100, wrote:
> Also rename recently-added options to make the whole coherent before 2.6
> gets released.
GRaaAH
I'm so motivated by such bike-shedding changes that I forgot to rework
the changelog.
Let me do that yet again.
Samuel
Add ipv4 and ipv6 boolean options, so the user can setup IPv4-only and
IPv6-only network environments.
Also rename recently-added options to make the whole coherent before 2.6
gets released.
Signed-off-by: Samuel Thibault
---
Changes since previous versions:
- Introduce boolean options ipv4
Rename ip6-foo options into ipv6-foo options, to make them coherent with
other ipv6 options.
Also rework the documentation.
---
net/slirp.c | 6 +++---
qapi-schema.json | 25 -
qemu-options.hx | 18 ++
3 files changed, 29 insertions(+), 20 deletions(
This is a split of the previously-sent "Allow disabling IPv4 or IPv6"
patch, to separate reworking the existing newly-added options and
the new ipv4/ipv6 options.
Samuel Thibault (2):
Rework ipv6 options
slirp: Allow disabling IPv4 or IPv6
net/slirp.c
Add ipv4 and ipv6 boolean options, so the user can setup IPv4-only and
IPv6-only network environments.
Signed-off-by: Samuel Thibault
---
Changes since previous versions:
- Introduce boolean options ipv4 and ipv6 instead of net=none and
ip6-net=none.
- Rename ipv6 options to ipv6-foo
Hello,
Eric Blake, on Thu 24 Mar 2016 15:36:19 -0600, wrote:
> What happens if 'net' is provided but 'ip4' is false? Is that a user error?
We could do that, yes.
> The existing 'InetSocketAddress' QAPI type spells these as 'ipv4' and
> ipv6'; should we use the same spelling for consistency?
Th
Eric Blake, on Thu 24 Mar 2016 15:36:19 -0600, wrote:
> > Make net=none disable IPv4 and ip6-net=none disable IPv6, so the user can
> > setup IPv4-only and IPv6-only network environments.
>
> This mentions 'net=none', but I don't see that in the patch below;
> instead I see a new boolean.
Eeergl,
Hello,
Could somebody review this? This will be needed for ipv6-only setups.
Samuel
Samuel Thibault, on Sun 20 Mar 2016 16:26:24 +0100, wrote:
> This adds support for DNS over IPv6 in slirp, which is notably useful when the
> host has only an IPv6 DNS server.
>
> This series depen
Make net=none disable IPv4 and ip6-net=none disable IPv6, so the user can
setup IPv4-only and IPv6-only network environments.
Signed-off-by: Samuel Thibault
---
net/slirp.c | 19 +--
qapi-schema.json | 15 +--
qemu-options.hx | 19 ---
slirp
Peter Maydell, on Wed 23 Mar 2016 12:43:44 +, wrote:
> On 23 March 2016 at 00:05, Samuel Thibault wrote:
> > Peter Maydell, on Fri 19 Feb 2016 12:09:17 +, wrote:
> >> diff --git a/slirp/mbuf.h b/slirp/mbuf.h
> >> index 38fedf4..ef5a4f7 100644
> >>
Hello Peter,
Peter Maydell, on Fri 19 Feb 2016 12:09:17 +, wrote:
> diff --git a/slirp/mbuf.h b/slirp/mbuf.h
> index 38fedf4..ef5a4f7 100644
> --- a/slirp/mbuf.h
> +++ b/slirp/mbuf.h
> @@ -81,11 +81,9 @@ struct mbuf {
> Slirp *slirp;
> boolresolution_requested;
> ui
Hello,
Markus Armbruster, on Mon 21 Mar 2016 08:33:52 +0100, wrote:
> > -# @net: #optional IP address and optional netmask
> > +# @net: #optional IP address and optional netmask. Set to 0.0.0.0 to
> > disable IPv4 completely
>
> Long line.
>
> Syntax? Default value?
Something like this?
# @n
Markus Armbruster, on Mon 21 Mar 2016 08:33:52 +0100, wrote:
> Samuel Thibault writes:
> > Make net=0.0.0.0 disable IPv4 and ip6-net=:: disable IPv6, so the user can
> > setup IPv4-only and IPv6-only network environments.
>
> Do "net=" and "ip6-net=" mea
Hello,
Peter Maydell, on Mon 21 Mar 2016 09:48:48 +, wrote:
> Generally the
> process for QEMU is that first patches are sent as normal [PATCH] mails,
> for code review. Patches should only be put into pull requests once
> they've been through the review process. (And then you can batch them
>
Signed-off-by: Samuel Thibault
---
slirp/udp6.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/slirp/udp6.c b/slirp/udp6.c
index 60a91c9..a23026f 100644
--- a/slirp/udp6.c
+++ b/slirp/udp6.c
@@ -113,8 +113,7 @@ void udp6_input(struct mbuf *m)
m->m_data -= iph
Signed-off-by: Samuel Thibault
---
slirp/ip_input.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/slirp/ip_input.c b/slirp/ip_input.c
index 12f173d..b464f6b 100644
--- a/slirp/ip_input.c
+++ b/slirp/ip_input.c
@@ -85,7 +85,7 @@ ip_input(struct mbuf *m)
DEBUG_ARG
Markus Armbruster, on Mon 21 Mar 2016 08:33:52 +0100, wrote:
> > +either in the form a.b.c.d or as number of valid top-most bits. Set to
> > 0.0.0.0
> > +to disable IPv4 completely. Default is 10.0.2.0/24.
>
> Long line.
How long is too long? This is 78 characters, and I see plenty of lines
beyo
This makes get_dns_addr address family-agnostic, thus allowing to add the
IPv6 case.
Signed-off-by: Samuel Thibault
---
slirp/libslirp.h | 1 +
slirp/slirp.c| 72
slirp/socket.c | 4 ++--
3 files changed, 55 insertions(+), 22
Separate get_dns_addr into get_dns_addr_cached and get_dns_addr_resolv_conf
to make conversion to IPv6 easier.
Signed-off-by: Samuel Thibault
---
slirp/slirp.c | 53 ++---
1 file changed, 34 insertions(+), 19 deletions(-)
diff --git a/slirp
This adds the RDNSS option to IPv6 router advertisements, so that the guest
can autoconfigure the DNS server address.
Signed-off-by: Samuel Thibault
---
slirp/ip6_icmp.c | 19 ---
slirp/ip6_icmp.h | 12 ++--
2 files changed, 26 insertions(+), 5 deletions(-)
diff --git a
They look like fe80::%eth0
Signed-off-by: Samuel Thibault
---
slirp/libslirp.h | 2 +-
slirp/slirp.c| 26 ++
slirp/socket.c | 2 +-
3 files changed, 24 insertions(+), 6 deletions(-)
diff --git a/slirp/libslirp.h b/slirp/libslirp.h
index eea9be4..bf3a420 100644
This adds support for DNS over IPv6 in slirp, which is notably useful when the
host has only an IPv6 DNS server.
This series depends on "slirp: Allow to disable IPv4 or IPv6" which defines
in6_zero.
Samuel Thibault (4):
slirp: Split get_dns_addr
slirp: Add dns6 resolution
slir
Samuel Thibault, on Sun 20 Mar 2016 15:45:25 +0100, wrote:
> -*pdns_addr = dns_addr;
> +memcpy(pdns_addr, &cached_addr, addrlen);
Oops, sorry, it should have been
> +memcpy(pdns_addr, cached_addr, addrlen);
In my tests I had forgotten to try resolving m
This makes get_dns_addr address family-agnostic, thus allowing to add the
IPv6 case.
Signed-off-by: Samuel Thibault
---
slirp/libslirp.h | 1 +
slirp/slirp.c| 72
slirp/socket.c | 4 ++--
3 files changed, 55 insertions(+), 22
This adds support for DNS over IPv6 in slirp, which is notably useful when the
host has only an IPv6 DNS server.
Samuel Thibault (3):
slirp: Split get_dns_addr
slirp: Add dns6 resolution
slirp: Support link-local DNS addresses
slirp/libslirp.h | 1 +
slirp/slirp.c| 117
Separate get_dns_addr into get_dns_addr_cached and get_dns_addr_resolv_conf
to make conversion to IPv6 easier.
Signed-off-by: Samuel Thibault
---
slirp/slirp.c | 53 ++---
1 file changed, 34 insertions(+), 19 deletions(-)
diff --git a/slirp
They look like fe80::%eth0
Signed-off-by: Samuel Thibault
---
slirp/libslirp.h | 2 +-
slirp/slirp.c| 26 ++
slirp/socket.c | 2 +-
3 files changed, 24 insertions(+), 6 deletions(-)
diff --git a/slirp/libslirp.h b/slirp/libslirp.h
index eea9be4..bf3a420 100644
end failed
--------
Samuel Thibault (1):
slirp: send icmp6 errors when UDP send failed
slirp/udp6.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
Signed-off-by: Samuel Thibault
---
slirp/udp6.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/slirp/udp6.c b/slirp/udp6.c
index 60a91c9..a23026f 100644
--- a/slirp/udp6.c
+++ b/slirp/udp6.c
@@ -113,8 +113,7 @@ void udp6_input(struct mbuf *m)
m->m_data -= iph
Signed-off-by: Samuel Thibault
---
slirp/ip_input.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/slirp/ip_input.c b/slirp/ip_input.c
index 12f173d..b464f6b 100644
--- a/slirp/ip_input.c
+++ b/slirp/ip_input.c
@@ -85,7 +85,7 @@ ip_input(struct mbuf *m)
DEBUG_ARG
Ah, sorry, that didn't include the cover letter with the branch to pull
from. I have resent the pull request.
Samuel
pv4 packet
--------
Samuel Thibault (1):
slirp: Fix memory leak on small incoming ipv4 packet
slirp/ip_input.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Samuel Thibault, on Sun 20 Mar 2016 12:39:14 +0100, wrote:
> void icmp6_init(Slirp *slirp)
> {
> +if (in6_zero(&slirp->vprefix_addr6)) {
> +/* IPv6 is disabled */
> +return;
> +}
> +
(Note: vprefix_addr6 is not actually initialized yet at tha
Make net=0.0.0.0 disable IPv4 and ip6-net=:: disable IPv6, so the user can
setup IPv4-only and IPv6-only network environments.
Signed-off-by: Samuel Thibault
---
net/slirp.c | 8 +---
qapi-schema.json | 4 ++--
qemu-options.hx | 7 ---
slirp/ip6.h | 9 +
slirp
Signed-off-by: Samuel Thibault
---
slirp/ip_input.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/slirp/ip_input.c b/slirp/ip_input.c
index 12f173d..b464f6b 100644
--- a/slirp/ip_input.c
+++ b/slirp/ip_input.c
@@ -85,7 +85,7 @@ ip_input(struct mbuf *m)
DEBUG_ARG
h does not include the entailed reindentation, to make proofread
easier. Reindentation is adressed in the following no-op patch.
Signed-off-by: Guillaume Subiron
Signed-off-by: Samuel Thibault
Reviewed-by: Thomas Huth
---
slirp/ip_input.c | 2 +-
slirp/slirp.c | 6 +++--
slirp/slirp.h
: Samuel Thibault
Reviewed-by: Thomas Huth
---
slirp/ip6_icmp.c | 66 +++
slirp/ip6_icmp.h | 10 +
slirp/ip6_input.c | 11 +++---
3 files changed, 84 insertions(+), 3 deletions(-)
diff --git a/slirp/ip6_icmp.c b/slirp/ip6_icmp.c
index
functions, and makes them compatible with the new tcpiphdr structure,
whose size will be bigger than sizeof(struct tcphdr) + sizeof(struct ip)
Signed-off-by: Guillaume Subiron
Signed-off-by: Samuel Thibault
Reviewed-by: Thomas Huth
---
slirp/if.h | 4 ++--
slirp/mbuf.c | 4
refresh its route.
This also adds ip6_cksum() to compute ICMPv6 checksums using IPv6
pseudo-header.
Some #define ETH_* are moved upper in slirp.h to make them accessible to
other slirp/*.h
Signed-off-by: Guillaume Subiron
Signed-off-by: Samuel Thibault
Reviewed-by: Thomas Huth
---
slirp
From: Guillaume Subiron
This adds the sin6 case in the fhost and lhost unions and related macros.
It adds udp6_input() and udp6_output().
It adds the IPv6 case in sorecvfrom().
Finally, udp_input() is called by ip6_input().
Signed-off-by: Guillaume Subiron
Signed-off-by: Samuel Thibault
From: Yann Bordenave
Disambiguation : icmp_error is renamed into icmp_send_error, since it
doesn't manage errors, but only sends ICMP Error messages.
Signed-off-by: Yann Bordenave
Signed-off-by: Samuel Thibault
Reviewed-by: Thomas Huth
---
slirp/ip6_input.c | 2 +-
slirp/ip_icmp.c
From: Guillaume Subiron
No code change.
Signed-off-by: Guillaume Subiron
Signed-off-by: Samuel Thibault
Reviewed-by: Thomas Huth
---
slirp/tcp_input.c | 104 ++---
slirp/tcp_output.c | 29 ---
slirp/tcp_subr.c | 50
points to localhost. Further development will be needed to
automatically fetch the IPv6 address from resolv.conf, and announce this via
RDNSS.
Signed-off-by: Guillaume Subiron
Signed-off-by: Samuel Thibault
Reviewed-by: Thomas Huth
---
slirp/ip6.h| 6 +-
slirp/slirp.c | 3 +++
slirp
From: 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
Signed-off-by: Samuel Thibault
Bordenave
Signed-off-by: Samuel Thibault
Reviewed-by: Thomas Huth
---
net/net.c| 31 ++
net/slirp.c | 81 +++-
qapi-schema.json | 12 +
qemu-options.hx | 18 +++--
slirp/libslirp.h | 8
From: Guillaume Subiron
This patch adds IPv6 case in TCP functions refactored by the last
patches.
This also adds IPv6 pseudo-header in tcpiphdr structure.
Finally, tcp_input() is called by ip6_input().
Signed-off-by: Guillaume Subiron
Signed-off-by: Samuel Thibault
Reviewed-by: Thomas Huth
The following changes since commit 618a5a8bc52ba0f2ecbb3dffd01e657f4d841f75:
Merge remote-tracking branch 'remotes/stefanha/tags/tracing-pull-request'
into staging (2016-03-14 16:22:17 +)
are available in the git repository at:
http://people.debian.org/~sthibault/qemu.git t
Jason Wang, on Tue 15 Mar 2016 11:28:55 +0800, wrote:
> Looks good to me. Since you are the maintainer, do you want to merge and
> send pull request yourself?
I have done so, thanks.
Samuel
refresh its route.
This also adds ip6_cksum() to compute ICMPv6 checksums using IPv6
pseudo-header.
Some #define ETH_* are moved upper in slirp.h to make them accessible to
other slirp/*.h
Signed-off-by: Guillaume Subiron
Signed-off-by: Samuel Thibault
Reviewed-by: Thomas Huth
---
slirp
: Samuel Thibault
Reviewed-by: Thomas Huth
---
slirp/ip6_icmp.c | 66 +++
slirp/ip6_icmp.h | 10 +
slirp/ip6_input.c | 11 +++---
3 files changed, 84 insertions(+), 3 deletions(-)
diff --git a/slirp/ip6_icmp.c b/slirp/ip6_icmp.c
index
Bordenave
Signed-off-by: Samuel Thibault
Reviewed-by: Thomas Huth
---
net/net.c| 31 ++
net/slirp.c | 81 +++-
qapi-schema.json | 12 +
qemu-options.hx | 18 +++--
slirp/libslirp.h | 8
From: Guillaume Subiron
This patch adds IPv6 case in TCP functions refactored by the last
patches.
This also adds IPv6 pseudo-header in tcpiphdr structure.
Finally, tcp_input() is called by ip6_input().
Signed-off-by: Guillaume Subiron
Signed-off-by: Samuel Thibault
Reviewed-by: Thomas Huth
h does not include the entailed reindentation, to make proofread
easier. Reindentation is adressed in the following no-op patch.
Signed-off-by: Guillaume Subiron
Signed-off-by: Samuel Thibault
Reviewed-by: Thomas Huth
---
slirp/ip_input.c | 2 +-
slirp/slirp.c | 6 +++--
slirp/slirp.h
From: Guillaume Subiron
This adds the sin6 case in the fhost and lhost unions and related macros.
It adds udp6_input() and udp6_output().
It adds the IPv6 case in sorecvfrom().
Finally, udp_input() is called by ip6_input().
Signed-off-by: Guillaume Subiron
Signed-off-by: Samuel Thibault
functions, and makes them compatible with the new tcpiphdr structure,
whose size will be bigger than sizeof(struct tcphdr) + sizeof(struct ip)
Signed-off-by: Guillaume Subiron
Signed-off-by: Samuel Thibault
Reviewed-by: Thomas Huth
---
slirp/if.h | 4 ++--
slirp/mbuf.c | 4
From: Guillaume Subiron
No code change.
Signed-off-by: Guillaume Subiron
Signed-off-by: Samuel Thibault
Reviewed-by: Thomas Huth
---
slirp/tcp_input.c | 104 ++---
slirp/tcp_output.c | 29 ---
slirp/tcp_subr.c | 50
From: 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
Reviewed-by: Samuel Thibault
ags/samuel-thibault
for you to fetch changes up to 79740b2b3ec4ce07c91c0f3349b1cc28eba5cd08:
slirp: Add IPv6 support to the TFTP code (2016-03-15 10:35:28 +0100)
----
Add Samuel Thibault as slirp
From: Yann Bordenave
Disambiguation : icmp_error is renamed into icmp_send_error, since it
doesn't manage errors, but only sends ICMP Error messages.
Signed-off-by: Yann Bordenave
Signed-off-by: Samuel Thibault
Reviewed-by: Thomas Huth
---
slirp/ip6_input.c | 2 +-
slirp/ip_icmp.c
points to localhost. Further development will be needed to
automatically fetch the IPv6 address from resolv.conf, and announce this via
RDNSS.
Signed-off-by: Guillaume Subiron
Signed-off-by: Samuel Thibault
Reviewed-by: Thomas Huth
---
slirp/ip6.h| 6 +-
slirp/slirp.c | 3 +++
slirp
ags/samuel-thibault
for you to fetch changes up to eda509fa0ac7d4870b7ff206fd6c33cdd06c2d55:
MAINTAINERS: Add Samuel Thibault as slirp maintainer (2016-03-08 21:39:04
+0100)
----
Add Samuel Thibault as slirp
Peter Maydell, on Wed 09 Mar 2016 07:20:44 +0700, wrote:
> Shouldn't there be some Acked-by: lines on this?
Right, sent again.
Samuel
1101 - 1200 of 1571 matches
Mail list logo