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

📄 stcview.h

📁 这是一个嗅探器
💻 H
字号:
#if !defined(AFX_STCVIEW_H__3BFE4C75_C5B0_43AB_9D98_614ABF608E4D__INCLUDED_)
#define AFX_STCVIEW_H__3BFE4C75_C5B0_43AB_9D98_614ABF608E4D__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// StcView.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CStcView form view
#include "MyListCtrl.h"
#ifndef __AFXEXT_H__
#include <afxext.h>
#endif

class CStcView : public CFormView
{
protected:
	CStcView();           // protected constructor used by dynamic creation
	DECLARE_DYNCREATE(CStcView)

// Form Data
public:
	//{{AFX_DATA(CStcView)
	//enum { IDD = IDD_FORM_STC };
	enum { IDD = 101 };
	CMyListCtrl	m_list;
	//}}AFX_DATA

// Attributes
public:
	unsigned char *buf;//缓冲区
	unsigned int buflen;//缓冲区大小
	BOOL isReassembly;//是否处于重组状态
// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CStcView)
	public:
	virtual void OnInitialUpdate();
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	virtual ~CStcView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

	// Generated message map functions
	//{{AFX_MSG(CStcView)
	afx_msg void OnFileReassembly();
	afx_msg void OnUpdateFileReassembly(CCmdUI* pCmdUI);
	afx_msg void OnPacketSelect(const struct pcap_pkthdr *pkt_header,const u_char *pkt_data);
	afx_msg void OnPacketSpecify(int start,int len);
	afx_msg void OnPacketReassembly();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_STCVIEW_H__3BFE4C75_C5B0_43AB_9D98_614ABF608E4D__INCLUDED_)

⌨️ 快捷键说明

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