Home
last modified time | relevance | path

Searched refs:namespace (Results 1 – 15 of 15) sorted by relevance

/tools/testing/selftests/bpf/prog_tests/
A Dtest_xdp_veth.c74 char namespace[NS_NAME_MAX_LEN]; /* Namespace for the remote veth */ member
92 .namespace = "ns-veth11-"
99 .namespace = "ns-veth22-"
106 .namespace = "ns-veth33-"
151 nstoken = open_netns(net_config->veth_cfg[index].namespace); in attach_programs_to_veth_pair()
189 SYS(fail, "ip netns add %s", net_config->veth_cfg[i].namespace); in create_network()
200 net_config->veth_cfg[i].namespace); in create_network()
204 net_config->veth_cfg[i].namespace, in create_network()
308 net_config.veth_cfg[0].namespace, IP_DST), "ping"); in xdp_veth_redirect()
410 net_config.veth_cfg[0].namespace, IP_NEIGH); in xdp_veth_broadcast_redirect()
[all …]
/tools/net/ynl/pyynl/
A Dynl_gen_rst.py85 def rst_section(namespace: str, prefix: str, title: str) -> str:
105 def rst_ref(namespace: str, prefix: str, name: str) -> str:
176 def parse_operations(operations: List[Dict[str, Any]], namespace: str) -> str:
183 lines.append(rst_section(namespace, 'operation', operation["name"]))
192 value = rst_ref(namespace, key, value)
235 def parse_definitions(defs: Dict[str, Any], namespace: str) -> str:
260 def parse_attr_sets(entries: List[Dict[str, Any]], namespace: str) -> str:
268 lines.append(rst_section(namespace, 'attribute-set', entry["name"]))
282 value = rst_ref(namespace, k, attr[k])
291 def parse_sub_messages(entries: List[Dict[str, Any]], namespace: str) -> str:
[all …]
/tools/testing/selftests/tc-testing/
A DREADME6 execute them inside a network namespace dedicated to the task.
14 * The kernel must have network namespace support if using nsPlugin
57 network namespace and creates a veth pair which may be used in those test
58 cases. To disable execution within the namespace, pass the -N option
101 A test that runs inside a namespace (requires "nsPlugin") will run in parallel
104 Tests that use netdevsim or don't run inside a namespace run serially with regards
188 sets up a network namespace and runs all commands in that namespace,
A Dtdc.py126 (args, remaining) = parser.parse_known_args(args=remaining, namespace=args)
/tools/testing/selftests/net/
A Dioam6.sh305 ioam namespace add 123 data ${ALPHA[6]} wide ${ALPHA[7]} &>/dev/null
309 ioam namespace set 123 schema ${ALPHA[8]} &>/dev/null
328 ip -netns $ioam_node_beta ioam namespace add 123 &>/dev/null
477 ip -netns $ioam_node_alpha ioam namespace del 123 &>/dev/null
497 ioam namespace set 123 schema ${ALPHA[8]} &>/dev/null
617 ioam namespace show 2>/dev/null | grep -wq 123
621 ioam namespace show 2>/dev/null | grep -wq ${ALPHA[6]}
625 ioam namespace show 2>/dev/null | grep -wq ${ALPHA[7]}
669 ioam namespace show 2>/dev/null | grep -wq ${ALPHA[8]}
1473 ip -netns $ioam_node_alpha ioam namespace add 123 &>/dev/null
[all …]
/tools/testing/selftests/tc-testing/plugin-lib/
A DREADME-PLUGINS27 Run all the commands in a network namespace.
/tools/perf/Documentation/
A Dperf-buildid-cache.txt73 Obtain mount namespace information from the target pid. This is
75 different mount namespace from the perf(1) utility.
A Dperf-probe.txt134 Obtain mount namespace information from the target pid. This is
136 different mount namespace from the perf(1) utility.
281 Add a uprobe to a target process running in a different mount namespace
285 Add a USDT probe to a target process running in a different mount namespace
A Dperf-script.txt351 --show-namespace-events
352 Display namespace events i.e. events of type PERF_RECORD_NAMESPACES.
A Dperf-report.txt114 - cgroup_id: ID derived from cgroup namespace device and inode numbers.
/tools/testing/selftests/futex/
A DREADME55 problem as we intend to write multiple tests which collide in this namespace.
/tools/testing/selftests/drivers/net/
A DREADME.rst86 for netns - name of the "remote" namespace
/tools/testing/selftests/tc-testing/creating-testcases/
A DAddingTestCases.txt81 tests will immediately stop with an error message and the namespace in which
/tools/kvm/kvm_stat/
A Dkvm_stat1706 def __call__(self, parser, namespace, values, option_string=None):
1719 namespace.pid = pids[0]
/tools/testing/selftests/nolibc/
A Dnolibc-test.c1400 CASE_TEST(namespace); EXPECT_SYSZR(euid0 && proc, test_namespace()); break; in run_syscall()

Completed in 25 milliseconds