Home
last modified time | relevance | path

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

/external/iproute2/lib/
Dbpf.c617 static int bpf_gen_global(const char *bpf_sub_dir) in bpf_gen_global() argument
623 bpf_sub_dir, BPF_DIR_GLOBALS); in bpf_gen_global()
637 char bpf_sub_dir[PATH_MAX]; in bpf_gen_master() local
640 snprintf(bpf_sub_dir, sizeof(bpf_sub_dir), "%s%s/", base, name); in bpf_gen_master()
642 ret = mkdir(bpf_sub_dir, S_IRWXU); in bpf_gen_master()
644 fprintf(stderr, "mkdir %s failed: %s\n", bpf_sub_dir, in bpf_gen_master()
649 return bpf_gen_global(bpf_sub_dir); in bpf_gen_master()
679 char bpf_sub_dir[PATH_MAX]; in bpf_gen_slave() local
684 snprintf(bpf_sub_dir, sizeof(bpf_sub_dir), "%s%s", base, name); in bpf_gen_slave()
686 ret = symlink(bpf_lnk_dir, bpf_sub_dir); in bpf_gen_slave()
[all …]