/external/libpcap/ |
H A D | pcap-bt-linux.h | 38 pcap_t *bt_create(const char *device, char *ebuf, int *is_ours);
|
H A D | pcap-bt-monitor-linux.h | 32 pcap_t *bt_monitor_create(const char *device, char *ebuf, int *is_ours);
|
H A D | pcap-netfilter-linux.h | 35 pcap_t *netfilter_create(const char *device, char *ebuf, int *is_ours);
|
H A D | pcap-septel.h | 12 pcap_t *septel_create(const char *device, char *ebuf, int *is_ours);
|
H A D | pcap-usb-linux.h | 38 pcap_t *usb_create(const char *device, char *ebuf, int *is_ours);
|
H A D | pcap-null.c | 39 pcap_create_interface(const char *device _U_, char *ebuf) argument 41 (void)strlcpy(ebuf, nosup, PCAP_ERRBUF_SIZE);
|
H A D | pcap-tc.h | 49 TcCreate(const char *device, char *ebuf, int *is_ours);
|
H A D | pcap-dlpi.c | 845 * Returns NULL on error, and fills "ebuf" with an error message. 848 split_dname(char *device, int *unitp, char *ebuf) argument 859 pcap_snprintf(ebuf, PCAP_ERRBUF_SIZE, "%s missing unit number", 871 pcap_snprintf(ebuf, PCAP_ERRBUF_SIZE, "%s bad unit number", device); 875 pcap_snprintf(ebuf, PCAP_ERRBUF_SIZE, "%s unit number too large", 880 pcap_snprintf(ebuf, PCAP_ERRBUF_SIZE, "%s unit number is negative", 889 dl_doattach(int fd, int ppa, char *ebuf) argument 897 if (send_request(fd, (char *)&req, sizeof(req), "attach", ebuf) < 0) 900 err = dlokack(fd, "attach", (char *)buf, ebuf); 908 dl_dohpuxbind(int fd, char *ebuf) argument 1080 send_request(int fd, char *ptr, int len, char *what, char *ebuf) argument 1100 recv_ack(int fd, int size, const char *what, char *bufp, char *ebuf, int *uerror) argument 1382 dlbindreq(int fd, bpf_u_int32 sap, char *ebuf) argument 1402 dlbindack(int fd, char *bufp, char *ebuf, int *uerror) argument 1409 dlokack(int fd, const char *what, char *bufp, char *ebuf) argument 1417 dlinforeq(int fd, char *ebuf) argument 1427 dlinfoack(int fd, char *bufp, char *ebuf) argument 1439 dlpassive(int fd, char *ebuf) argument 1555 get_dlpi_ppa(register int fd, register const char *device, register int unit, register char *ebuf) argument 1742 get_dlpi_ppa(register int fd, register const char *ifname, register int unit, register char *ebuf) argument 1794 dlpi_kread(register int fd, register off_t addr, register void *buf, register u_int len, register char *ebuf) argument 1819 pcap_create_interface(const char *device _U_, char *ebuf) argument [all...] |
H A D | pcap-dos.c | 111 static int first_init (const char *name, char *ebuf, int promisc); 152 pcap_t *pcap_create_interface (const char *device _U_, char *ebuf) argument 156 p = pcap_create_common(ebuf, sizeof (struct pcap_dos)); 476 char *pcap_lookupdev (char *ebuf) argument 496 if (ebuf) 497 strcpy (ebuf, "No driver found"); 637 open_driver (const char *dev_name, char *ebuf, int promisc) argument 654 pcap_snprintf (ebuf, PCAP_ERRBUF_SIZE, "failed to detect device `%s'", dev_name); 676 pcap_snprintf (ebuf, PCAP_ERRBUF_SIZE, "failed to activate device `%s'", dev_name); 679 strcat (ebuf, " 783 first_init(const char *name, char *ebuf, int promisc) argument [all...] |
H A D | pcap-septel.c | 218 pcap_t *septel_create(const char *device, char *ebuf, int *is_ours) { argument 235 p = pcap_create_common(ebuf, sizeof (struct pcap_septel));
|
H A D | pcap-bt-monitor-linux.c | 230 bt_monitor_create(const char *device, char *ebuf, int *is_ours) argument 245 p = pcap_create_common(ebuf, 0);
|
H A D | pcap-dbus.c | 249 dbus_create(const char *device, char *ebuf, int *is_ours) argument 262 p = pcap_create_common(ebuf, sizeof (struct pcap_dbus));
|
H A D | pcap-linux.c | 423 static int iface_get_id(int fd, const char *device, char *ebuf); 425 static int iface_get_mtu(int fd, const char *device, char *ebuf); 426 static int iface_get_arptype(int fd, const char *device, char *ebuf); 428 static int iface_bind(int fd, int ifindex, char *ebuf); 430 static int has_wext(int sock_fd, const char *device, char *ebuf); 437 char *ebuf); 442 static int iface_bind_old(int fd, const char *device, char *ebuf); 458 pcap_create_interface(const char *device, char *ebuf) argument 462 handle = pcap_create_common(ebuf, sizeof (struct pcap_linux)); 473 if (iface_ethtool_get_ts_info(device, handle, ebuf) 5252 iface_get_id(int fd, const char *device, char *ebuf) argument 5274 iface_bind(int fd, int ifindex, char *ebuf) argument 5335 has_wext(int sock_fd, const char *device, char *ebuf) argument 6062 iface_ethtool_get_ts_info(const char *device, pcap_t *handle, char *ebuf) argument 6515 iface_bind_old(int fd, const char *device, char *ebuf) argument 6553 iface_get_mtu(int fd, const char *device, char *ebuf) argument 6576 iface_get_arptype(int fd, const char *device, char *ebuf) argument [all...] |
H A D | pcap-nit.c | 358 pcap_create_interface(const char *device _U_, char *ebuf) argument 362 p = pcap_create_common(ebuf, sizeof (struct pcap_nit));
|
/external/libpcap/tests/ |
H A D | 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);
|
H A D | opentest.c | 104 char ebuf[PCAP_ERRBUF_SIZE]; local 166 device = pcap_lookupdev(ebuf); 168 error("pcap_lookupdev failed: %s", ebuf); 171 pd = pcap_create(device, ebuf); 173 error("%s: pcap_create failed: %s", device, ebuf); 217 *ebuf = '\0'; 218 pd = pcap_open_live(device, 65535, 0, 1000, ebuf); 220 error("%s", ebuf); 221 else if (*ebuf) 222 warning("%s", ebuf); [all...] |
H A D | can_set_rfmon_test.c | 45 char ebuf[PCAP_ERRBUF_SIZE]; local 58 pd = pcap_create(argv[1], ebuf); 60 error("%s", ebuf);
|
H A D | selpolltest.c | 119 char ebuf[PCAP_ERRBUF_SIZE]; local 173 device = pcap_lookupdev(ebuf); 175 error("%s", ebuf); 177 *ebuf = '\0'; 178 pd = pcap_open_live(device, 65535, 0, 1000, ebuf); 180 error("%s", ebuf); 181 else if (*ebuf) 182 warning("%s", ebuf); 183 if (pcap_lookupnet(device, &localnet, &netmask, ebuf) < 0) { 186 warning("%s", ebuf); [all...] |
H A D | capturetest.c | 115 char ebuf[PCAP_ERRBUF_SIZE]; local 167 device = pcap_lookupdev(ebuf); 169 error("%s", ebuf); 171 *ebuf = '\0'; 172 pd = pcap_create(device, ebuf); 174 error("%s", ebuf); 204 if (pcap_lookupnet(device, &localnet, &netmask, ebuf) < 0) { 207 warning("%s", ebuf); 216 if (pcap_setnonblock(pd, nonblock, ebuf) == -1) 217 error("pcap_setnonblock failed: %s", ebuf); [all...] |
H A D | valgrindtest.c | 279 char ebuf[PCAP_ERRBUF_SIZE]; local 336 device = pcap_lookupdev(ebuf); 339 ebuf); 366 pd = pcap_create(device, ebuf); 368 error("%s: pcap_create() failed: %s", device, ebuf); 403 *ebuf = '\0'; 404 pd = pcap_open_live(device, 65535, 1, 1000, ebuf); 406 error("%s", ebuf); 407 else if (*ebuf) 408 warning("%s", ebuf); [all...] |
/external/tcpdump/ |
H A D | machdep.c | 63 abort_on_misalignment(char *ebuf _U_, size_t ebufsiz _U_) 69 (void)snprintf(ebuf, ebufsiz, "setsysinfo: errno %d", errno);
|
H A D | tcpdump.c | 432 char ebuf[PCAP_ERRBUF_SIZE]; local 435 if (pcap_findalldevs(&devlist, ebuf) < 0) 436 error("%s", ebuf); 935 char ebuf[PCAP_ERRBUF_SIZE]; local 938 if (pcap_findalldevs(&devlist, ebuf) < 0) 939 error("%s", ebuf); 955 open_interface(const char *device, netdissect_options *ndo, char *ebuf) argument 964 pc = pcap_create(device, ebuf); 972 if (strstr(ebuf, "No such device") != NULL) 974 error("%s", ebuf); 1120 char ebuf[PCAP_ERRBUF_SIZE]; local [all...] |
/external/ltp/testcases/kernel/syscalls/nftw/ |
H A D | 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, "Ca [all...] |
H A D | 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, "Ca [all...] |
/external/opencv/cv/src/ |
H A D | 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, nedge [all...] |