?? natif.h
字號:
//--------------------------------------------------------------------------
// IP Stack Utility Programs
//--------------------------------------------------------------------------
// NATIF.H
//
// Interface to the tools available in NETTOOL.LIB
//
// Copyright 1999, 2000 by Texas Instruments Inc.
//-------------------------------------------------------------------------
#ifndef _NATIF_H_
#define _NATIF_H_
//
// DHCP NAT SERVICE
//
//
// NAT Parameter Structure
//
typedef struct _ntparam_nat {
IPN IPVirt; // Virtual IP address
IPN IPMask; // Mask of virtual subnet
uint MTU; // NAT packet MTU (normally 1500 or 1492)
} NTPARAM_NAT;
//
// NATOpen()
//
// This function is called to initiate NAT control of the system. The
// interface specified to NAT is the IF of the EXTERNAL network.
//
// Compatible with NT_MODE_IFIDX only.
//
// Returns a pseudo-HANDLE of "1" on success, or NULL on failure. The
// pseudo-HANDLE can used with NATClose().
//
_extern HANDLE NATOpen( NTARGS *pNTA, NTPARAM_NAT *pNTP );
//
// NATClose()
//
// This function terminates NAT control
//
_extern void NATClose( HANDLE hNAT );
#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -