mirror of
https://github.com/nmap/nmap.git
synced 2025-12-28 02:19:04 +00:00
enable --ttl support for connect() scans
This commit is contained in:
2
tcpip.h
2
tcpip.h
@@ -663,6 +663,8 @@ pcap_if_t *getpcapinterfaces();
|
||||
struct sys_route *getsysroutes(int *howmany);
|
||||
void sethdrinclude(int sd);
|
||||
|
||||
void set_ttl(int sd, int ttl);
|
||||
|
||||
/* Fill buf (up to buflen -- truncate if necessary but always
|
||||
terminate) with a short representation of the packet stats.
|
||||
Returns buf. Aborts if there is a problem. */
|
||||
|
||||
Reference in New Issue
Block a user