This website requires JavaScript.
Explore
Help
Sign In
PenTest
/
nmap
Watch
1
Star
0
Fork
0
You've already forked nmap
mirror of
https://github.com/nmap/nmap.git
synced
2025-12-14 11:49:01 +00:00
Code
Issues
Projects
Releases
Wiki
Activity
Files
a90d0ff5f801f37ecce7c5956ef47ef36da77c09
nmap
/
idle_scan.cc
kris
69754e8311
Use dnet headers for TCP and UDP. This allows us to remove netinet tcp.h and udp.h references, the udphdr_bsd stuff, and the TH_ECE/TH_CWR #defines in tcpip.h. That was easy, but we (Fyodor and I) came to the conclusion that IP and ICMP aren't worth the hassle to switch (I was testing TCP, UDP and IP in my branch). The struct icmp_hdr in dnet isn't setup anything like what we're using now. Then, struct ip_hdr uses ip_addr_t (typedef'd to uint32_t in that ip.h) instead of struct in_addr for the IP addresses, and that would require some dnet modifying to work right. We might be able to come up with some elegant solution for IP, but probably not for ICMP. For now, they're still left up to netinet (or tcpip.h).
2007-01-23 05:29:59 +00:00
44 KiB
Raw
Blame
History
View Raw
Reference in New Issue
View Git Blame
Copy Permalink