mirror of
https://github.com/nmap/nmap.git
synced 2025-12-31 20:09:02 +00:00
Wrap dnet eth functions for non-Ethernet links
This commit is contained in:
@@ -68,7 +68,7 @@
|
||||
#include "scan_lists.h"
|
||||
#include "probespec.h"
|
||||
|
||||
#include <dnet.h>
|
||||
#include "libnetutil/netutil.h"
|
||||
|
||||
#include "timing.h"
|
||||
|
||||
@@ -626,7 +626,7 @@ public:
|
||||
const struct scan_lists *ports;
|
||||
int rawsd; /* raw socket descriptor */
|
||||
pcap_t *pd;
|
||||
eth_t *ethsd;
|
||||
netutil_eth_t *ethsd;
|
||||
u32 seqmask; /* This mask value is used to encode values in sequence
|
||||
numbers. It is set randomly in UltraScanInfo::Init() */
|
||||
u16 base_port;
|
||||
|
||||
Reference in New Issue
Block a user