Lines Matching defs:ebuf
113 static int first_init (const char *name, char *ebuf, int promisc);
146 pcap_t *pcap_create (const char *device, char *ebuf)
150 p = pcap_create_common(device, ebuf);
452 char *pcap_lookupdev (char *ebuf)
472 if (ebuf)
473 strcpy (ebuf, "No driver found");
604 open_driver (const char *dev_name, char *ebuf, int promisc)
621 sprintf (ebuf, "failed to detect device `%s'", dev_name);
643 sprintf (ebuf, "failed to activate device `%s'", dev_name);
646 strcat (ebuf, ": ");
647 strcat (ebuf, pktInfo.error);
665 sprintf (ebuf, "device `%s' not supported", dev_name);
672 sprintf (ebuf, "device `%s' not probed", dev_name);
750 static int first_init (const char *name, char *ebuf, int promisc)
758 strcpy (ebuf, "Not enough memory (Rx pool)");
771 dev = open_driver (name, ebuf, promisc);