1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-20 22:49:01 +00:00
Files
nmap/osscan2.h
2006-08-16 19:30:58 +00:00

26 lines
765 B
C++

#ifndef OSSCAN2_H
#define OSSCAN2_H
#include "nmap.h"
#include "tcpip.h"
#include "global_structures.h"
#include "FingerPrintResults.h"
#include "osscan.h"
/********************** PROTOTYPES ***********************************/
int os_scan_2(std::vector<Target *> &Targets);
int send_closedudp_probe_2(struct udpprobeinfo &upi, int sd,
struct eth_nfo *eth, const struct in_addr *victim,
int ttl, u16 sport, u16 dport);
int send_icmp_echo_probe(int sd, struct eth_nfo *eth, const struct in_addr *victim,
u8 tos, bool df, u8 pcode, unsigned short id, u16 seq, u16 datalen);
int get_initial_ttl_guess(u8 ttl);
int get_ipid_sequence(int numSamples, int *ipids, int islocalhost);
#endif /*OSSCAN2_H*/