Lines Matching defs:interface
5 * pppstats [-a|-d] [-v|-r|-z] [-c count] [-w wait] [interface]
101 char *interface;
131 fprintf(stderr, "Usage: %s [-a|-d] [-v|-r|-z] [-c count] [-w wait] [interface]\n",
161 strncpy(req.ifr_name, interface, IFNAMSIZ);
187 strncpy(creq.ifr_name, interface, IFNAMSIZ);
288 * Print a running summary of interface statistics.
307 interface = PPP_DRV_NAME "0";
461 interface = PPP_DRV_NAME "0";
468 interface = SL_DRV_NAME "0";
471 interface = PPP_DRV_NAME "0";
520 interface = argv[0];
537 strncpy(ifr.ifr_name, interface, IFNAMSIZ);
540 fprintf(stderr, "%s: nonexistent interface '%s' specified\n",
541 progname, interface);
547 if (sscanf(interface, PPP_DRV_NAME "%d", &unit) != 1) {
548 fprintf(stderr, "%s: invalid interface '%s' specified\n",
549 progname, interface);