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

📄 usrnetiplib.c

📁 IXP425的BSP代码
💻 C
字号:
/* usrNetIpLib.c - Initialization routine for the IP library *//* Copyright 1992 - 1998 Wind River Systems, Inc. *//*modification history--------------------01a,18aug98,ann  created this configlette from usrNetwork.c*//*DESCRIPTIONThis configlette contains the initialization routine for theINCLUDE_IP component. It calls the initialization routines for theIP libraries.NOMANUAL*/IP_CFG_PARAMS ipCfgParams =	/* ip configuration parameters */    {    IP_FLAGS_DFLT,		/* default ip flags */    IP_TTL_DFLT,		/* ip default time to live */    IP_QLEN_DFLT,		/* default ip intr queue len */    IP_FRAG_TTL_DFLT		/* default ip fragment time to live */    }; STATUS usrIpLibInit ()    {    if (ipLibInit (&ipCfgParams) == ERROR)  /* has to included by default */        {        printf ("ipLibInit failed.\n");        return (ERROR);        }        if (rawIpLibInit () == ERROR)           /* has to included by default */        {        printf ("rawIpLibInit failed.\n");        return (ERROR);        }        if (rawLibInit () == ERROR)        {        printf ("rawLibInit failed.\n");        return (ERROR);        }    return (OK);    }

⌨️ 快捷键说明

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