Lines Matching refs:ebuf
112 static int first_init (const char *name, char *ebuf, int promisc);
447 char *pcap_lookupdev (char *ebuf)
467 if (ebuf)
468 strcpy (ebuf, "No driver found");
599 open_driver (const char *dev_name, char *ebuf, int promisc)
616 sprintf (ebuf, "failed to detect device `%s'", dev_name);
638 sprintf (ebuf, "failed to activate device `%s'", dev_name);
641 strcat (ebuf, ": ");
642 strcat (ebuf, pktInfo.error);
660 sprintf (ebuf, "device `%s' not supported", dev_name);
667 sprintf (ebuf, "device `%s' not probed", dev_name);
745 static int first_init (const char *name, char *ebuf, int promisc)
753 strcpy (ebuf, "Not enough memory (Rx pool)");
766 dev = open_driver (name, ebuf, promisc);