Lines Matching refs:ebuf
111 static int first_init (const char *name, char *ebuf, int promisc);
152 pcap_t *pcap_create_interface (const char *device _U_, char *ebuf) in pcap_create_interface() argument
156 p = pcap_create_common(ebuf, sizeof (struct pcap_dos)); in pcap_create_interface()
490 char *pcap_lookupdev (char *ebuf) in pcap_lookupdev() argument
510 if (ebuf) in pcap_lookupdev()
511 strcpy (ebuf, "No driver found"); in pcap_lookupdev()
653 open_driver (const char *dev_name, char *ebuf, int promisc) in open_driver() argument
670 pcap_snprintf (ebuf, PCAP_ERRBUF_SIZE, "failed to detect device `%s'", dev_name); in open_driver()
692 pcap_snprintf (ebuf, PCAP_ERRBUF_SIZE, "failed to activate device `%s'", dev_name); in open_driver()
695 strcat (ebuf, ": "); in open_driver()
696 strcat (ebuf, pktInfo.error); in open_driver()
714 pcap_snprintf (ebuf, PCAP_ERRBUF_SIZE, "device `%s' not supported", dev_name); in open_driver()
721 pcap_snprintf (ebuf, PCAP_ERRBUF_SIZE, "device `%s' not probed", dev_name); in open_driver()
799 static int first_init (const char *name, char *ebuf, int promisc) in first_init() argument
807 strcpy (ebuf, "Not enough memory (Rx pool)"); in first_init()
820 dev = open_driver (name, ebuf, promisc); in first_init()