Home | History | Annotate | Download | only in libnetutils

Lines Matching refs:fp

277     FILE *fp;
280 fp = fopen("/proc/net/route", "r");
281 if (fp == NULL)
284 if (fscanf(fp, "%*[^\n]\n") < 0) {
285 fclose(fp);
290 int nread = fscanf(fp, "%63s%X%X%X%d%d%d%X%d%d%d\n",
311 fclose(fp);
328 FILE *fp;
330 fp = fopen("/proc/net/route", "r");
331 if (fp == NULL)
334 if (fscanf(fp, "%*[^\n]\n") < 0) {
335 fclose(fp);
341 int nread = fscanf(fp, "%63s%X%X%X%d%d%d%X%d%d%d\n",
354 fclose(fp);