⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 analyzer.h

📁 ipv6 隧道探测工具。是linux下使用的。 用于探测两点间是否存在隧道
💻 H
字号:
#ifndef ANALYZER_H#define ANALYZER_H#include <iostream>#include <stdlib.h>#include <string>#include <sys/types.h>#include <netinet/in.h>#include <arpa/inet.h>#include "Segment.h"#include "SegmentAna.h"#include "NameIpAna.h"#include "RawSender.h"using namespace std;class Analyzer {  public :    Analyzer();    Segment analyse(string,string);    Segment getVanPoint();    void analyse(string);//tunneltrace B, with B = IPv6    void setIpRef(string);    void setIpRefPath(string);    void setOption(string);  private :    string getOwnIp(string);    string Receiver(int);    int Sender(string,string,int);    int FragSender(string,string,string,string,int);    unsigned short in_cksum(unsigned short *, int);    unsigned short csum (unsigned short *, int);    unsigned short pseudo_check(struct in6_addr, struct in6_addr, void *, int, int);    int setVanPoint(Segment);    string resolve(string);    string resolve6(string);    Segment vp;    string ipRef; //address of reference, for the spoofing analizers, to be set with the -h option by the user    string ipRefPath;//where the file "ipref" is located    string option; //determines if we used the "-v" option for parametric output};#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -