]> git.meshlink.io Git - meshlink/commit
Provide a way to open MeshLink in its own network namespace.
authorGuus Sliepen <guus@meshlink.io>
Sat, 26 Jan 2019 20:38:53 +0000 (21:38 +0100)
committerGuus Sliepen <guus@meshlink.io>
Thu, 31 Jan 2019 21:24:15 +0000 (22:24 +0100)
commit6054182c9e208fd0b3f5c6c90f54cb5af75d3f5c
tree9b210306366613e858284482b9e2481f3f2c916b
parent83866b378628e6290bf435f5ae04a6d6de72d0e5
Provide a way to open MeshLink in its own network namespace.

This causes all sockets from MeshLink to be opened in the given network
namespace, without affecting the application's namespace. Note that since
callback functions run inside MeshLink's own thread, the callback functions
inherit MeshLink's network namespace.
src/devtools.c
src/devtools.h
src/meshlink.c
src/meshlink.h
src/meshlink_internal.h