Lines Matching refs:alldevs
130 add_or_find_if(pcap_if_t **curdev_ret, pcap_if_t **alldevs, const char *name, in add_or_find_if() argument
140 for (curdev = *alldevs; curdev != NULL; curdev = curdev->next) { in add_or_find_if()
281 nextdev = *alldevs; in add_or_find_if()
350 *alldevs = curdev; in add_or_find_if()
360 add_addr_to_iflist(pcap_if_t **alldevs, const char *name, u_int flags, in add_addr_to_iflist() argument
370 if (add_or_find_if(&curdev, alldevs, name, flags, NULL, errbuf) == -1) { in add_addr_to_iflist()
498 pcap_freealldevs(pcap_if_t *alldevs) in pcap_freealldevs() argument
503 for (curdev = alldevs; curdev != NULL; curdev = nextdev) { in pcap_freealldevs()
551 pcap_if_t *alldevs; local
559 if (pcap_findalldevs(&alldevs, errbuf) == -1)
562 if (alldevs == NULL || (alldevs->flags & PCAP_IF_LOOPBACK)) {
581 (void)strlcpy(device, alldevs->name, sizeof(device));
585 pcap_freealldevs(alldevs);