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

📄 usrnetdhcpccfg.c

📁 IXP425的BSP代码
💻 C
字号:
/* usrNetDhcpcCfg.c - Initialization routine for the DHCP client component *//* Copyright 1992 - 2000 Wind River Systems, Inc. *//*modification history--------------------01c,16nov00,spm  fixed description 01b,17oct00,niq  Integrating T3 DHCP01c,05apr00,spm  removed startup for other components from initialization01b,24nov99,spm  upgraded to RFC 2131 and removed direct link-level access01a,18aug98,ann  created this configlette from usrNetwork.c*//*DESCRIPTIONThis file contains the initialization routine for the INCLUDE_DHCPC component.When DHCP is used to get the target's address and boot file, this routineexecutes between the startup routines (in the usrNetDhcpcBootSetup.c module)for the INCLUDE_DHCPC_LEASE_GET and INCLUDE_DHCPC_LEASE_TEST components.NOMANUAL*/void usrDhcpcStart (void)    {    if (backplaneBoot)        {        if ((sysBootParams.flags & SYSFLG_AUTOCONFIG) && !(sysBootParams.flags & SYSFLG_PROXY))            {            printf ("Warning: DHCP over backplane might require proxy arp.\n");            }        }    if (dhcpcLibInit (DHCPC_SPORT, DHCPC_CPORT, DHCPC_MAX_LEASES,                      DHCPC_MAX_MSGSIZE, DHCPC_OFFER_TIMEOUT,                      DHCPC_DEFAULT_LEASE, DHCPC_MIN_LEASE) == ERROR)        printf ("Error in initializing dhcpcLib\n");    }

⌨️ 快捷键说明

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