1
0
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:
dmiller
2025-06-23 20:54:32 +00:00
parent 7637ce3674
commit 3499025302
9 changed files with 177 additions and 49 deletions

View File

@@ -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;