Home
last modified time | relevance | path

Searched refs:nspath (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/tools/testing/selftests/bpf/
Dnetwork_helpers.c439 char nspath[PATH_MAX]; in open_netns() local
451 snprintf(nspath, sizeof(nspath), "%s/%s", "/var/run/netns", name); in open_netns()
452 nsfd = open(nspath, O_RDONLY | O_CLOEXEC); in open_netns()
/linux-6.1.9/tools/testing/selftests/bpf/prog_tests/
Dxdp_bonding.c42 char nspath[PATH_MAX]; in setns_by_name() local
44 snprintf(nspath, sizeof(nspath), "%s/%s", "/var/run/netns", name); in setns_by_name()
45 nsfd = open(nspath, O_RDONLY | O_CLOEXEC); in setns_by_name()