]> git.ipfire.org Git - thirdparty/iproute2.git/commit
ip: Move of set_netnsid_from_name() to namespace.c
authorXiao Liang <shaw.leon@gmail.com>
Fri, 11 Oct 2024 08:01:08 +0000 (16:01 +0800)
committerStephen Hemminger <stephen@networkplumber.org>
Thu, 17 Oct 2024 19:08:08 +0000 (12:08 -0700)
commit18bbd74b345fda2be7246a65bb280294a4c06c17
treeedddb744e84b95629eece0b87fe24800fe729508
parentbea332466d29c1ae4f70f0fdb9effcfc6a0de6ed
ip: Move of set_netnsid_from_name() to namespace.c

Move set_netnsid_from_name() outside for reuse, like what's done for
netns_id_from_name().

Signed-off-by: Xiao Liang <shaw.leon@gmail.com>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
include/namespace.h
ip/ip_common.h
ip/iplink.c
ip/ipnetns.c
lib/namespace.c