HomeSort by relevance Sort by last modified time
    Searched refs:ebuf (Results 1 - 25 of 63) sorted by null

1 2 3

  /external/libpcap/
pcap-bt-linux.h 38 pcap_t *bt_create(const char *device, char *ebuf, int *is_ours);
pcap-bt-monitor-linux.h 32 pcap_t *bt_monitor_create(const char *device, char *ebuf, int *is_ours);
pcap-can-linux.h 35 pcap_t* can_create(const char *device, char *ebuf, int *is_ours);
pcap-canusb-linux.h 35 pcap_t* canusb_create(const char *device, char *ebuf, int *is_ours);
pcap-netfilter-linux.h 35 pcap_t *netfilter_create(const char *device, char *ebuf, int *is_ours);
pcap-septel.h 12 pcap_t *septel_create(const char *device, char *ebuf, int *is_ours);
pcap-usb-linux.h 38 pcap_t *usb_create(const char *device, char *ebuf, int *is_ours);
pcap-null.c 39 pcap_create_interface(const char *device, char *ebuf)
41 (void)strlcpy(ebuf, nosup, PCAP_ERRBUF_SIZE);
pcap-dlpi.c 830 * Returns NULL on error, and fills "ebuf" with an error message.
833 split_dname(char *device, int *unitp, char *ebuf)
844 snprintf(ebuf, PCAP_ERRBUF_SIZE, "%s missing unit number",
856 snprintf(ebuf, PCAP_ERRBUF_SIZE, "%s bad unit number", device);
860 snprintf(ebuf, PCAP_ERRBUF_SIZE, "%s unit number too large",
865 snprintf(ebuf, PCAP_ERRBUF_SIZE, "%s unit number is negative",
874 dl_doattach(int fd, int ppa, char *ebuf)
882 if (send_request(fd, (char *)&req, sizeof(req), "attach", ebuf) < 0)
885 err = dlokack(fd, "attach", (char *)buf, ebuf);
893 dl_dohpuxbind(int fd, char *ebuf)
    [all...]
pcap-dos.c 111 static int first_init (const char *name, char *ebuf, int promisc);
152 pcap_t *pcap_create_interface (const char *device, char *ebuf)
156 p = pcap_create_common(device, ebuf, sizeof (struct pcap_dos));
467 char *pcap_lookupdev (char *ebuf)
487 if (ebuf)
488 strcpy (ebuf, "No driver found");
621 open_driver (const char *dev_name, char *ebuf, int promisc)
638 sprintf (ebuf, "failed to detect device `%s'", dev_name);
660 sprintf (ebuf, "failed to activate device `%s'", dev_name);
663 strcat (ebuf, ": ")
    [all...]
pcap-septel.c 218 pcap_t *septel_create(const char *device, char *ebuf, int *is_ours) {
235 p = pcap_create_common(device, ebuf, sizeof (struct pcap_septel));
pcap.c 488 pcap_alloc_pcap_t(char *ebuf, size_t size)
501 snprintf(ebuf, PCAP_ERRBUF_SIZE, "malloc: %s",
532 pcap_create_common(const char *source, char *ebuf, size_t size)
536 p = pcap_alloc_pcap_t(ebuf, size);
542 snprintf(ebuf, PCAP_ERRBUF_SIZE, "malloc: %s",
815 pcap_open_offline_common(char *ebuf, size_t size)
819 p = pcap_alloc_pcap_t(ebuf, size);
826 snprintf(ebuf, PCAP_ERRBUF_SIZE, "malloc: %s",
1528 static char ebuf[15+10+1]; local
    [all...]
  /system/core/toolbox/upstream-netbsd/lib/libc/stdlib/
strsuftoll.c 135 long long min, long long max, char *ebuf, size_t ebuflen, size_t depth)
142 _DIAGASSERT(ebuf != NULL);
145 snprintf(ebuf, ebuflen, "%s: Recursion limit exceeded", desc);
211 num *= __strsuftollx(desc, expr + 1, min, max, ebuf, ebuflen,
213 if (*ebuf != '\0')
218 snprintf(ebuf, ebuflen, "%s: %s", desc, strerror(errno));
224 snprintf(ebuf, ebuflen, "%s `%s': illegal number", desc, val);
229 snprintf(ebuf, ebuflen, "%s %lld is less than %lld.",
235 snprintf(ebuf, ebuflen, "%s %lld is greater than %lld.",
239 *ebuf = '\0'
    [all...]
  /external/libpcap/tests/
reactivatetest.c 40 char ebuf[PCAP_ERRBUF_SIZE]; local
44 pd = pcap_open_live("lo0", 65535, 0, 1000, ebuf);
46 pd = pcap_open_live("lo", 65535, 0, 1000, ebuf);
49 ebuf);
capturetest.c 68 char ebuf[PCAP_ERRBUF_SIZE]; local
120 device = pcap_lookupdev(ebuf);
122 error("%s", ebuf);
124 *ebuf = '\0';
125 pd = pcap_create(device, ebuf);
127 error("%s", ebuf);
157 if (pcap_lookupnet(device, &localnet, &netmask, ebuf) < 0) {
160 warning("%s", ebuf);
169 if (pcap_setnonblock(pd, nonblock, ebuf) == -1)
170 error("pcap_setnonblock failed: %s", ebuf);
    [all...]
opentest.c 55 char ebuf[PCAP_ERRBUF_SIZE]; local
117 pd = pcap_create(device, ebuf);
119 error("%s", ebuf);
162 *ebuf = '\0';
163 pd = pcap_open_live(device, 65535, 0, 1000, ebuf);
165 error("%s", ebuf);
166 else if (*ebuf)
167 warning("%s", ebuf);
selpolltest.c 62 char ebuf[PCAP_ERRBUF_SIZE]; local
116 device = pcap_lookupdev(ebuf);
118 error("%s", ebuf);
120 *ebuf = '\0';
121 pd = pcap_open_live(device, 65535, 0, 1000, ebuf);
123 error("%s", ebuf);
124 else if (*ebuf)
125 warning("%s", ebuf);
126 if (pcap_lookupnet(device, &localnet, &netmask, ebuf) < 0) {
129 warning("%s", ebuf);
    [all...]
valgrindtest.c 215 char ebuf[PCAP_ERRBUF_SIZE]; local
272 device = pcap_lookupdev(ebuf);
275 ebuf);
302 pd = pcap_create(device, ebuf);
304 error("%s: pcap_create() failed: %s", device, ebuf);
339 *ebuf = '\0';
340 pd = pcap_open_live(device, 65535, 1, 1000, ebuf);
342 error("%s", ebuf);
343 else if (*ebuf)
344 warning("%s", ebuf);
    [all...]
  /external/tcpdump/
machdep.c 63 abort_on_misalignment(char *ebuf _U_, size_t ebufsiz _U_)
69 (void)snprintf(ebuf, ebufsiz, "setsysinfo: errno %d", errno);
tcpdump.c 571 char ebuf[PCAP_ERRBUF_SIZE]; local
574 if (pcap_findalldevs(&devpointer, ebuf) < 0)
575 error("%s", ebuf);
1016 char ebuf[PCAP_ERRBUF_SIZE]; local
1068 if (abort_on_misalignment(ebuf, sizeof(ebuf)) < 0)
1069 error("%s", ebuf);
1186 if (pcap_findalldevs(&devpointer, ebuf) < 0)
1187 error("%s", ebuf);
    [all...]
  /external/ltp/testcases/kernel/syscalls/nftw/
tools.c 32 extern char ebuf[ERR_BUF_SIZ];
73 sprintf(ebuf, "Can't mkdir ./tmp");
74 perror(ebuf);
81 sprintf(ebuf, "Can't mkdir %s %d",
83 perror(ebuf);
91 sprintf(ebuf, "Can't symlink %s ",
93 perror(ebuf);
102 sprintf(ebuf, "Can't open %s", pathdat[i].name);
103 perror(ebuf);
124 sprintf(ebuf, "Can't chmod %s ", "./tmp/data/d333")
    [all...]
tools64.c 32 extern char ebuf[ERR_BUF_SIZ];
72 sprintf(ebuf, "Can't mkdir ./tmp");
73 perror(ebuf);
80 sprintf(ebuf, "Can't mkdir %s %d",
82 perror(ebuf);
90 sprintf(ebuf, "Can't symlink %s ",
92 perror(ebuf);
101 sprintf(ebuf, "Can't open %s", pathdat[i].name);
102 perror(ebuf);
123 sprintf(ebuf, "Can't chmod %s ", "./tmp/data/d333")
    [all...]
  /device/linaro/bootloader/edk2/MdeModulePkg/Universal/RegularExpressionDxe/Oniguruma/
reggnu.c 84 re_compile_pattern(const char* pattern, int size, regex_t* reg, char* ebuf)
91 if (IS_NOT_NULL(ebuf))
92 (void )onig_error_code_to_str((UChar* )ebuf, r, &einfo);
100 re_recompile_pattern(const char* pattern, int size, regex_t* reg, char* ebuf)
114 if (IS_NOT_NULL(ebuf))
115 (void )onig_error_code_to_str((UChar* )ebuf, r, &einfo);
  /device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/Pccts/h/
DLexer.h 58 sprintf((char *)ebuf,"Invalid automaton mode = %d ",m);
59 errstd(ebuf);
  /device/linaro/bootloader/edk2/EdkCompatibilityPkg/Other/Maintained/Tools/Pccts/h/
DLexer.cpp 55 sprintf((char *)ebuf,"Invalid automaton mode = %d ",m);
56 errstd(ebuf);

Completed in 1311 milliseconds

1 2 3