Searched refs:nspath (Results 1 – 2 of 2) sorted by relevance
/Linux-v6.1/tools/testing/selftests/bpf/ |
D | network_helpers.c | 435 char nspath[PATH_MAX]; in open_netns() local 447 snprintf(nspath, sizeof(nspath), "%s/%s", "/var/run/netns", name); in open_netns() 448 nsfd = open(nspath, O_RDONLY | O_CLOEXEC); in open_netns()
|
/Linux-v6.1/tools/testing/selftests/bpf/prog_tests/ |
D | xdp_bonding.c | 42 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()
|