natftpalg.h

来自「vxworks下ppp的实现源码」· C头文件 代码 · 共 55 行

H
55
字号
/* natFtpAlg.h *//* Copyright 2000-2003 Wind River Systems, Inc. *//* @format.tab-size 4, @format.use-tabs true, @format.new-line lf *//* WindNet NAT "installable" FTP Application Level Gateway (ALG) *//*modification history--------------------01a,24apr03,zhu  updated copyright070201	tk	Added new data structures for new implementation of natFtpAlg.c to			work with the upgraded ALG API.061401	tk	Created to eliminate warning in compilation of prjConfig.c*/#ifndef __INCnatFtpAlgh#define __INCnatFtpAlgh/* NAT-FTP ALG header *//* data structures */typedef struct NAT_TRANSPORT{	char		*tcp_block_ptr;	ULONG		global_address;	USHORT		global_port;} NAT_TRANSPORT;/* function declarations */STATUS natFtpInit(u_short);		/* FTP ALG agent initialization function */STATUS ftp_get_tcp_entry(		/* for basic NAT, find matching ip entry */	ULONG	local_address,	char	*packet,	NAT_TRANSPORT *transport);STATUS ftp_get_global_transport(	/* for NAPT, get TCP entry */	ULONG	local_address,	USHORT	local_port,	char	*packet,	NAT_TRANSPORT *transport	);STATUS adjust_tcp_sequence(	char	*tcp_packet,	char	*old_string,	char	*new_string,	ULONG	new_string_length,	ULONG	old_string_length,	char	*tcp_entry);#endif	/* __INCnatFtpAlgh */

⌨️ 快捷键说明

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