Lines Matching refs:vrf
55 char *vrf, *end; in vrf_identify() local
70 vrf = strstr(buf, "/vrf/"); in vrf_identify()
71 if (vrf) { in vrf_identify()
72 vrf += 5; /* skip past "/vrf/" */ in vrf_identify()
73 end = strchr(vrf, '\n'); in vrf_identify()
77 strlcpy(name, vrf, len); in vrf_identify()
89 char vrf[32]; in ipvrf_identify() local
100 rc = vrf_identify(pid, vrf, sizeof(vrf)); in ipvrf_identify()
102 if (vrf[0] != '\0') in ipvrf_identify()
103 printf("%s\n", vrf); in ipvrf_identify()
212 char *mnt, *vrf; in ipvrf_pids() local
221 vrf = argv[0]; in ipvrf_pids()
222 if (!name_is_vrf(vrf)) { in ipvrf_pids()
234 ret = recurse_dir(mnt, vrf, netns); in ipvrf_pids()
311 char *vrf; in vrf_path() local
335 vrf = strstr(start, "/vrf"); in vrf_path()
336 if (vrf) in vrf_path()
337 *vrf = '\0'; in vrf_path()
464 char vrf[32]; in vrf_reset() local
466 if (vrf_identify(getpid(), vrf, sizeof(vrf)) || in vrf_reset()
467 (vrf[0] == '\0')) in vrf_reset()