1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-10 09:49:05 +00:00

Factor out an nmap_raw_socket function.

This does the common setup of a raw socket that we use everywhere.
This commit is contained in:
david
2012-10-03 15:43:21 +00:00
parent 19d1115ef1
commit a53e00afa1
8 changed files with 31 additions and 53 deletions

View File

@@ -200,6 +200,7 @@ extern "C" {
#define INET_ADDRSTRLEN 16
#endif
int nmap_raw_socket(const char *warning_device_name);
/* Used for tracing all packets sent or received (eg the
--packet-trace option) */