Home
last modified time | relevance | path

Searched refs:ns_a (Results 1 – 7 of 7) sorted by relevance

/linux-6.12.1/tools/testing/selftests/net/
Dpmtu.sh429 run_cmd ${ns_a} ip fou add port 5555 ipproto ${ipproto} || return $ksft_skip
430 …run_cmd ${ns_a} ip link add ${encap}_a type ${type} ${mode} local ${a_addr} remote ${b_addr} encap…
436 run_cmd ${ns_a} ip addr add ${tunnel4_a_addr}/${tunnel4_mask} dev ${encap}_a
439 run_cmd ${ns_a} ip addr add ${tunnel6_a_addr}/${tunnel6_mask} dev ${encap}_a
443 run_cmd ${ns_a} ip link set ${encap}_a up
504 …run_cmd ${ns_a} ip link add ip_a type ${type} local ${a_addr} remote ${b_addr} mode ${mode} || ret…
507 run_cmd ${ns_a} ip link set ip_a up
511 run_cmd ${ns_a} ip addr add ${tunnel4_a_addr}/${tunnel4_mask} dev ip_a
514 run_cmd ${ns_a} ip addr add ${tunnel6_a_addr}/${tunnel6_mask} dev ip_a
542 ns_a="ip netns exec ${NS_A}"
[all …]
Dipsec.c307 static int veth_add(int sock, uint32_t seq, const char *peera, int ns_a, in veth_add() argument
330 if (rtattr_pack(&req.nh, sizeof(req), IFLA_NET_NS_FD, &ns_a, sizeof(ns_a))) in veth_add()
/linux-6.12.1/tools/testing/selftests/net/tcp_ao/lib/
Dkconfig.c27 int orig_netns, ns_a, ns_b; in has_veth() local
30 ns_a = unshare_open_netns(); in has_veth()
33 *err = add_veth("check_veth", ns_a, ns_b); in has_veth()
37 close(ns_a); in has_veth()
Dnetlink.c135 int ns_a, int ns_b) in __add_veth() argument
157 if (rtattr_pack(&req.nh, sizeof(req), IFLA_NET_NS_FD, &ns_a, sizeof(ns_a))) in __add_veth()
/linux-6.12.1/drivers/net/netdevsim/
Dbus.c241 struct net *ns_a, *ns_b; in link_device_store() local
250 ns_a = get_net_ns_by_fd(netnsfd_a); in link_device_store()
251 if (IS_ERR(ns_a)) { in link_device_store()
259 put_net(ns_a); in link_device_store()
265 dev_a = __dev_get_by_index(ns_a, ifidx_a); in link_device_store()
319 put_net(ns_a); in link_device_store()
/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/
Dxfrm_info.c163 static int setup_xfrm_tunnel(const char *ns_a, const char *ns_b, in setup_xfrm_tunnel() argument
167 return setup_xfrm_tunnel_ns(ns_a, ipv4_a, ipv4_b, if_id_a) || in setup_xfrm_tunnel()
/linux-6.12.1/fs/
Dnamespace.c129 struct mnt_namespace *ns_a = node_to_mnt_ns(a); in mnt_ns_less() local
131 u64 seq_a = ns_a->seq; in mnt_ns_less()