• Andrei Vagin's avatar
    netns: dump and restore network namespace ID-s · 9a2c99c3
    Andrei Vagin authored
    In each network namespace we can set an id for another network namespace
    to be able to address it in netlink messages.
    
    For example, we can say that a peer of a veth devices has to be created
    in a network namespace with a specified id. If we request information about
    a veth device, a kernel will report where a peer device lives.
    
    An user are able to set this ID-s, so we have to dump and restore them.
    
    v2: add more commetns
    v3: make a union of nsfd_id and ns_fd, they are not used together
    Signed-off-by: 's avatarAndrei Vagin <avagin@virtuozzo.com>
    9a2c99c3
Name
Last commit
Last update
Documentation Loading commit data...
compel Loading commit data...
contrib Loading commit data...
coredump Loading commit data...
crit Loading commit data...
criu Loading commit data...
images Loading commit data...
include/common Loading commit data...
lib Loading commit data...
scripts Loading commit data...
soccr Loading commit data...
test Loading commit data...
.gitignore Loading commit data...
.mailmap Loading commit data...
.travis.yml Loading commit data...
COPYING Loading commit data...
CREDITS Loading commit data...
INSTALL.md Loading commit data...
Makefile Loading commit data...
Makefile.compel Loading commit data...
Makefile.config Loading commit data...
Makefile.install Loading commit data...
Makefile.versions Loading commit data...
README.md Loading commit data...