Lines Matching refs:alldevs
181 add_or_find_if(pcap_if_t **curdev_ret, pcap_if_t **alldevs, const char *name, in add_or_find_if() argument
193 for (curdev = *alldevs; curdev != NULL; curdev = curdev->next) { in add_or_find_if()
385 nextdev = *alldevs; in add_or_find_if()
433 *alldevs = curdev; in add_or_find_if()
600 add_addr_to_iflist(pcap_if_t **alldevs, const char *name, u_int flags, in add_addr_to_iflist() argument
611 if (add_or_find_if(&curdev, alldevs, name, flags, description, in add_addr_to_iflist()
789 pcap_freealldevs(pcap_if_t *alldevs) in pcap_freealldevs() argument
794 for (curdev = alldevs; curdev != NULL; curdev = nextdev) { in pcap_freealldevs()
842 pcap_if_t *alldevs; local
850 if (pcap_findalldevs(&alldevs, errbuf) == -1)
853 if (alldevs == NULL || (alldevs->flags & PCAP_IF_LOOPBACK)) {
872 (void)strlcpy(device, alldevs->name, sizeof(device));
876 pcap_freealldevs(alldevs);