\doxysection{netns.\+h}
\label{netns_8h_source}\index{include/osmocom/core/netns.h@{include/osmocom/core/netns.h}}
\textbf{ Go to the documentation of this file.}
\begin{DoxyCode}{0}
\DoxyCodeLine{1 }
\DoxyCodeLine{4 \textcolor{preprocessor}{\#pragma once}}
\DoxyCodeLine{5 }
\DoxyCodeLine{6 \textcolor{preprocessor}{\#include <signal.h>}}
\DoxyCodeLine{7 }
\DoxyCodeLine{8 \textcolor{keyword}{struct }osmo\_netns\_switch\_state \{}
\DoxyCodeLine{9         sigset\_t prev\_sigmask;}
\DoxyCodeLine{10         \textcolor{keywordtype}{int} prev\_nsfd;}
\DoxyCodeLine{11 \};}
\DoxyCodeLine{12 }
\DoxyCodeLine{13 \textcolor{keywordtype}{int} osmo\_netns\_open\_fd(\textcolor{keyword}{const} \textcolor{keywordtype}{char} *name);}
\DoxyCodeLine{14 \textcolor{keywordtype}{int} osmo\_netns\_switch\_enter(\textcolor{keywordtype}{int} nsfd, \textcolor{keyword}{struct} osmo\_netns\_switch\_state *state);}
\DoxyCodeLine{15 \textcolor{keywordtype}{int} osmo\_netns\_switch\_exit(\textcolor{keyword}{struct} osmo\_netns\_switch\_state *state);}
\DoxyCodeLine{16 }

\end{DoxyCode}
