|
libosmocore 1.13.1.12-8e6ea
Osmocom core library
|
Network namespace convenience functions. More...
#include <signal.h>Go to the source code of this file.
Data Structures | |
| struct | osmo_netns_switch_state |
Functions | |
| int | osmo_netns_open_fd (const char *name) |
| Open a file descriptor for the network namespace with provided name. More... | |
| int | osmo_netns_switch_enter (int nsfd, struct osmo_netns_switch_state *state) |
| switch to a (non-default) namespace, store existing signal mask in oldmask. More... | |
| int | osmo_netns_switch_exit (struct osmo_netns_switch_state *state) |
| switch back to the previous namespace, restoring signal mask. More... | |
Network namespace convenience functions.