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

📄 proxyarp.h

📁 用于嵌入式系统的TCP/IP协议栈及若干服务
💻 H
字号:
/*            Copyright (c) 1998-2001 by NETsilicon Inc.**  This software is copyrighted by and is the sole property of*  NETsilicon.  All rights, title, ownership, or other interests*  in the software remain the property of NETsilicon.  This*  software may only be used in accordance with the corresponding*  license agreement.  Any unauthorized use, duplication, transmission,*  distribution, or disclosure of this software is expressly forbidden.**  This Copyright notice may not be removed or modified without prior*  written consent of NETsilicon.**  NETsilicon, reserves the right to modify this software*  without notice.**  NETsilicon*  411 Waverley Oaks Road                  USA 781.647.1234*  Suite 227                               http://www.netsilicon.com*  Waltham, MA 02452                       AmericaSales@netsilicon.com***************************************************************************  $Name: Fusion 6.52 Fusion 6.51 $* $Date: 2001/09/20 10:19:23 $*  $Source: M:/psisrc/stack/incl/rcs/proxyarp.h $*  $Revision: 1.2 $***************************************************************************  File Description:  Proxy ARP, RFC 1027 support**************************************************************************/extern int fns_proxy_arp_enable(void);extern int fns_proxy_arp_disable(void);extern int fns_proxy_arp_add(char *, char *);extern int fns_proxy_arp_delete(char *);extern int fns_proxy_arp_add_subnet(char *, char *, char *);extern int fns_proxy_arp_delete_subnet(char *);/* error codes generated by Proxy ARP API */#define PA_NO_ERROR         0#define PA_UNKNOWN_DEVICE   1#define PA_CACHE_FULL       2#define PA_ENTRY_NOT_FOUND  3#define PA_CANNOT_ADD_ROUTE 4#ifdef DEBUG_PROXYARP#define DEBUG_PROXYARP0(s)          os_printf(s)#define DEBUG_PROXYARP1(s,x)        os_printf(s,x)#define DEBUG_PROXYARP2(s,x,y)      os_printf(s,x,y)#define DEBUG_PROXYARP3(s,x,y,z)    os_printf(s,x,y,z)#define DEBUG_PROXYARP4(s,w,x,y,z)  os_printf(s,w,x,y,z)#else#define DEBUG_PROXYARP0(s)#define DEBUG_PROXYARP1(s,x)#define DEBUG_PROXYARP2(s,x,y)#define DEBUG_PROXYARP3(s,x,y,z)#define DEBUG_PROXYARP4(s,w,x,y,z)#endif

⌨️ 快捷键说明

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