netinit.c
来自「lwIP-Softools-11Jul2002-alpha」· C语言 代码 · 共 37 行
C
37 行
/* * Functions to start the ethernet system. * * (C) 2002 Compendium Technologies, Inc. * (C) 2002 Softools, Inc. * All rights reserved. * * This software is the proprietary information of Compendium Technologies, Inc. * and Softools, Inc. Use is subject to license terms. */#include "rabbitlwip.h"#include "lwipopts.h"#include "lwip/mem.h"#include "lwip/memp.h"#include "lwip/pbuf.h"#include "lwip/sys.h"#ifdef STATS# include "lwip/stats.h"#endifunsigned char netInited = 0;/** * Call this only once. It sets up the memory for the lwIP system. */void netInit(){#ifdef STATS stats_init();#endif sys_init(); mem_init(); memp_init(); pbuf_init(); netInited = 1;}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?