mirror of
https://github.com/nmap/nmap.git
synced 2025-12-09 22:21:29 +00:00
fix Mac OS X pcap problem, I hope
This commit is contained in:
5
tcpip.h
5
tcpip.h
@@ -617,6 +617,11 @@ int send_udp_raw_decoys( int sd, struct eth_nfo *eth,
|
||||
So a valid pcap_t will always be returned. */
|
||||
pcap_t *my_pcap_open_live(const char *device, int snaplen, int promisc,
|
||||
int to_ms);
|
||||
|
||||
// Returns whether the system supports pcap_get_selectable_fd() properly
|
||||
bool pcap_selectable_fd_valid();
|
||||
|
||||
|
||||
// Returns whether the packet receive time value obtaned from libpcap
|
||||
// (and thus by readip_pcap()) should be considered valid. When
|
||||
// invalid (Windows and Amiga), readip_pcap returns the time you called it.
|
||||
|
||||
Reference in New Issue
Block a user