usrproxyclientcfg.c
来自「IXP425的BSP代码」· C语言 代码 · 共 37 行
C
37 行
/* usrProxyClientCfg.c - Initialization routine for the proxy ARP client *//* Copyright 1992 - 1999 Wind River Systems, Inc. *//*modification history--------------------01a,01sep99,spm created this configlette from usrNetwork.c*//*DESCRIPTIONThis configlette contains the init routine for the INCLUDE_PROXY_CLIENTcomponent. It initializes the proxy ARP client.NOMANUAL*/STATUS usrProxyClientInit () { char devName [MAX_FILENAME_LENGTH]; /* device name */ if (sysFlags & SYSFLG_PROXY) { printf ("registering proxy client %s...", PROXYC_ADDRESS); if (proxyReg (PROXYC_DEVICE, PROXYC_ADDRESS) == ERROR) { printf ("failed: error %x\n", errno); return (ERROR); } printf ("done.\n"); } return (OK); }
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?