Lines Matching refs:dev_name
111 static int init_watt32 (struct pcap *pcap, const char *dev_name, char *err_buf);
599 open_driver (const char *dev_name, char *ebuf, int promisc)
607 if (strcmp (dev_name,dev->name))
616 sprintf (ebuf, "failed to detect device `%s'", dev_name);
638 sprintf (ebuf, "failed to activate device `%s'", dev_name);
656 /* 'dev_name' not matched in 'dev_base' list.
660 sprintf (ebuf, "device `%s' not supported", dev_name);
667 sprintf (ebuf, "device `%s' not probed", dev_name);
902 static int init_watt32 (struct pcap *pcap, const char *dev_name, char *err_buf)
927 if (dev_name && strncmp(dev_name,"pkt",3))