Skip to content
mTCP: A Highly Scalable User-level TCP Stack for Multicore Systems
C Makefile Batchfile Shell M4 C++ Other
Branch: master
Clone or download
Pull request Compare This branch is 4 commits ahead, 328 commits behind mtcp-stack:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
apps
config
dpdk-2.2.0
dpdk
io_engine
mtcp
util
CHANGELOG
LICENSE
README
README.config
README.devel
README.md
TODOS
configure
configure.ac

README.md

IPv6 support for mTCP

This fork enables basic IPv6 support in mTCP.

Build instructions.

Please see the original README for build instructions.

Note that only one address is supported per interface. Your system will likely configure a link-local address for you; however, if you wish to use another address, please configure your interface with ifconfig dpdkN inet6 del <addr>/<prefix> and ifconfig dpdkN inet6 add <addr>/<prefix>.

API changes

To use IPv6, simply use AF_INET6 and struct sockaddr_in6 instead of AF_INET and struct sockaddr_in in mtcp_*() functions.

If you use mtcp_bind() on an IPv6 socket pointing to in6addr_any, the socket will be dual-stack.

Examples

Use the apps/example/epwget and apps/example/epserver as usual.

Notes

If you wish to add static IPv6 routes or ND entries, you can proceed as for IPv4 and add them to config/routes.conf and config/arp.conf (you can mix IPv4 and IPv6 in those files). Router Advertisements are not yet supported.

Contact

Yoann Desmouceaux [yd814 at ic dot ac dot uk]

You can’t perform that action at this time.