summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorBenjamin Thery <benjamin.thery@bull.net>2008-06-20 11:07:35 +0200
committerStephen Hemminger <stephen.hemminger@vyatta.com>2008-06-23 09:10:47 -0700
commite2613dc8605e56dbc53890ebbae263f93610bd41 (patch)
treefd7fba9615c735117bceb4e1068eb44ef18a0559 /doc
parentae76106841d764fc64188e78f5c2a2575fba725e (diff)
downloadiproute2-e2613dc8605e56dbc53890ebbae263f93610bd41.tar.gz
iproute2: add support for IFLA_NET_NS_PID in ip link
Hi Stephen, I resend you this patch once more. This time I updated the documentation too (may be that was the reason why you didn't take it before?). Please tell me if there are other things missing in this patch It applies on iproute2 git tree. Regards, Benjamin Description: ------------ This patch adds support for the IFLA_NET_NS_PID type. It is used to move network devices between network namespaces. The syntax is: ip link set DEVICE netns PID PID is the pid of a process in the target network namespace. (Daniel Lezcano is the original author). Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com> Signed-off-by: Benjamin Thery <benjamin.thery@bull.net> Signed-off-by: Stephen Hemminger <stephen.hemminger@vyatta.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/ip-cref.tex4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/ip-cref.tex b/doc/ip-cref.tex
index cc0e07d3..bb4eb783 100644
--- a/doc/ip-cref.tex
+++ b/doc/ip-cref.tex
@@ -294,6 +294,10 @@ broadcast address will break networking.
Do not use it, if you do not understand what this operation really does.
\end{NB}
+\item \verb|netns PID|
+
+--- move the device to the network namespace associated with the process PID.
+
\end{itemize}
\vskip 1mm