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

📄 pgpnetiphelper.h

📁 PGP8.0源码 请认真阅读您的文件包然后写出其具体功能
💻 H
字号:
/*____________________________________________________________________________
	Copyright (C) 2002 PGP Corporation
	All rights reserved.

	$Id: pgpnetIpHelper.h,v 1.3 2002/08/06 20:10:27 dallen Exp $
____________________________________________________________________________*/

#ifndef _H_PGPNET_IP_HELPER_
#define _H_PGPNET_IP_HELPER_

#ifdef __cplusplus
extern "C" {
#endif

typedef enum
{
	TYPE_IP,
	TYPE_ICMP,
 	TYPE_UDP,
 	TYPE_TCP
} HeadType;

PGPUInt32
GetIPAddressFromARP(void * block);

PGPBoolean 
EmptyEthernetAddress(PGPByte* eth_address);

PGPBoolean 
BroadcastEthernetAddress(PGPByte* eth_dstAddress);

PGPUInt16
HeaderChecksum(PGPUInt16 *header, HeadType type);

#ifdef __cplusplus
}
#endif

#endif // #define _H_PGPNET_IP_HELPER_

⌨️ 快捷键说明

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