Home
last modified time | relevance | path

Searched refs:nsname (Results 1 – 10 of 10) sorted by relevance

/Linux-v6.6/tools/testing/selftests/net/
Dvrf_strict_mode_test.sh59 local nsname=$1
62 if [ "${nsname}" != "${INIT_NETNS_NAME}" ]; then
63 nsarg="-netns ${nsname}"
71 local nsname=$1
72 local nsarg="$(ip_expand_args ${nsname})"
79 local nsname=$1
81 local nsarg="$(ip_expand_args ${nsname})"
88 local nsname=$1
91 local nsarg="$(ip_expand_args ${nsname})"
98 local nsname=$1
[all …]
Dsrv6_hl2encap_red_l2vpn_test.sh233 local nsname
235 nsname="$(get_rtname "${rtid}")"
237 __create_namespace "${nsname}"
243 local nsname
245 nsname="$(get_hsname "${hsid}")"
247 __create_namespace "${nsname}"
252 local nsname
257 nsname="$(get_rtname "${i}")"
259 ip netns del "${nsname}" &>/dev/null || true
264 nsname="$(get_hsname "${i}")"
[all …]
Dsrv6_hencap_red_l3vpn_test.sh282 local nsname
284 nsname="$(get_rtname "${rtid}")"
286 __create_namespace "${nsname}"
292 local nsname
294 nsname="$(get_hsname "${hsid}")"
296 __create_namespace "${nsname}"
301 local nsname
306 nsname="$(get_rtname "${i}")"
308 ip netns del "${nsname}" &>/dev/null || true
313 nsname="$(get_hsname "${i}")"
[all …]
Dsrv6_end_x_next_csid_l3vpn_test.sh452 local nsname
454 nsname="$(get_rtname "${rtid}")"
456 __create_namespace "${nsname}"
458 ip netns exec "${nsname}" sysctl -wq net.ipv6.conf.all.accept_dad=0
459 ip netns exec "${nsname}" sysctl -wq net.ipv6.conf.default.accept_dad=0
460 ip netns exec "${nsname}" sysctl -wq net.ipv6.conf.all.forwarding=1
462 ip netns exec "${nsname}" sysctl -wq net.ipv4.conf.all.rp_filter=0
463 ip netns exec "${nsname}" sysctl -wq net.ipv4.conf.default.rp_filter=0
464 ip netns exec "${nsname}" sysctl -wq net.ipv4.ip_forward=1
470 local nsname
[all …]
Dsrv6_end_next_csid_l3vpn_test.sh410 local nsname
412 nsname="$(get_rtname "${rtid}")"
414 __create_namespace "${nsname}"
420 local nsname
422 nsname="$(get_hsname "${hsid}")"
424 __create_namespace "${nsname}"
429 local nsname
434 nsname="$(get_rtname "${i}")"
436 ip netns del "${nsname}" &>/dev/null || true
441 nsname="$(get_hsname "${i}")"
[all …]
Dsrv6_end_flavors_test.sh309 local nsname
311 nsname="$(get_rtname "${rtid}")"
313 __create_namespace "${nsname}"
319 local nsname
321 nsname="$(get_hsname "${hsid}")"
323 __create_namespace "${nsname}"
328 local nsname
333 nsname="$(get_rtname "${i}")"
335 ip netns del "${nsname}" &>/dev/null || true
340 nsname="$(get_hsname "${i}")"
[all …]
Dsrv6_end_dt4_l3vpn_test.sh232 local nsname=rt-${rt}
234 ip netns add ${nsname}
236 ip netns exec ${nsname} sysctl -wq net.ipv6.conf.all.accept_dad=0
237 ip netns exec ${nsname} sysctl -wq net.ipv6.conf.default.accept_dad=0
239 ip link set veth-rt-${rt} netns ${nsname}
240 ip -netns ${nsname} link set veth-rt-${rt} name veth0
242 ip -netns ${nsname} addr add ${IPv6_RT_NETWORK}::${rt}/64 dev veth0 nodad
243 ip -netns ${nsname} link set veth0 up
244 ip -netns ${nsname} link set lo up
246 ip netns exec ${nsname} sysctl -wq net.ipv4.ip_forward=1
[all …]
Dsrv6_end_dt6_l3vpn_test.sh233 local nsname=rt-${rt}
235 ip netns add ${nsname}
236 ip link set veth-rt-${rt} netns ${nsname}
237 ip -netns ${nsname} link set veth-rt-${rt} name veth0
239 ip netns exec ${nsname} sysctl -wq net.ipv6.conf.all.accept_dad=0
240 ip netns exec ${nsname} sysctl -wq net.ipv6.conf.default.accept_dad=0
242 ip -netns ${nsname} addr add ${IPv6_RT_NETWORK}::${rt}/64 dev veth0 nodad
243 ip -netns ${nsname} link set veth0 up
244 ip -netns ${nsname} link set lo up
246 ip netns exec ${nsname} sysctl -wq net.ipv6.conf.all.forwarding=1
Dsrv6_end_dt46_l3vpn_test.sh263 local nsname=rt-${rt}
265 ip netns add ${nsname}
266 ip link set veth-rt-${rt} netns ${nsname}
267 ip -netns ${nsname} link set veth-rt-${rt} name veth0
269 ip netns exec ${nsname} sysctl -wq net.ipv6.conf.all.accept_dad=0
270 ip netns exec ${nsname} sysctl -wq net.ipv6.conf.default.accept_dad=0
272 ip -netns ${nsname} addr add ${IPv6_RT_NETWORK}::${rt}/64 dev veth0 nodad
273 ip -netns ${nsname} link set veth0 up
274 ip -netns ${nsname} link set lo up
276 ip netns exec ${nsname} sysctl -wq net.ipv4.ip_forward=1
[all …]
Dpmtu.sh404 nsname() { function