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

1 2

  /external/libpcap/
pcap-bt-linux.h 40 pcap_t *bt_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 14 pcap_t *septel_create(const char *device, char *ebuf, int *is_ours);
pcap-usb-linux.h 40 pcap_t *usb_create(const char *device, char *ebuf, int *is_ours);
pcap-null.c 43 pcap_create_interface(const char *device, char *ebuf)
45 (void)strlcpy(ebuf, nosup, PCAP_ERRBUF_SIZE);
pcap-dlpi.c 791 * Returns NULL on error, and fills "ebuf" with an error message.
794 split_dname(char *device, int *unitp, char *ebuf)
805 snprintf(ebuf, PCAP_ERRBUF_SIZE, "%s missing unit number",
817 snprintf(ebuf, PCAP_ERRBUF_SIZE, "%s bad unit number", device);
821 snprintf(ebuf, PCAP_ERRBUF_SIZE, "%s unit number too large",
826 snprintf(ebuf, PCAP_ERRBUF_SIZE, "%s unit number is negative",
835 dl_doattach(int fd, int ppa, char *ebuf)
843 if (send_request(fd, (char *)&req, sizeof(req), "attach", ebuf) < 0)
846 err = dlokack(fd, "attach", (char *)buf, ebuf);
854 dl_dohpuxbind(int fd, char *ebuf)
    [all...]
pcap-dos.c 113 static int first_init (const char *name, char *ebuf, int promisc);
154 pcap_t *pcap_create_interface (const char *device, char *ebuf)
158 p = pcap_create_common(device, ebuf, sizeof (struct pcap_dos));
469 char *pcap_lookupdev (char *ebuf)
489 if (ebuf)
490 strcpy (ebuf, "No driver found");
623 open_driver (const char *dev_name, char *ebuf, int promisc)
640 sprintf (ebuf, "failed to detect device `%s'", dev_name);
662 sprintf (ebuf, "failed to activate device `%s'", dev_name);
665 strcat (ebuf, ": ")
    [all...]
pcap-septel.c 223 pcap_t *septel_create(const char *device, char *ebuf, int *is_ours) {
240 p = pcap_create_common(device, ebuf, sizeof (struct pcap_septel));
pcap.c 482 pcap_alloc_pcap_t(char *ebuf, size_t size)
495 snprintf(ebuf, PCAP_ERRBUF_SIZE, "malloc: %s",
526 pcap_create_common(const char *source, char *ebuf, size_t size)
530 p = pcap_alloc_pcap_t(ebuf, size);
536 snprintf(ebuf, PCAP_ERRBUF_SIZE, "malloc: %s",
803 pcap_open_offline_common(char *ebuf, size_t size)
807 p = pcap_alloc_pcap_t(ebuf, size);
814 snprintf(ebuf, PCAP_ERRBUF_SIZE, "malloc: %s",
1498 static char ebuf[15+10+1]; local
    [all...]
pcap-can-linux.c 95 can_create(const char *device, char *ebuf, int *is_ours)
134 p = pcap_create_common(device, ebuf, sizeof (struct pcap_can));
pcap-dbus.c 249 dbus_create(const char *device, char *ebuf, int *is_ours)
262 p = pcap_create_common(device, ebuf, sizeof (struct pcap_dbus));
pcap-nit.c 355 pcap_create_interface(const char *device, char *ebuf)
359 p = pcap_create_common(device, ebuf, sizeof (struct pcap_nit));
  /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);
nonblocktest.c 61 char ebuf[PCAP_ERRBUF_SIZE]; local
86 device = pcap_lookupdev(ebuf);
88 error("%s", ebuf);
90 *ebuf = '\0';
91 pd = pcap_open_live(device, 65535, 0, 1000, ebuf);
93 error("%s", ebuf);
94 else if (*ebuf)
95 warning("%s", ebuf);
96 if (pcap_lookupnet(device, &localnet, &netmask, ebuf) < 0) {
99 warning("%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 217 char ebuf[PCAP_ERRBUF_SIZE]; local
274 device = pcap_lookupdev(ebuf);
277 ebuf);
304 pd = pcap_create(device, ebuf);
306 error("%s: pcap_create() failed: %s", device, ebuf);
341 *ebuf = '\0';
342 pd = pcap_open_live(device, 65535, 1, 1000, ebuf);
344 error("%s", ebuf);
345 else if (*ebuf)
346 warning("%s", ebuf);
    [all...]
  /external/tcpdump/
machdep.c 59 abort_on_misalignment(char *ebuf _U_, size_t ebufsiz _U_)
65 (void)snprintf(ebuf, ebufsiz, "setsysinfo: errno %d", errno);
tcpdump.c 705 char ebuf[PCAP_ERRBUF_SIZE]; local
744 if (abort_on_misalignment(ebuf, sizeof(ebuf)) < 0)
745 error("%s", ebuf);
793 if (pcap_findalldevs(&devpointer, ebuf) < 0)
794 error("%s", ebuf);
873 if (pcap_findalldevs(&devpointer, ebuf) < 0)
874 error("%s", ebuf);
1222 pd = pcap_open_offline(RFileName, ebuf);
1224 error("%s", ebuf);
    [all...]
  /ndk/sources/host-tools/make-3.81/
read.c 129 static long readline PARAMS ((struct ebuffer *ebuf));
132 struct ebuffer *ebuf));
306 struct ebuffer ebuf;
313 ebuf.floc.filenm = strcache_add (filename);
314 ebuf.floc.lineno = 1;
341 ebuf.fp = fopen (filename, "r");
348 if (ebuf.fp == 0 && (flags & RM_INCLUDED) && *filename != '/')
354 ebuf.fp = fopen (included, "r");
355 if (ebuf.fp)
386 if (ebuf.fp == 0
303 struct ebuffer ebuf; local
418 struct ebuffer ebuf; local
    [all...]
  /ndk/sources/host-tools/nawk-20071023/
lex.c 538 char ebuf[300]; variable
539 char *ep = ebuf;
560 if (ep >= ebuf + sizeof ebuf)
561 ep = ebuf;
572 if (--ep < ebuf)
573 ep = ebuf + sizeof(ebuf) - 1;
  /external/opencv/cv/src/
cvstereogc.cpp 669 GCEdge* ebuf = (GCEdge*)state->edgeBuf->data.ptr; local
692 ebuf[k].dst = 0;
693 ebuf[k].next = 0;
694 ebuf[k].weight = 0;
743 delta, delta, 0, ebuf, nedges );
746 E += icvAddTerm( var, var1, 0, INFINITY, 0, 0, ebuf, nedges );
759 E += icvAddTerm( var, var1, 0, E0a, Ea0, Eaa, ebuf, nedges );
781 E += icvAddTerm( var, var1, E00, E0a, Ea0, 0, ebuf, nedges );
792 E += icvAddTerm( var, var1, E00, E0a, Ea0, 0, ebuf, nedges );
805 E += icvAddTerm( var, var1, 0, INFINITY, 0, 0, ebuf, nedges )
    [all...]

Completed in 1060 milliseconds

1 2