Searched refs:nspath (Results 1 – 2 of 2) sorted by relevance
/linux-6.1.9/tools/testing/selftests/bpf/ |
D | network_helpers.c | 439 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/ |
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()
|