Searched defs:errbuf (Results 1 - 25 of 44) sorted by relevance

12

/external/libpcap/
H A Dfad-null.c51 pcap_findalldevs_interfaces(pcap_if_t **alldevsp, char *errbuf) argument
H A Dfad-sita.c38 int pcap_findalldevs_interfaces(pcap_if_t **alldevsp, char *errbuf) { argument
43 strcpy(errbuf, "");
44 if (acn_parse_hosts_file(errbuf)) /* scan the hosts file for potential IOPs */
50 if (acn_findalldevs(errbuf)) /* then ask the IOPs for their monitorable devices */
H A Dpcap-null.c46 pcap_platform_finddevs(pcap_if_t **alldevsp, char *errbuf) argument
H A Dfad-win32.c46 char *errbuf)
58 if (add_or_find_if(&curdev, devlist, name, 0, desc, errbuf) == -1) {
100 errbuf);
122 pcap_findalldevs_interfaces(pcap_if_t **alldevsp, char *errbuf) argument
155 snprintf(errbuf, PCAP_ERRBUF_SIZE,
171 snprintf(errbuf, PCAP_ERRBUF_SIZE, "Cannot allocate enough memory to list the adapters.");
176 snprintf(errbuf, PCAP_ERRBUF_SIZE,
215 if (pcap_add_if_win32(&devlist, name, desc, errbuf) == -1) {
231 if (pcap_platform_finddevs(&devlist, errbuf) < 0)
45 pcap_add_if_win32(pcap_if_t **devlist, char *name, const char *desc, char *errbuf) argument
H A Dfad-getad.c147 pcap_findalldevs_interfaces(pcap_if_t **alldevsp, char *errbuf) argument
171 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE,
260 errbuf) < 0) {
H A Dfad-gifc.c135 pcap_findalldevs_interfaces(pcap_if_t **alldevsp, char *errbuf) argument
157 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE,
173 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE,
184 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE,
247 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE,
271 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE,
302 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE,
341 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE,
397 errbuf) < 0) {
H A Dfad-glifc.c78 pcap_findalldevs_interfaces(pcap_if_t **alldevsp, char *errbuf) argument
100 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE,
110 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE,
123 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE,
136 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE,
152 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE,
213 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE,
236 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE,
264 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE,
299 (void)snprintf(errbuf, PCAP_ERRBUF_SIZ
[all...]
H A Ddlpisubs.c259 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "unknown mactype %u",
279 pcap_stream_err("I_PUSH bufmod", errno, p->errbuf);
286 pcap_stream_err("SBIOCSSNAP", errno, p->errbuf);
295 pcap_stream_err("SBIOCSTIME", errno, p->errbuf);
304 pcap_stream_err("SBIOCSTIME", errno, p->errbuf);
313 pcap_stream_err("SBIOCSCHUNKP", errno, p->errbuf);
331 strlcpy(p->errbuf, pcap_strerror(errno), PCAP_ERRBUF_SIZE);
360 * Write stream error message to errbuf.
363 pcap_stream_err(const char *func, int err, char *errbuf) argument
365 snprintf(errbuf, PCAP_ERRBUF_SIZ
[all...]
H A Dpcap-can-linux.c83 can_findalldevs(pcap_if_t **devlistp, char *errbuf) argument
167 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "Can't create raw socket %d:%s",
177 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE,
189 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "Can't allocate dump buffer: %s",
200 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "Can't attach to device %d %d:%s",
248 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "Can't receive packet %d:%s",
262 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "Can't get time of day %d:%s",
277 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "inject not supported on "
308 snprintf(p->errbuf, sizeof(p->errbuf),
[all...]
H A Dpcap-nit.c117 snprintf(p->errbuf, sizeof(p->errbuf), "pcap_read: %s",
171 snprintf(p->errbuf, sizeof(p->errbuf),
209 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "send: %s",
252 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "SIOCSNIT: %s",
283 snprintf(p->errbuf, PCAP_ERRBUF_SIZE,
291 snprintf(p->errbuf, PCAP_ERRBUF_SIZE,
306 strlcpy(p->errbuf, pcap_strerror(errno), PCAP_ERRBUF_SIZE);
364 pcap_platform_finddevs(pcap_if_t **alldevsp, char *errbuf) argument
[all...]
H A Dpcap-septel.c46 static int septel_setnonblock(pcap_t *p, int nonblock, char *errbuf);
184 strlcpy(handle->errbuf, "Sending packets isn't supported on Septel cards",
255 septel_findalldevs(pcap_if_t **devlistp, char *errbuf) argument
258 "Intel/Septel device",errbuf));
271 strncpy(p->errbuf, "setfilter: No filter specified",
272 sizeof(p->errbuf));
279 snprintf(p->errbuf, sizeof(p->errbuf),
289 septel_setnonblock(pcap_t *p, int nonblock, char *errbuf) argument
291 fprintf(errbuf, PCAP_ERRBUF_SIZ
[all...]
H A Dpcap-snoop.c98 snprintf(p->errbuf, sizeof(p->errbuf),
153 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "send: %s",
170 snprintf(p->errbuf, sizeof(p->errbuf),
215 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "snoop socket: %s",
224 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "snoop bind: %s",
230 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "SIOCADDSNOOP: %s",
306 snprintf(p->errbuf, PCAP_ERRBUF_SIZE,
328 snprintf(p->errbuf, PCAP_ERRBUF_SIZ
415 pcap_platform_finddevs(pcap_if_t **alldevsp, char *errbuf) argument
[all...]
H A Dpcap-libdlpi.c119 p->errbuf);
136 pcap_libdlpi_err(p->opt.source, "dlpi_bind", retv, p->errbuf);
190 pcap_libdlpi_err(p->opt.source, "dlpi_info", retv, p->errbuf);
212 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "FLUSHR: %s",
262 retv, p->errbuf);
274 pcap_platform_finddevs(pcap_if_t **alldevsp, char *errbuf) argument
287 snprintf(errbuf, PCAP_ERRBUF_SIZE,
295 if (pcap_add_if(alldevsp, entry->linkname, 0, NULL, errbuf) < 0)
355 "dlpi_recv", retv, p->errbuf);
374 p->errbuf);
405 pcap_libdlpi_err(const char *linkname, const char *func, int err, char *errbuf) argument
[all...]
H A Dpcap-pf.c130 snprintf(pc->errbuf, sizeof(pc->errbuf), "pf read: %s",
163 snprintf(pc->errbuf, sizeof(pc->errbuf),
175 snprintf(pc->errbuf, sizeof(pc->errbuf),
235 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "send: %s",
329 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "pf open: %s: %s\n\
341 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "EIOCMBIS: %s",
352 snprintf(p->errbuf, PCAP_ERRBUF_SIZ
519 pcap_platform_finddevs(pcap_if_t **alldevsp, char *errbuf) argument
[all...]
H A Dpcap-snf.c54 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "snf_get_stats: %s",
82 snf_getnonblock(pcap_t *p, char *errbuf) argument
90 snf_setnonblock(pcap_t *p, int nonblock, char *errbuf) argument
167 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "snf_read: %s",
200 strncpy(p->errbuf, "setfilter: No filter specified",
201 sizeof(p->errbuf));
222 snprintf(p->errbuf, PCAP_ERRBUF_SIZE,
233 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "snf_inject_send: %s",
238 strlcpy(p->errbuf, "Sending packets isn't supported with this snf version",
254 snprintf(p->errbuf, PCAP_ERRBUF_SIZ
325 snf_findalldevs(pcap_if_t **devlistp, char *errbuf) argument
[all...]
H A Dpcap-snit.c133 snprintf(p->errbuf, sizeof(p->errbuf), "pcap_read: %s",
226 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "send: %s",
250 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "NIOCSCHUNK: %s",
263 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "NIOCSTIME: %s",
275 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "NIOCSFLAGS: %s",
323 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "%s: %s", dev,
330 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "I_SRDOPT: %s",
335 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "push nbuf: %s",
345 snprintf(p->errbuf, PCAP_ERRBUF_SIZ
442 pcap_platform_finddevs(pcap_if_t **alldevsp, char *errbuf) argument
[all...]
/external/google-benchmark/src/
H A Dre_posix.cc27 char* errbuf = new char[needed]; local
28 regerror(ec, &re_, errbuf, needed);
33 error->assign(errbuf, needed - 1);
35 delete[] errbuf;
/external/libselinux/src/
H A Dlabel_support.c29 static inline int read_spec_entry(char **entry, char **ptr, int *len, const char **errbuf) argument
43 *errbuf = "Non-ASCII characters found";
61 * errbuf - Double pointer used for passing back specific error messages.
65 * set and may set errbuf to a specific error message.
70 int hidden read_spec_entries(char *line_buf, const char **errbuf, int num_args, ...) argument
76 *errbuf = NULL;
107 rc = read_spec_entry(spec_entry, &buf_p, &entry_len, errbuf);
/external/libpcap/tests/
H A Dfindalldevstest.c25 char errbuf[PCAP_ERRBUF_SIZE+1]; local
26 if (pcap_findalldevs(&alldevs, errbuf) == -1)
28 fprintf(stderr,"Error in pcap_findalldevs: %s\n",errbuf);
37 if ( (s = pcap_lookupdev(errbuf)) == NULL)
39 fprintf(stderr,"Error in pcap_lookupdev: %s\n",errbuf);
47 if (pcap_lookupnet(s, &net, &mask, errbuf) < 0)
49 fprintf(stderr,"Error in pcap_lookupnet: %s\n",errbuf);
/external/libxml2/
H A Dxmlmodule.c416 char errbuf[256]; local
420 rc = DosLoadModule(errbuf, sizeof(errbuf) - 1, name, &handle);
/external/llvm/lib/Support/
H A Dregerror.c84 llvm_regerror(int errcode, const llvm_regex_t *preg, char *errbuf, size_t errbuf_size) argument
113 llvm_strlcpy(errbuf, s, errbuf_size);
/external/bison/lib/
H A Derror.c173 char errbuf[1024]; local
175 s = __strerror_r (errnum, errbuf, sizeof errbuf);
177 if (__strerror_r (errnum, errbuf, sizeof errbuf) == 0)
178 s = errbuf;
/external/opencv3/3rdparty/include/ffmpeg_/libavutil/
H A Derror.h77 * Put a description of the AVERROR code errnum in errbuf.
80 * error message indicating the errnum provided to errbuf.
83 * @param errbuf buffer to which description is written
84 * @param errbuf_size the size in bytes of errbuf
88 int av_strerror(int errnum, char *errbuf, size_t errbuf_size);
94 * @param errbuf a buffer
95 * @param errbuf_size size in bytes of errbuf
100 static inline char *av_make_error_string(char *errbuf, size_t errbuf_size, int errnum) argument
102 av_strerror(errnum, errbuf, errbuf_size);
103 return errbuf;
[all...]
/external/pcre/dist/
H A Dpcreposix.c210 regerror(int errcode, const regex_t *preg, char *errbuf, size_t errbuf_size) argument
226 sprintf(errbuf, "%s%s%-6d", message, addmessage, (int)preg->re_erroffset);
229 strncpy(errbuf, message, errbuf_size - 1);
230 errbuf[errbuf_size-1] = 0;
/external/ppp/pppd/include/
H A Dpcap-int.h97 char errbuf[PCAP_ERRBUF_SIZE]; member in struct:pcap

Completed in 474 milliseconds

12