This is a new patchset for IPv6 tunneling in user space. IPv4-mapped addresses
are used in most places, except in flow_tnl because that proved to be a
challenge to do right because of the automated handling of MFF_TUN_DST and
MFF_TUN_SRC.
For v2, I changed smap_add_ipv6, renamed tnl-arp-cache to tnl-neigh-cache, added
compose_nd to lib/packets.c, and fixed some style and casting.
Jiri Benc (3):
tunneling: add IPv6 support to netdev_tunnel_config
lib: add format_in6_addr and scan_in6_addr
tunneling: extend flow_tnl with ipv6 addresses
Thadeu Lima de Souza Cascardo (11):
tnl-ports: remove unused tnl-arp-cache.h and include other necessary
headers
rename tnl-arp-cache module and functions to tnl-neigh-cache
Add ipv6_string_mapped.
smap: smap_add_ipv6 adds IPv4-mapped addresses as IPv4
ofproto-dpif-xlate: use IPv6 for orig_tunnel_ip_dst
ofproto-dpif-xlate: use IPv6 for tnl_neigh_cache
netdev-vport: Add IPv6 support for build/push/pop tunnel header
ofproto-dpif-xlate: Support IPv6 when sending to tunnel
tnl-neigh-cache: remove tnl_arp_lookup
Allow flow-based IPv6 tunnels to be configured with OpenFlow
tests: Add tunnel-push-pop-ipv6 tests
datapath/linux/compat/include/linux/openvswitch.h | 2 +
lib/automake.mk | 4 +-
lib/dpif-netdev.c | 4 +-
lib/dpif.c | 10 +-
lib/flow.c | 30 +-
lib/flow.h | 4 +-
lib/match.c | 36 ++-
lib/match.h | 6 +
lib/meta-flow.c | 42 +++
lib/meta-flow.h | 35 +++
lib/netdev-dummy.c | 58 +++-
lib/netdev-vport.c | 319 +++++++++++++++-------
lib/netdev.h | 4 +-
lib/nx-match.c | 6 +-
lib/odp-util.c | 165 ++++++++---
lib/odp-util.h | 8 +-
lib/ofp-util.c | 2 +-
lib/packets.c | 90 ++++++
lib/packets.h | 47 +++-
lib/smap.c | 4 +-
lib/tnl-arp-cache.c | 316 ---------------------
lib/tnl-arp-cache.h | 45 ---
lib/tnl-neigh-cache.c | 312 +++++++++++++++++++++
lib/tnl-neigh-cache.h | 41 +++
lib/tnl-ports.c | 3 +-
ofproto/ofproto-dpif-rid.c | 3 +-
ofproto/ofproto-dpif-rid.h | 4 +-
ofproto/ofproto-dpif-xlate.c | 124 ++++++---
ofproto/ofproto-tnl-unixctl.man | 3 +
ofproto/tunnel.c | 76 ++++--
ofproto/tunnel.h | 5 +-
tests/automake.mk | 1 +
tests/ofproto-macros.at | 2 +-
tests/ofproto.at | 4 +-
tests/testsuite.at | 1 +
tests/tunnel-push-pop-ipv6.at | 153 +++++++++++
tests/tunnel-push-pop.at | 2 +-
37 files changed, 1358 insertions(+), 613 deletions(-)
delete mode 100644 lib/tnl-arp-cache.c
delete mode 100644 lib/tnl-arp-cache.h
create mode 100644 lib/tnl-neigh-cache.c
create mode 100644 lib/tnl-neigh-cache.h
create mode 100644 tests/tunnel-push-pop-ipv6.at
--
2.5.0
_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev