Searched refs:ns_name (Results 1 – 2 of 2) sorted by relevance
247 ns_name="$(nsname ${ns})"253 ip link add ${if} up netns ${ns_name} type veth peer name ${ifpeer} netns ${peer_name} || return 1257 ip -n ${ns_name} addr add ${prefix4}.${segment}.1/24 dev ${if}258 ip -n ${ns_name} addr add ${prefix6}:${segment}::1/64 dev ${if}271 ns_name="$(nsname ${ns})"273 ip -n ${ns_name} route add ${addr} via ${gw}
401 ForwardDeclarations* AddOrGetNamespace(const string& ns_name) { in AddOrGetNamespace() argument402 ForwardDeclarations*& ns = namespaces_[ns_name]; in AddOrGetNamespace()