segmentana.h

来自「ipv6 隧道探测工具。是linux下使用的。 用于探测两点间是否存在隧道」· C头文件 代码 · 共 37 行

H
37
字号
#ifndef SEGMENTANA_H#define SEGMENTANA_H#include <stdlib.h>#include <string>#include <stdio.h>#include "Interface.h"#include "Segment.h"#include "IfAna.h"using namespace std;class SegmentAna {  public :    SegmentAna();    Segment create(string,string,string,string);    Segment create(string,string);    Segment analyse(Segment);    void setIpRef(string);    void setIpRefPath(string);    void setOption(string);  private :    Segment updateTun(Segment,int); //updates or creates the tunnel, with the int value of Uncertainy(incertezza)    string my_itoa(int, int);    int my_atoi(string, int);    string calculate_ip(string);    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 + =
减小字号Ctrl + -
显示快捷键?