HomeSort by relevance Sort by last modified time
    Searched refs:devlist (Results 1 - 9 of 9) sorted by null

  /external/libpcap/
fad-getad.c 141 pcap_if_t *devlist = NULL; local
256 if (add_addr_to_iflist(&devlist, ifa->ifa_name,
272 if (pcap_platform_finddevs(&devlist, errbuf) < 0)
280 if (devlist != NULL) {
281 pcap_freealldevs(devlist);
282 devlist = NULL;
286 *alldevsp = devlist;
fad-win32.c 146 pcap_add_if_win32(pcap_if_t **devlist, char *name, const char *desc,
159 if (add_or_find_if(&curdev, devlist, name, 0, desc, errbuf) == -1) {
221 pcap_if_t *devlist = NULL; local
294 if (pcap_add_if_win32(&devlist, name, desc, errbuf) == -1) {
309 if (devlist != NULL) {
310 pcap_freealldevs(devlist);
311 devlist = NULL;
315 *alldevsp = devlist;
fad-gifc.c 272 pcap_if_t *devlist = NULL; local
531 if (add_addr_to_iflist(&devlist, ifrp->ifr_name,
552 ret = scan_proc_net_dev(&devlist, fd, errbuf);
562 if (pcap_platform_finddevs(&devlist, errbuf) < 0)
570 if (devlist != NULL) {
571 pcap_freealldevs(devlist);
572 devlist = NULL;
576 *alldevsp = devlist;
fad-glifc.c 85 pcap_if_t *devlist = NULL; local
351 if (add_addr_to_iflist(&devlist, ifrp->lifr_name,
370 if (pcap_platform_finddevs(&devlist, errbuf) < 0)
378 if (devlist != NULL) {
379 pcap_freealldevs(devlist);
380 devlist = NULL;
384 *alldevsp = devlist;
pcap-dos.c 516 pcap_if_t *devlist = NULL; local
542 if (pcap_add_if(&devlist, dev->name, dev->flags,
548 if (add_addr_to_iflist(&devlist,dev->name, dev->flags, addr, addr_size,
557 if (devlist && ret < 0)
559 pcap_freealldevs (devlist);
560 devlist = NULL;
563 if (!devlist)
566 *alldevsp = devlist;
    [all...]
inet.c 484 pcap_add_if(pcap_if_t **devlist, const char *name, u_int flags,
489 return (add_or_find_if(&curdev, devlist, name, flags, description,
  /external/libppp/src/
physical.c 220 memcpy(p->cfg.devlist, MODEM_LIST, sizeof MODEM_LIST);
490 dev = p->cfg.devlist;
802 p->cfg.devlist[sizeof p->cfg.devlist - 1] = '\0';
803 for (f = 0, pos = 0; f < argc && pos < sizeof p->cfg.devlist - 1; f++) {
805 p->cfg.devlist[pos++] = '\0';
806 strncpy(p->cfg.devlist + pos, argv[f], sizeof p->cfg.devlist - pos - 1);
807 pos += strlen(p->cfg.devlist + pos);
1039 dev = p->cfg.devlist;
    [all...]
physical.h 112 char devlist[LINE_LEN]; /* NUL separated list of devices */ member in struct:physical::__anon23793
  /external/libmtp/src/
libusb-glue.c 154 * @param devlist dynamic linked list of pointers to usb devices with MTP
160 static mtpdevice_list_t *append_to_mtpdevice_list(mtpdevice_list_t *devlist,
175 if (devlist == NULL) {
178 mtpdevice_list_t *tmp = devlist;
184 return devlist;
190 * @param devlist dynamic linked list of pointers to usb devices with MTP
194 static void free_mtpdevice_list(mtpdevice_list_t *devlist)
196 mtpdevice_list_t *tmplist = devlist;
198 if (devlist == NULL)
586 mtpdevice_list_t *devlist = NULL local
    [all...]

Completed in 3385 milliseconds