Searched refs:devlist (Results 1 – 7 of 7) sorted by relevance
/external/libpcap/ |
D | fad-getad.c | 141 pcap_if_t *devlist = NULL; in pcap_findalldevs() local 256 if (add_addr_to_iflist(&devlist, ifa->ifa_name, in pcap_findalldevs() 272 if (pcap_platform_finddevs(&devlist, errbuf) < 0) in pcap_findalldevs() 280 if (devlist != NULL) { in pcap_findalldevs() 281 pcap_freealldevs(devlist); in pcap_findalldevs() 282 devlist = NULL; in pcap_findalldevs() 286 *alldevsp = devlist; in pcap_findalldevs()
|
D | fad-win32.c | 146 pcap_add_if_win32(pcap_if_t **devlist, char *name, const char *desc, in pcap_add_if_win32() argument 159 if (add_or_find_if(&curdev, devlist, name, 0, desc, errbuf) == -1) { in pcap_add_if_win32() 221 pcap_if_t *devlist = NULL; in pcap_findalldevs() local 294 if (pcap_add_if_win32(&devlist, name, desc, errbuf) == -1) { in pcap_findalldevs() 309 if (devlist != NULL) { in pcap_findalldevs() 310 pcap_freealldevs(devlist); in pcap_findalldevs() 311 devlist = NULL; in pcap_findalldevs() 315 *alldevsp = devlist; in pcap_findalldevs()
|
D | fad-glifc.c | 85 pcap_if_t *devlist = NULL; in pcap_findalldevs() local 351 if (add_addr_to_iflist(&devlist, ifrp->lifr_name, in pcap_findalldevs() 370 if (pcap_platform_finddevs(&devlist, errbuf) < 0) in pcap_findalldevs() 378 if (devlist != NULL) { in pcap_findalldevs() 379 pcap_freealldevs(devlist); in pcap_findalldevs() 380 devlist = NULL; in pcap_findalldevs() 384 *alldevsp = devlist; in pcap_findalldevs()
|
D | fad-gifc.c | 272 pcap_if_t *devlist = NULL; in pcap_findalldevs() local 531 if (add_addr_to_iflist(&devlist, ifrp->ifr_name, in pcap_findalldevs() 552 ret = scan_proc_net_dev(&devlist, fd, errbuf); in pcap_findalldevs() 562 if (pcap_platform_finddevs(&devlist, errbuf) < 0) in pcap_findalldevs() 570 if (devlist != NULL) { in pcap_findalldevs() 571 pcap_freealldevs(devlist); in pcap_findalldevs() 572 devlist = NULL; in pcap_findalldevs() 576 *alldevsp = devlist; in pcap_findalldevs()
|
D | pcap-dos.c | 516 pcap_if_t *devlist = NULL; in pcap_findalldevs() local 542 if (pcap_add_if(&devlist, dev->name, dev->flags, in pcap_findalldevs() 548 if (add_addr_to_iflist(&devlist,dev->name, dev->flags, addr, addr_size, in pcap_findalldevs() 557 if (devlist && ret < 0) in pcap_findalldevs() 559 pcap_freealldevs (devlist); in pcap_findalldevs() 560 devlist = NULL; in pcap_findalldevs() 563 if (!devlist) in pcap_findalldevs() 566 *alldevsp = devlist; in pcap_findalldevs()
|
D | inet.c | 484 pcap_add_if(pcap_if_t **devlist, const char *name, u_int flags, in pcap_add_if() argument 489 return (add_or_find_if(&curdev, devlist, name, flags, description, in pcap_add_if()
|
/external/libmtp/src/ |
D | libusb-glue.c | 158 static mtpdevice_list_t *append_to_mtpdevice_list(mtpdevice_list_t *devlist, in append_to_mtpdevice_list() argument 173 if (devlist == NULL) { in append_to_mtpdevice_list() 176 mtpdevice_list_t *tmp = devlist; in append_to_mtpdevice_list() 182 return devlist; in append_to_mtpdevice_list() 192 static void free_mtpdevice_list(mtpdevice_list_t *devlist) in free_mtpdevice_list() argument 194 mtpdevice_list_t *tmplist = devlist; in free_mtpdevice_list() 196 if (devlist == NULL) in free_mtpdevice_list() 584 mtpdevice_list_t *devlist = NULL; in LIBMTP_Detect_Raw_Devices() local 591 ret = get_mtp_usb_device_list(&devlist); in LIBMTP_Detect_Raw_Devices() 603 dev = devlist; in LIBMTP_Detect_Raw_Devices() [all …]
|