/external/libpcap/ |
H A D | pcap-sita.h | 7 extern int acn_parse_hosts_file(char *errbuf); 8 extern int acn_findalldevs(char *errbuf);
|
H A D | fad-sita.c | 38 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 D | pcap-dbus.h | 2 int dbus_findalldevs(pcap_if_t **devlistp, char *errbuf);
|
H A D | pcap-snf.h | 2 int snf_findalldevs(pcap_if_t **devlistp, char *errbuf);
|
H A D | pcap-can-linux.h | 36 int can_findalldevs(pcap_if_t **devlistp, char *errbuf);
|
H A D | pcap-canusb-linux.h | 36 int canusb_findalldevs(pcap_if_t **pdevlist, char* errbuf);
|
H A D | pcap-septel.h | 13 int septel_findalldevs(pcap_if_t **devlistp, char *errbuf);
|
H A D | fad-null.c | 51 pcap_findalldevs_interfaces(pcap_if_t **alldevsp, char *errbuf) argument
|
H A D | sf-pcap-ng.h | 30 u_int precision, char *errbuf, int *err);
|
H A D | sf-pcap.h | 35 u_int precision, char *errbuf, int *err);
|
H A D | savefile.c | 79 sf_getnonblock(pcap_t *p, char *errbuf) argument 89 sf_setnonblock(pcap_t *p, int nonblock, char *errbuf) argument 99 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, 107 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, 116 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, 124 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, 132 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, 141 strlcpy(p->errbuf, "Sending packets isn't supported on savefiles", 153 snprintf(p->errbuf, sizeof(p->errbuf), 169 pcap_open_offline_with_tstamp_precision(const char *fname, u_int precision, char *errbuf) argument 207 pcap_open_offline(const char *fname, char *errbuf) argument 214 pcap_hopen_offline_with_tstamp_precision(intptr_t osfd, u_int precision, char *errbuf) argument 238 pcap_hopen_offline(intptr_t osfd, char *errbuf) argument 256 pcap_fopen_offline_with_tstamp_precision(FILE *fp, u_int precision, char *errbuf) argument 361 pcap_fopen_offline(FILE *fp, char *errbuf) argument [all...] |
H A D | fad-win32.c | 46 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 D | sf-pcap-ng.c | 232 char *errbuf) 239 snprintf(errbuf, PCAP_ERRBUF_SIZE, 245 snprintf(errbuf, PCAP_ERRBUF_SIZE, 256 read_block(FILE *fp, pcap_t *p, struct block_cursor *cursor, char *errbuf) argument 261 status = read_bytes(fp, &bhdr, sizeof(bhdr), 0, errbuf); 278 snprintf(errbuf, PCAP_ERRBUF_SIZE, 290 snprintf(errbuf, PCAP_ERRBUF_SIZE, 306 snprintf(errbuf, PCAP_ERRBUF_SIZE, "out of memory"); 317 bhdr.total_length - sizeof(bhdr), 1, errbuf) == -1) 332 char *errbuf) 231 read_bytes(FILE *fp, void *buf, size_t bytes_to_read, int fail_on_eof, char *errbuf) argument 331 get_from_block_data(struct block_cursor *cursor, size_t chunk_size, char *errbuf) argument 357 get_opthdr_from_block_data(pcap_t *p, struct block_cursor *cursor, char *errbuf) argument 381 get_optvalue_from_block_data(struct block_cursor *cursor, struct option_header *opthdr, char *errbuf) argument 403 process_idb_options(pcap_t *p, struct block_cursor *cursor, u_int *tsresol, u_int64_t *tsoffset, char *errbuf) argument 521 add_interface(pcap_t *p, struct block_cursor *cursor, char *errbuf) argument 645 pcap_ng_check_header(bpf_u_int32 magic, FILE *fp, u_int precision, char *errbuf, int *err) argument [all...] |
H A D | pcap-null.c | 46 pcap_platform_finddevs(pcap_if_t **alldevsp, char *errbuf) argument
|
H A D | pcap-septel.c | 46 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 D | sf-pcap.c | 151 pcap_check_header(bpf_u_int32 magic, FILE *fp, u_int precision, char *errbuf, argument 188 snprintf(errbuf, PCAP_ERRBUF_SIZE, 192 snprintf(errbuf, PCAP_ERRBUF_SIZE, 214 snprintf(errbuf, PCAP_ERRBUF_SIZE, 224 p = pcap_open_offline_common(errbuf, sizeof (struct pcap_sf)); 285 snprintf(errbuf, PCAP_ERRBUF_SIZE, 380 snprintf(errbuf, PCAP_ERRBUF_SIZE, "out of memory"); 415 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, 421 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, 504 snprintf(p->errbuf, PCAP_ERRBUF_SIZ [all...] |
H A D | pcap.c | 168 (void)snprintf(p->errbuf, sizeof(p->errbuf), 275 pcap_findalldevs(pcap_if_t **alldevsp, char *errbuf) argument 277 return (dag_findalldevs(alldevsp, errbuf)); 281 pcap_create(const char *source, char *errbuf) argument 284 return (dag_create(source, errbuf, &is_ours)); 288 pcap_findalldevs(pcap_if_t **alldevsp, char *errbuf) argument 290 return (septel_findalldevs(alldevsp, errbuf)); 294 pcap_create(const char *source, char *errbuf) argument 297 return (septel_create(source, errbuf, 301 pcap_findalldevs(pcap_if_t **alldevsp, char *errbuf) argument 307 pcap_create(const char *source, char *errbuf) argument 357 pcap_findalldevs(pcap_if_t **alldevsp, char *errbuf) argument 405 pcap_create(const char *source, char *errbuf) argument 766 pcap_open_live(const char *source, int snaplen, int promisc, int to_ms, char *errbuf) argument 1399 pcap_getnonblock(pcap_t *p, char *errbuf) argument 1424 pcap_getnonblock_fd(pcap_t *p, char *errbuf) argument 1442 pcap_setnonblock(pcap_t *p, int nonblock, char *errbuf) argument 1466 pcap_setnonblock_fd(pcap_t *p, int nonblock, char *errbuf) argument 1499 static char errbuf[PCAP_ERRBUF_SIZE+1]; local [all...] |
H A D | inet.c | 178 * return PCAP_ERROR and set errbuf to an error message. 182 u_int flags, const char *description, char *errbuf) 242 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE, 318 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE, 329 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE, 340 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE, 589 * return 0, otherwise return PCAP_ERROR and set errbuf to an 605 char *errbuf) 612 errbuf) == -1) { 645 dstaddr_size, errbuf)); 181 add_or_find_if(pcap_if_t **curdev_ret, pcap_if_t **alldevs, const char *name, u_int flags, const char *description, char *errbuf) argument 600 add_addr_to_iflist(pcap_if_t **alldevs, const char *name, u_int flags, struct sockaddr *addr, size_t addr_size, struct sockaddr *netmask, size_t netmask_size, struct sockaddr *broadaddr, size_t broadaddr_size, struct sockaddr *dstaddr, size_t dstaddr_size, char *errbuf) argument 655 add_addr_to_dev(pcap_if_t *curdev, struct sockaddr *addr, size_t addr_size, struct sockaddr *netmask, size_t netmask_size, struct sockaddr *broadaddr, size_t broadaddr_size, struct sockaddr *dstaddr, size_t dstaddr_size, char *errbuf) argument 775 pcap_add_if(pcap_if_t **devlist, const char *name, u_int flags, const char *description, char *errbuf) argument [all...] |
H A D | pcap-bpf.c | 98 static int bpf_load(char *errbuf); 237 pcap_getnonblock_bpf(pcap_t *p, char *errbuf) argument 245 return (pcap_getnonblock_fd(p, errbuf)); 249 pcap_setnonblock_bpf(pcap_t *p, int nonblock, char *errbuf) argument 259 return (pcap_setnonblock_fd(p, nonblock, errbuf)); 350 (void) snprintf(p->errbuf, PCAP_ERRBUF_SIZE, 378 (void) snprintf(p->errbuf, PCAP_ERRBUF_SIZE, 397 (void) snprintf(p->errbuf, PCAP_ERRBUF_SIZE, 437 * On failure, returns a PCAP_ERROR_ value, and sets p->errbuf. 456 if (bpf_load(p->errbuf) 1109 bpf_odminit(char *errbuf) argument 1136 bpf_odmcleanup(char *errbuf) argument 1166 bpf_load(char *errbuf) argument 2310 pcap_platform_finddevs(pcap_if_t **alldevsp, char *errbuf) argument [all...] |
H A D | pcap-snf.c | 54 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 D | fad-glifc.c | 78 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 D | pcap-snit.c | 133 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 D | re_posix.cc | 27 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 D | label_support.c | 29 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 D | findalldevstest.c | 25 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);
|