mirror of
https://github.com/nmap/nmap.git
synced 2025-12-27 18:09:01 +00:00
libdnet: Keep result of pcap_findalldevs around to avoid re-calling frequently
This commit is contained in:
@@ -63,6 +63,7 @@ int intf_get_index(intf_t *intf, struct intf_entry *entry, int af, unsigned int
|
||||
int intf_get_src(intf_t *i, struct intf_entry *entry, struct addr *src);
|
||||
int intf_get_dst(intf_t *i, struct intf_entry *entry, struct addr *dst);
|
||||
int intf_get_pcap_devname(const char *intf_name, char *pcapdev, int pcapdevlen);
|
||||
int intf_get_pcap_devname_cached(const char *intf_name, char *pcapdev, int pcapdevlen, int refresh);
|
||||
int intf_set(intf_t *i, const struct intf_entry *entry);
|
||||
int intf_loop(intf_t *i, intf_handler callback, void *arg);
|
||||
intf_t *intf_close(intf_t *i);
|
||||
|
||||
Reference in New Issue
Block a user