Lines Matching refs:ebuf
112 static int first_init (const char *name, char *ebuf, int promisc);
153 pcap_t *pcap_create_interface (const char *device _U_, char *ebuf) in pcap_create_interface() argument
157 p = PCAP_CREATE_COMMON(ebuf, struct pcap_dos); in pcap_create_interface()
506 char *pcap_lookupdev (char *ebuf) in pcap_lookupdev() argument
526 if (ebuf) in pcap_lookupdev()
527 strcpy (ebuf, "No driver found"); in pcap_lookupdev()
669 open_driver (const char *dev_name, char *ebuf, int promisc) in open_driver() argument
686 snprintf (ebuf, PCAP_ERRBUF_SIZE, "failed to detect device `%s'", dev_name); in open_driver()
708 snprintf (ebuf, PCAP_ERRBUF_SIZE, "failed to activate device `%s'", dev_name); in open_driver()
711 strcat (ebuf, ": "); in open_driver()
712 strcat (ebuf, pktInfo.error); in open_driver()
730 snprintf (ebuf, PCAP_ERRBUF_SIZE, "device `%s' not supported", dev_name); in open_driver()
737 snprintf (ebuf, PCAP_ERRBUF_SIZE, "device `%s' not probed", dev_name); in open_driver()
815 static int first_init (const char *name, char *ebuf, int promisc) in first_init() argument
823 strcpy (ebuf, "Not enough memory (Rx pool)"); in first_init()
836 dev = open_driver (name, ebuf, promisc); in first_init()