Lines Matching defs:ebuf

513 	char ebuf[PCAP_ERRBUF_SIZE];
516 if (pcap_findalldevs(&devlist, ebuf) < 0)
517 error("%s", ebuf);
578 char ebuf[PCAP_ERRBUF_SIZE];
582 ebuf) < 0)
583 error("%s", ebuf);
1192 char ebuf[PCAP_ERRBUF_SIZE];
1233 status = pcap_findalldevs_ex(host_url, NULL, &devlist, ebuf);
1237 status = pcap_findalldevs(&devlist, ebuf);
1239 error("%s", ebuf);
1266 open_interface(const char *device, netdissect_options *ndo, char *ebuf)
1283 *ebuf = '\0';
1286 ebuf);
1295 if (strstr(ebuf, "No such device") != NULL ||
1296 strstr(ebuf, "The system cannot find the device specified") != NULL)
1298 error("%s", ebuf);
1300 if (*ebuf)
1301 warning("%s", ebuf);
1307 pc = pcap_create(device, ebuf);
1315 if (strstr(ebuf, "No such device") != NULL)
1317 error("%s", ebuf);
1401 snprintf(ebuf, PCAP_ERRBUF_SIZE, "%s: %s\n(%s)",
1460 *ebuf = '\0';
1467 pc = pcap_open_live(device, ndo->ndo_snaplen, !pflag, timeout, ebuf);
1475 if (strstr(ebuf, "No such device") != NULL)
1477 error("%s", ebuf);
1479 if (*ebuf)
1480 warning("%s", ebuf);
1502 char ebuf[PCAP_ERRBUF_SIZE];
1531 if (nd_init(ebuf, sizeof(ebuf)) == -1)
1532 error("%s", ebuf);
1565 if (abort_on_misalignment(ebuf, sizeof(ebuf)) < 0)
1566 error("%s", ebuf);
1740 if (nd_load_smi_module(optarg, ebuf, sizeof(ebuf)) == -1)
1741 error("%s", ebuf);
2080 ndo->ndo_tstamp_precision, ebuf);
2082 pd = pcap_open_offline(RFileName, ebuf);
2086 error("%s", ebuf);
2144 if (pcap_findalldevs(&devlist, ebuf) == -1)
2145 error("%s", ebuf);
2155 device = pcap_lookupdev(ebuf);
2157 error("%s", ebuf);
2164 pd = open_interface(device, ndo, ebuf);
2180 error("%s", ebuf);
2192 pd = open_interface(device, ndo, ebuf);
2194 error("%s", ebuf);
2200 error("%s", ebuf);
2268 if (pcap_lookupnet(device, &localnet, &netmask, ebuf) < 0) {
2269 warning("foreign (-f) flag used but: %s", ebuf);
2658 pd = pcap_open_offline(RFileName, ebuf);
2660 error("%s", ebuf);