📄 stdafx.h
字号:
// stdafx.h : include file for standard system include files,
// or project specific include files that are used frequently, but
// are changed infrequently
//
#if !defined(AFX_STDAFX_H__E7D6D8AC_4EA4_4D63_A99B_1B7E63630088__INCLUDED_)
#define AFX_STDAFX_H__E7D6D8AC_4EA4_4D63_A99B_1B7E63630088__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers
#include <afxwin.h> // MFC core and standard components
#include <afxext.h> // MFC extensions
#include <afxdisp.h> // MFC Automation classes
#include <afxdtctl.h> // MFC support for Internet Explorer 4 Common Controls
#ifndef _AFX_NO_AFXCMN_SUPPORT
#include <afxcmn.h> // MFC support for Windows Common Controls
#include "pcap.h"
#include "IPGram.h"
#include "TCPGram.h"
#include "UDPGram.h"
#include "ICMPGram.h"
#include "EtherHead.h"
#include "ARPGram.h"
#include "RARPGram.h"
#include "MulPackView.h"
#include "SinPackView.h"
#include "StcView.h"
#include "SnifferProView.h"
#define WM_MESSAGE_PACKET_RECEIVE WM_USER+1
#define WM_MESSAGE_PACKET_SELECT WM_USER+2
#define WM_MESSAGE_PACKET_SPECIFY WM_USER+3
#define WM_MESSAGE_PACKET_REASSEMBLY WM_USER+4
#define WM_MESSAGE_ONTIMER WM_USER+5
#define WM_SETMESSAGESTRING 0x0362
class Founder//用于定位
{
public:
int index;//CArray中的哪个数据包
int start;//开始位置
int len;//长度
unsigned int seq;//当Founder用于定位TCP包时,代表所指向的TCP的顺序号
bool operator <(Founder in);
bool operator ==(Founder in);
bool operator >(Founder in);
};
void iptos(u_long in,char output[]);//IP转字符串
#endif // _AFX_NO_AFXCMN_SUPPORT
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_STDAFX_H__E7D6D8AC_4EA4_4D63_A99B_1B7E63630088__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -