usriplib.c

来自「IXP425的BSP代码」· C语言 代码 · 共 35 行

C
35
字号
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 + =
减小字号Ctrl + -
显示快捷键?