Skip to content

slirp: Adding IPv6 support to Qemu -net user mode

Samuel Thibault qemu-devel 4 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest18 patches 0 repliesNew
  2. v30 of 16 patches 8 repliesSuperseded
  3. v20 of 16 patches 0 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v116 patches15 repliesSuperseded

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/18slirp: goto bad in udp_input if sosendto failsslirp/udp.c+1 -013 replies
2/18slirp: Generalizing and neutralizing code before adding IPv6 stuffslirp/if.c slirp/mbuf.c slirp/mbuf.h +2 more+29 -130 replies
3/18slirp: Reindent after refactoringslirp/slirp.c+54 -530 replies
4/18slirp: Make Socket structure IPv6 compatibleslirp/ip_icmp.c slirp/slirp.c slirp/socket.c +4 more+82 -150 replies
5/18slirp: Factorizing address translationslirp/bootp.c slirp/ip_icmp.c slirp/socket.c +5 more+91 -860 replies
6/18slirp: Factorizing and cleaning solookup()slirp/socket.c slirp/socket.h slirp/tcp_input.c +1 more+55 -500 replies
7/18slirp: Make udp_attach IPv6 compatibleslirp/ip_icmp.c slirp/udp.c slirp/udp.h+6 -50 replies
8/18slirp: Adding family argument to tcp_fconnect()slirp/slirp.h slirp/tcp_input.c slirp/tcp_subr.c+6 -40 replies
9/18qemu/timer.h : Adding function to second scaleinclude/qemu/timer.h+32 -00 replies
10/18slirp: Adding IPv6, ICMPv6 Echo and NDP autoconfigurationslirp/Makefile.objs slirp/cksum.c slirp/ip6.h +8 more+1045 -100 replies
11/18slirp: Adding ICMPv6 error sendingslirp/ip6_icmp.c slirp/ip6_icmp.h slirp/ip6_input.c +6 more+96 -230 replies
12/18slirp: Adding IPv6 UDP supportslirp/Makefile.objs slirp/ip6_input.c slirp/socket.c +2 more+162 -40 replies
13/18slirp: Factorizing tcpiphdr structure with an unionslirp/if.h slirp/mbuf.c slirp/slirp.c +5 more+102 -440 replies
14/18slirp: Generalizing and neutralizing various TCP functions before adding IPv6 stuffslirp/ip_input.c slirp/slirp.c slirp/slirp.h +4 more+98 -320 replies
15/18slirp: Reindent after refactoringslirp/slirp.h slirp/tcp_input.c slirp/tcp_output.c +1 more+89 -880 replies
16/18slirp: Handle IPv6 in TCP functionsslirp/ip6_input.c slirp/tcp.h slirp/tcp_input.c +3 more+105 -200 replies
17/18slirp: Adding IPv6 address for DNS relayslirp/ip6.h slirp/slirp.c slirp/slirp.h +1 more+31 -30 replies
18/18qapi-schema, qemu-options & slirp: Adding Qemu options for IPv6 addressesnet/net.c net/slirp.c qapi-schema.json +3 more+126 -360 replies

Reviews trailers per patch

1 of 18 patches has a Reviewed-by or Acked-by.

PatchEdgar E. Iglesias
1/18R-b
2/18
3/18
4/18
5/18
6/18
7/18
8/18
9/18
10/18
11/18
12/18
13/18
14/18
15/18
16/18
17/18
18/18

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [Qemu-devel] [PATCHv4 00/18] slirp: Adding IPv6 support to Qemu -net user mode

Hello,

This is another respin of IPv6 in Qemu -net user mode.

These patches add ICMPv6, NDP, and make UDP and TCP compatible with IPv6. We have made some refactoring to make current code compatible with IPv6.

Patches 1 to 8 are refactoring of existing code and do not change the behavior, 9 adds a helper, and 10 to 18 add ipv6 support. Patches 3 and 16 are only reindents of the resulting code, without code change.

Difference with version 3 is:
- reindentation has been moved into separate patches
- inet6 support in sockaddr_equal has been moved to the ndp support patch.
- update first qemu version for the options

Here is a summary of the patches:

Refactoring patches:

[PATCH 01/18] slirp: goto bad in udp_input if sosendto fails [PATCH 02/18] slirp: Generalizing and neutralizing code before adding [PATCH 03/18] slirp: Reindent after refactoring
[PATCH 04/18] slirp: Make Socket structure IPv6 compatible [PATCH 05/18] slirp: Factorizing address translation [PATCH 06/18] slirp: Factorizing and cleaning solookup() [PATCH 07/18] slirp: Make udp_attach IPv6 compatible [PATCH 08/18] slirp: Adding family argument to tcp_fconnect()

Adding helper:
[PATCH 09/18] qemu/timer.h : Adding function to second scale

Adding v6 support:
[PATCH 10/18] slirp: Adding IPv6, ICMPv6 Echo and NDP [PATCH 11/18] slirp: Adding ICMPv6 error sending
[PATCH 12/18] slirp: Adding IPv6 UDP support
[PATCH 13/18] slirp: Factorizing tcpiphdr structure with an union [PATCH 14/18] slirp: Generalizing and neutralizing various TCP [PATCH 15/18] slirp: Reindent after refactoring
[PATCH 16/18] slirp: Handle IPv6 in TCP functions
[PATCH 17/18] slirp: Adding IPv6 address for DNS relay [PATCH 18/18] qapi-schema, qemu-options & slirp: Adding Qemu options