Lines Matching refs:interface
3 * pppstats [-a|-d] [-v|-r|-z] [-c count] [-w wait] [interface]
107 static char *interface;
134 "Usage: %s [-a|-d] [-v|-r|-z] [-c count] [-w wait] [interface]\n",
167 strncpy(req.ifr_name, interface, sizeof(req.ifr_name));
193 strncpy(creq.ifr_name, interface, sizeof(creq.ifr_name));
315 * Print a running summary of interface statistics.
489 interface = PPP_DRV_NAME "0";
541 interface = argv[0];
543 if (sscanf(interface, PPP_DRV_NAME "%d", &unit) != 1) {
544 (void) fprintf(stderr, "%s: invalid interface '%s' specified\n",
545 progname, interface);
563 strncpy(ifr.ifr_name, interface, sizeof(ifr.ifr_name));
565 (void) fprintf(stderr, "%s: nonexistent interface '%s' specified\n",
566 progname, interface);