mirror of
https://github.com/nmap/nmap.git
synced 2026-01-06 06:29:03 +00:00
Consolidate duplicate functions read_na_pcap and read_ns_reply_pcap.
This commit is contained in:
@@ -580,7 +580,7 @@ int read_arp_reply_pcap(pcap_t *pd, u8 *sendermac,
|
||||
void (*traceArp_callback)(int, const u8 *, u32 , struct timeval *));
|
||||
int read_ns_reply_pcap(pcap_t *pd, u8 *sendermac,
|
||||
struct sockaddr_in6 *senderIP, long to_usec,
|
||||
struct timeval *rcvdtime,
|
||||
struct timeval *rcvdtime, bool *has_mac,
|
||||
void (*traceArp_callback)(int, const u8 *, u32 , struct timeval *));
|
||||
|
||||
/* Attempts to read one IP packet from the pcap descriptor pd. Input parameters are pd,
|
||||
|
||||
Reference in New Issue
Block a user