Lines Matching refs:ebuf

423 	char ebuf[PCAP_ERRBUF_SIZE];  in show_devices_and_exit()  local
426 if (pcap_findalldevs(&devlist, ebuf) < 0) in show_devices_and_exit()
427 error("%s", ebuf); in show_devices_and_exit()
926 char ebuf[PCAP_ERRBUF_SIZE]; in find_interface_by_number() local
929 if (pcap_findalldevs(&devlist, ebuf) < 0) in find_interface_by_number()
930 error("%s", ebuf); in find_interface_by_number()
946 open_interface(const char *device, netdissect_options *ndo, char *ebuf) in open_interface() argument
955 pc = pcap_create(device, ebuf); in open_interface()
963 if (strstr(ebuf, "No such device") != NULL) in open_interface()
965 error("%s", ebuf); in open_interface()
1040 snprintf(ebuf, PCAP_ERRBUF_SIZE, "%s: %s\n(%s)", in open_interface()
1075 *ebuf = '\0'; in open_interface()
1076 pc = pcap_open_live(device, ndo->ndo_snaplen, !pflag, 1000, ebuf); in open_interface()
1084 if (strstr(ebuf, "No such device") != NULL) in open_interface()
1086 error("%s", ebuf); in open_interface()
1088 if (*ebuf) in open_interface()
1089 warning("%s", ebuf); in open_interface()
1111 char ebuf[PCAP_ERRBUF_SIZE]; in main() local
1137 if (nd_init(ebuf, sizeof ebuf) == -1) in main()
1138 error("%s", ebuf); in main()
1169 if (abort_on_misalignment(ebuf, sizeof(ebuf)) < 0) in main()
1170 error("%s", ebuf); in main()
1312 if (nd_load_smi_module(optarg, ebuf, sizeof ebuf) == -1) in main()
1313 error("%s", ebuf); in main()
1613 ndo->ndo_tstamp_precision, ebuf); in main()
1615 pd = pcap_open_offline(RFileName, ebuf); in main()
1619 error("%s", ebuf); in main()
1651 if (pcap_findalldevs(&devlist, ebuf) >= 0 && in main()
1661 device = pcap_lookupdev(ebuf); in main()
1664 error("%s", ebuf); in main()
1670 pd = open_interface(device, ndo, ebuf); in main()
1686 error("%s", ebuf); in main()
1698 pd = open_interface(device, ndo, ebuf); in main()
1700 error("%s", ebuf); in main()
1706 error("%s", ebuf); in main()
1750 if (pcap_lookupnet(device, &localnet, &netmask, ebuf) < 0) { in main()
1751 warning("foreign (-f) flag used but: %s", ebuf); in main()
2045 pd = pcap_open_offline(RFileName, ebuf); in main()
2047 error("%s", ebuf); in main()