Searched refs:ebuf (Results 1 - 25 of 46) sorted by relevance

12

/external/libpcap/
H A Dpcap-bt-linux.h40 pcap_t *bt_create(const char *device, char *ebuf, int *is_ours);
H A Dpcap-can-linux.h35 pcap_t* can_create(const char *device, char *ebuf, int *is_ours);
H A Dpcap-canusb-linux.h35 pcap_t* canusb_create(const char *device, char *ebuf, int *is_ours);
H A Dpcap-netfilter-linux.h35 pcap_t *netfilter_create(const char *device, char *ebuf, int *is_ours);
H A Dpcap-septel.h14 pcap_t *septel_create(const char *device, char *ebuf, int *is_ours);
H A Dpcap-usb-linux.h40 pcap_t *usb_create(const char *device, char *ebuf, int *is_ours);
H A Dpcap-null.c43 pcap_create_interface(const char *device, char *ebuf) argument
45 (void)strlcpy(ebuf, nosup, PCAP_ERRBUF_SIZE);
H A Dpcap-dlpi.c791 * Returns NULL on error, and fills "ebuf" with an error message.
794 split_dname(char *device, int *unitp, char *ebuf) argument
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) argument
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) argument
968 send_request(int fd, char *ptr, int len, char *what, char *ebuf) argument
988 recv_ack(int fd, int size, const char *what, char *bufp, char *ebuf, int *uerror) argument
1270 dlbindreq(int fd, bpf_u_int32 sap, char *ebuf) argument
1290 dlbindack(int fd, char *bufp, char *ebuf, int *uerror) argument
1297 dlokack(int fd, const char *what, char *bufp, char *ebuf) argument
1305 dlinforeq(int fd, char *ebuf) argument
1315 dlinfoack(int fd, char *bufp, char *ebuf) argument
1327 dlpassive(int fd, char *ebuf) argument
1442 get_dlpi_ppa(register int fd, register const char *device, register int unit, register char *ebuf) argument
1629 get_dlpi_ppa(register int fd, register const char *ifname, register int unit, register char *ebuf) argument
1681 dlpi_kread(register int fd, register off_t addr, register void *buf, register u_int len, register char *ebuf) argument
1706 pcap_create_interface(const char *device, char *ebuf) argument
[all...]
H A Dpcap-dos.c113 static int first_init (const char *name, char *ebuf, int promisc);
154 pcap_t *pcap_create_interface (const char *device, char *ebuf) argument
158 p = pcap_create_common(device, ebuf, sizeof (struct pcap_dos));
469 char *pcap_lookupdev (char *ebuf) argument
489 if (ebuf)
490 strcpy (ebuf, "No driver found");
623 open_driver (const char *dev_name, char *ebuf, int promisc) argument
640 sprintf (ebuf, "failed to detect device `%s'", dev_name);
662 sprintf (ebuf, "failed to activate device `%s'", dev_name);
665 strcat (ebuf, "
769 first_init(const char *name, char *ebuf, int promisc) argument
[all...]
H A Dpcap-septel.c223 pcap_t *septel_create(const char *device, char *ebuf, int *is_ours) { argument
240 p = pcap_create_common(device, ebuf, sizeof (struct pcap_septel));
H A Dpcap.c482 pcap_alloc_pcap_t(char *ebuf, size_t size) argument
495 snprintf(ebuf, PCAP_ERRBUF_SIZE, "malloc: %s",
526 pcap_create_common(const char *source, char *ebuf, size_t size) argument
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) argument
807 p = pcap_alloc_pcap_t(ebuf, size);
814 snprintf(ebuf, PCAP_ERRBUF_SIZE, "malloc: %s",
1498 static char ebuf[15+10+1]; local
1547 (void)snprintf(ebuf, sizeo
[all...]
H A Dpcap-can-linux.c95 can_create(const char *device, char *ebuf, int *is_ours) argument
134 p = pcap_create_common(device, ebuf, sizeof (struct pcap_can));
H A Dpcap-dbus.c249 dbus_create(const char *device, char *ebuf, int *is_ours) argument
262 p = pcap_create_common(device, ebuf, sizeof (struct pcap_dbus));
H A Dpcap-nit.c355 pcap_create_interface(const char *device, char *ebuf) argument
359 p = pcap_create_common(device, ebuf, sizeof (struct pcap_nit));
H A Dpcap-snf.c272 snf_create(const char *device, char *ebuf, int *is_ours) argument
322 p = pcap_create_common(device, ebuf, sizeof (struct pcap_snf));
H A Dpcap-linux.c378 static int iface_get_id(int fd, const char *device, char *ebuf);
380 static int iface_get_mtu(int fd, const char *device, char *ebuf);
381 static int iface_get_arptype(int fd, const char *device, char *ebuf);
383 static int iface_bind(int fd, int ifindex, char *ebuf);
385 static int has_wext(int sock_fd, const char *device, char *ebuf);
391 static int iface_bind_old(int fd, const char *device, char *ebuf);
407 pcap_create_interface(const char *device, char *ebuf) argument
411 handle = pcap_create_common(device, ebuf, sizeof (struct pcap_linux));
3333 strncpy(ebuf,
4644 * Return the index of the given device name. Fill ebuf an
4648 iface_get_id(int fd, const char *device, char *ebuf) argument
4670 iface_bind(int fd, int ifindex, char *ebuf) argument
4731 has_wext(int sock_fd, const char *device, char *ebuf) argument
5751 iface_bind_old(int fd, const char *device, char *ebuf) argument
5789 iface_get_mtu(int fd, const char *device, char *ebuf) argument
5812 iface_get_arptype(int fd, const char *device, char *ebuf) argument
[all...]
/external/libpcap/tests/
H A Dreactivatetest.c40 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);
H A Dnonblocktest.c61 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...]
H A Dopentest.c55 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);
H A Dselpolltest.c62 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...]
H A Dvalgrindtest.c217 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/
H A Dmachdep.c59 abort_on_misalignment(char *ebuf _U_, size_t ebufsiz _U_)
65 (void)snprintf(ebuf, ebufsiz, "setsysinfo: errno %d", errno);
H A Dtcpdump.c705 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...]
/external/opencv/cv/src/
H A Dcvstereogc.cpp669 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, nedge
[all...]
/external/iputils/ninfod/
H A Dninfod.c167 char ebuf[512]; local
173 for (buf = ebuf, buflen = sizeof(ebuf);
175 free(buf != ebuf ? buf : NULL), buf = NULL, buflen *= 2) {
199 free(buf != ebuf ? buf : NULL);

Completed in 3117 milliseconds

12