Lines Matching refs:device
212 char *cp, *device;
230 device = NULL;
253 device = optarg;
267 if (device == NULL) {
272 device = pcap_lookupdev(ebuf);
273 if (device == NULL) {
302 pd = pcap_create(device, ebuf);
304 error("%s: pcap_create() failed: %s", device, ebuf);
308 device, pcap_statustostr(status));
312 device, pcap_statustostr(status));
317 device, pcap_statustostr(status));
322 device, pcap_statustostr(status));
328 error("%s: %s\n(%s)", device,
335 warning("%s: %s\n(%s)", device,
340 pd = pcap_open_live(device, 65535, 1, 1000, ebuf);