Lines Matching defs:interface
53 char *interface = NULL;
87 fprintf(stderr, "usage: altqstat [-enrs] [-c count] [-w wait] [-i interface|-I input_interface]\n");
104 interface = input;
115 interface = optarg;
142 if (quip_openserver() < 0 && interface == NULL)
143 errx(1, "you have to specify interface!");
160 interface = quip_selectinterface(interface);
161 if (interface == NULL)
162 errx(1, "no interface found!");
164 qtype = ifname2qdisc(interface, qname);
166 errx(1, "altq is not attached on %s!", interface);
174 printf("%s: %s on interface %s\n",
175 argv[0], qdisc_name, interface);
187 (*stat_loop)(qdiscfd, interface, count, (int)ival);