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

📄 00network.cdf.2.0.0

📁 wm PNE 3.3 source code, running at more than vxworks6.x version.
💻 0
📖 第 1 页 / 共 4 页
字号:
 * Using END: Call usrNetEndDevStart (...) See usrNetEndBoot.c * Using BSD: Call usrNetBsdDevStart (...) see usrNetBsdBoot.c */Component INCLUDE_DEFER_NET_INIT        {        NAME            defer network initialization        SYNOPSIS        does not attach interfaces at boot time        CONFIGLETTES    net/usrNetBsdBoot.c net/usrConfigIf.c \                        net/usrNetBoot.c net/usrEndLib.c \                        net/usrNetEndBoot.c        REQUIRES        INCLUDE_BOOT_LINE_INIT INCLUDE_NET_SETUP        EXCLUDES        INCLUDE_NET_INIT        }/* * The configuration file for this component must precede the files for * all other components which depend on it. Currently, that requirement is * met as long as the file names are in alphabetical order. */Component INCLUDE_NET_INIT        {        NAME            initialize network at boot time        SYNOPSIS        Reads the enet address from the bootline parameters        CONFIGLETTES    net/usrNetBoot.c        INIT_RTN        usrNetBoot ();        REQUIRES        INCLUDE_BOOT_LINE_INIT INCLUDE_NET_SETUP        EXCLUDES        INCLUDE_DEFER_NET_INIT        }Selection SELECT_NETADDR_INIT        {        NAME 		dhcp device address initialization        SYNOPSIS 	Handles any lease timestamp information for address        COUNT 		1-        CHILDREN 	INCLUDE_DHCPC_LEASE_GET 	\			INCLUDE_DHCPC_LEASE_CLEAN 	\			INCLUDE_DHCPC_LEASE_TEST        }Component INCLUDE_DHCPC_LEASE_GET	{	NAME		DHCP client timestamp setup	SYNOPSIS	Extracts DHCP time values from address field	CONFIGLETTES	net/usrNetDhcpcBootSetup.c net/usrNetBoot.c	INIT_RTN	usrDhcpcLeaseGet ();        INCLUDE_WHEN 	INCLUDE_DHCPC	REQUIRES	INCLUDE_NET_INIT        EXCLUDES 	INCLUDE_DHCPC_LEASE_CLEAN	HDR_FILES	sysLib.h	}Component INCLUDE_DHCPC_LEASE_CLEAN	{	NAME		DHCP client timestamp removal	SYNOPSIS	Deletes DHCP time values from address field	CONFIGLETTES	net/usrNetBootUtil.c net/usrNetBoot.c	INIT_RTN	usrDhcpcLeaseClean ();        INCLUDE_WHEN 	INCLUDE_NET_INIT	REQUIRES	INCLUDE_NET_INIT	HDR_FILES	sysLib.h	}Component INCLUDE_PPP_BOOT	{	NAME 		PPP boot	SYNOPSIS 	Creates a point to point attachment using boot parameters	CONFIGLETTES 	net/usrNetBoot.c net/usrNetPPPBoot.c	INIT_RTN	usrNetPPPStart ();	REQUIRES 	INCLUDE_PPP INCLUDE_NET_INIT	INCLUDE_WHEN 	INCLUDE_PPP INCLUDE_NET_INIT	}Component INCLUDE_SLIP_BOOT	{	NAME 		SLIP boot	SYNOPSIS 	Creates a serial line IP attachment using boot parameters	CONFIGLETTES 	net/usrNetBoot.c net/usrNetSlipBoot.c	INIT_RTN	usrNetSlipStart ();	REQUIRES 	INCLUDE_SLIP INCLUDE_NET_INIT	INCLUDE_WHEN 	INCLUDE_SLIP INCLUDE_NET_INIT	}Component INCLUDE_NETMASK_GET	{	NAME 		network device netmask setup	SYNOPSIS 	Extracts netmask value from address field        CONFIGLETTES 	net/usrNetBootUtil.c net/usrNetBoot.c	INIT_RTN 	usrNetmaskGet ();	INCLUDE_WHEN 	INCLUDE_NET_INIT	REQUIRES	INCLUDE_NET_INIT	HDR_FILES	sysLib.h	}/* *      Even if "bp" or "sm" are not used as the boot device, a backplane *      device is still created using a variety of scenarios, depending on  *      whether proxy arp and/or sequential addressing are selected. * *      If "bp" or "sm" are used as the boot device and DHCP is included with *      that flag set, the network initialization must return ERROR unless *      the proxy flag is also set. * *      Whether or not the device was booted over the backplane, the network *      initialization must create a proxy server when that component is *      included and INCLUDE_SM_NET is defined. It must also initialize *      the shared memory network show routines if included. * */Component INCLUDE_SM_NET	{	NAME 		shared memory network initialization	SYNOPSIS 	Creates a device accessing backplane like a network	CONFIGLETTES 	net/usrNetSmBoot.c net/usrNetBoot.c	INIT_RTN	usrNetSmnetStart ();	MODULES		if_sm.o	REQUIRES	INCLUDE_BSD_BOOT	HDR_FILES	sysLib.h	} Component INCLUDE_SM_NET_ADDRGET	{	NAME		shared memory bootline parsing	SYNOPSIS	Selects "inet on backplane" field if needed	CONFIGLETTES	net/usrNetBoot.c	INIT_RTN	usrSmNetAddrGet ();        INCLUDE_WHEN 	INCLUDE_SM_NET	REQUIRES	INCLUDE_SM_NET	MACRO_NEST	INCLUDE_SM_NET	}Component INCLUDE_SECOND_SMNET	{	NAME		shared memory as second interface	SYNOPSIS	Attaches the shared memory as a second interface	CONFIGLETTES	net/usrNetSmSecBoot.c net/usrNetBoot.c	INIT_RTN	usrBpSecondAttach ();	INCLUDE_WHEN	INCLUDE_SM_NET	MACRO_NEST	INCLUDE_SM_NET	REQUIRES	INCLUDE_SM_NET	HDR_FILES	sysLib.h	}Component INCLUDE_NETDEV_NAMEGET	{	NAME		network device name selection	SYNOPSIS	Gets name from "other" field if booting from disk	CONFIGLETTES	net/usrNetBoot.c	INIT_RTN	usrNetDevNameGet ();	INCLUDE_WHEN	INCLUDE_NET_INIT	REQUIRES	INCLUDE_NET_INIT	}Component INCLUDE_END_BOOT        {        NAME            END attach interface        SYNOPSIS        Uses boot parameters to start an END driver        CONFIGLETTES    net/usrNetBoot.c net/usrNetEndBoot.c        HDR_FILES       ipProto.h muxLib.h sysLib.h        INIT_RTN        usrNetEndDevStart (pDevName, uNum, pTgtName,    \                                           pAddrString, netmask);        INCLUDE_WHEN    INCLUDE_END INCLUDE_NET_INIT        REQUIRES        INCLUDE_END INCLUDE_NET_INIT        }Component INCLUDE_BSD_BOOT        {        NAME            BSD attach interface        SYNOPSIS        Uses boot parameters to start a BSD driver        CONFIGLETTES    net/usrNetBoot.c net/usrNetBsdBoot.c        INIT_RTN        usrNetBsdDevStart (pDevName, uNum, pTgtName,    \                                           pAddrString, netDevBootFlag);        INCLUDE_WHEN    INCLUDE_BSD INCLUDE_NET_INIT        REQUIRES        INCLUDE_BSD INCLUDE_NET_INIT        HDR_FILES       sysLib.h iosLib.h        }Component INCLUDE_ARP_API	{	NAME		API to ARP tables	SYNOPSIS	Includes the ARP cache APIs	REQUIRES	INCLUDE_IP	MODULES		arpLib.o	LINK_SYMS	arpAdd	}Component INCLUDE_IP	{	NAME		IPv4	SYNOPSIS	BSD 4.4 IPv4	INIT_RTN	usrIpLibInit();	CONFIGLETTES 	net/usrNetIpLib.c	CFG_PARAMS	IP_FLAGS_DFLT IP_TTL_DFLT IP_QLEN_DFLT IP_FRAG_TTL_DFLT	MODULES		ipLib.o        REQUIRES 	INCLUDE_NET_SETUP INCLUDE_BSD_SOCKET	HDR_FILES	netLib.h	}Parameter IP_FLAGS_DFLT	{	NAME		IP Configuration Flags	SYNOPSIS	Selects optional features of IP layer        DEFAULT 	(IP_DO_FORWARDING | IP_DO_REDIRECT | \                         IP_DO_CHECKSUM_SND | IP_DO_CHECKSUM_RCV)	}Parameter IP_TTL_DFLT	{	NAME		IP Time-to-live Value	SYNOPSIS	Default TTL value for IP packets        TYPE 		uint        DEFAULT 	64	}Parameter IP_QLEN_DFLT	{	NAME		IP Packet Queue Size	SYNOPSIS	Number of packets stored by receiver        TYPE 		uint        DEFAULT 	50	}Parameter IP_FRAG_TTL_DFLT	{	NAME		IP Time-to-live Value for packet fragments	SYNOPSIS	Number of slow timeouts (2 per second)        TYPE 		uint        DEFAULT 	60	}Component INCLUDE_ICMP	{	NAME		ICMPv4	SYNOPSIS	BSD 4.4 ICMPv4	CONFIGLETTES	net/usrNetIcmp.c	INIT_RTN	icmpLibInit (&icmpCfgParams);	CFG_PARAMS	ICMP_FLAGS_DFLT	MODULES		icmpLib.o        REQUIRES 	INCLUDE_NET_SETUP INCLUDE_BSD_SOCKET	HDR_FILES	netLib.h	}Parameter ICMP_FLAGS_DFLT	{	NAME		ICMP Configuration Flags	SYNOPSIS	Selects optional features of ICMP         DEFAULT 	(ICMP_NO_MASK_REPLY)	}Component INCLUDE_MCAST_ROUTING	{	NAME		MCAST ROUTING	SYNOPSIS	Multicast Routing Support	REQUIRES	INCLUDE_BSD_SOCKET	INIT_RTN	mCastRouteLibInit();	MODULES		mCastRouteLib.o	}Component INCLUDE_IGMP	{	NAME		IGMPv4	SYNOPSIS	BSD 4.4 IGMPv4	REQUIRES	INCLUDE_BSD_SOCKET	INIT_RTN	igmpLibInit();	MODULES		igmpLib.o	}Component INCLUDE_UDP	{	NAME		UDPv4	SYNOPSIS	BSD 4.4. UDPv4	REQUIRES	INCLUDE_BSD_SOCKET	CONFIGLETTES	net/usrUdp.c	INIT_RTN	udpLibInit (&udpCfgParams);	CFG_PARAMS	UDP_FLAGS_DFLT UDP_SND_SIZE_DFLT UDP_RCV_SIZE_DFLT	MODULES		udpLib.o	HDR_FILES	netLib.h	}Parameter UDP_FLAGS_DFLT	{	NAME 		UDP Configuration Flags	SYNOPSIS	Optional UDP features: default enables checksums        DEFAULT 	(UDP_DO_CKSUM_SND | UDP_DO_CKSUM_RCV)	}Parameter UDP_SND_SIZE_DFLT	{	NAME		UDP Send Buffer Size	SYNOPSIS	Number of bytes for outgoing UDP data (9216 by default)        TYPE 		uint        DEFAULT 	9216	}Parameter UDP_RCV_SIZE_DFLT	{	NAME		UDP Receive Buffer Size	SYNOPSIS	Number of bytes for incoming UDP data (default 41600)        TYPE 		uint        DEFAULT 	41600	}Component INCLUDE_TCP	{	NAME		TCPv4	SYNOPSIS	BSD 4.4 TCPv4	REQUIRES	INCLUDE_BSD_SOCKET	CONFIGLETTES	net/usrTcp.c	CFG_PARAMS	TCP_FLAGS_DFLT TCP_SND_SIZE_DFLT TCP_RCV_SIZE_DFLT \		 	TCP_CON_TIMEO_DFLT TCP_REXMT_THLD_DFLT \			TCP_MSS_DFLT TCP_RND_TRIP_DFLT TCP_IDLE_TIMEO_DFLT \			TCP_MAX_PROBE_DFLT	INIT_RTN	tcpLibInit (&tcpCfgParams);	MODULES		tcpLib.o	HDR_FILES	netLib.h	}Parameter TCP_FLAGS_DFLT	{	NAME		TCP Default Flags	SYNOPSIS	Default value of the TCP flags	DEFAULT		(TCP_DO_RFC1323)	}Parameter TCP_SND_SIZE_DFLT	{	NAME		TCP Send Buffer Size	SYNOPSIS	Number of bytes for outgoing TCP data (8192 by default)        TYPE 		uint        DEFAULT 	8192	}Parameter TCP_RCV_SIZE_DFLT	{	NAME		TCP Receive Buffer Size	SYNOPSIS	Number of bytes for incoming TCP data (8192 by default)        TYPE 		uint        DEFAULT 	8192	}Parameter TCP_CON_TIMEO_DFLT	{	NAME		TCP Connection Timeout	SYNOPSIS	Timeout intervals to connect (default 150 = 75 secs)        TYPE 		uint        DEFAULT 	150	}Parameter TCP_REXMT_THLD_DFLT	{	NAME		TCP Retransmission Threshold	SYNOPSIS	Number of retransmit attempts before error (default 3)        TYPE 		uint        DEFAULT 	3	}Parameter TCP_MSS_DFLT	{	NAME		Default TCP Maximum Segment Size	SYNOPSIS	Initial number of bytes for a segment (default 512)        TYPE 		uint        DEFAULT 	512	}Parameter TCP_RND_TRIP_DFLT	{	NAME		Default Round Trip Interval	SYNOPSIS	Initial value for round-trip-time, in seconds        TYPE 		uint        DEFAULT 	3	}Parameter TCP_IDLE_TIMEO_DFLT	{	NAME		TCP Idle Timeout Value	SYNOPSIS	Seconds without data before dropping connection        TYPE 		uint        DEFAULT 	14400	}Parameter TCP_MAX_PROBE_DFLT	{	NAME		TCP Probe Limit	SYNOPSIS	Number of probes before dropping connection (default 8)        TYPE 		uint        DEFAULT 	8	}Component INCLUDE_TCP_DEBUG	{	NAME		TCPv4 DEBUG	SYNOPSIS	BSD 4.4 TCPv4 Debugging	INIT_RTN	tcpTraceInit ();	MODULES		tcp_debug.o	}Component INCLUDE_BSD_SOCKET	{	NAME		BSD SOCKET	SYNOPSIS	BSD Socket Support	CFG_PARAMS	NUM_FILES	CONFIGLETTES	net/usrBsdSocket.c	INIT_RTN	usrBsdSockLibInit();	MODULES		bsdSockLib.o sockLib.o        REQUIRES 	INCLUDE_NET_SETUP	HDR_FILES	sys/socket.h bsdSockLib.h	}Component BSD43_COMPATIBLE	{	NAME		BSD 4.3 Compatible Sockets	SYNOPSIS	BSD 4.3 Compatible Socket Library	INIT_RTN	bsdSock43ApiFlag = TRUE;	HDR_FILES	bsdSockLib.h	}	Component INCLUDE_NET_LIB	{	NAME		network library support	SYNOPSIS	creates the network task that runs low-level \			network interface routines in a task context	INIT_RTN	netLibInit();	MODULES		netLib.o	HDR_FILES	netLib.h        REQUIRES 	INCLUDE_NET_SETUP	}Component INCLUDE_HOST_TBL	{	NAME		HOST TBL	SYNOPSIS	Host Table Support	INIT_RTN	hostTblInit();	MODULES		hostLib.o	HDR_FILES	hostLib.h        REQUIRES 	INCLUDE_NET_SETUP	}Folder FOLDER_NET_REM_IO	{	NAME		Network Remote I/O Support	CHILDREN        INCLUDE_NET_HOST_SETUP \			INCLUDE_NET_REM_IO	DEFAULTS        INCLUDE_NET_HOST_SETUP        }/*  * This component currently uniquely uses the sethostname() routine in * hostLib.o, but should not depend on that library, so MODULES is * empty. It only references INCLUDE_NET_INIT for backward compatibility. * There are no dependencies in the processing which require execution * during the boot parameter processing. */Component INCLUDE_NET_HOST_SETUP        {	NAME		network host setup	SYNOPSIS	Route creation and hostname setup	CONFIGLETTES	net/usrNetRemoteCfg.c	INIT_RTN	usrNetHostSetup ();        INCLUDE_WHEN 	INCLUDE_NET_INIT        REQUIRES 	INCLUDE_BOOT_LINE_INIT INCLUDE_NET_SETUP	HDR_FILES	ioLib.h private/funcBindP.h netDrv.h \			private/ftpLibP.h remLib.h	}/*  * This component currently uniquely uses the sethostname() routine in * hostLib.o, but should not depend on that library, so MODULES is * empty. It only requires INCLUDE_NET_INIT for backward compatibility. * There are no dependencies in the processing which require execution * during the boot parameter processing. */Component INCLUDE_NET_REM_IO        {	NAME		network remote I/O access	SYNOPSIS	Allows access to file system on boot host	CONFIGLETTES	net/usrNetRemoteCfg.c	INIT_RTN	usrNetRemoteCreate ();        MODULES 	netDrv.o        INCLUDE_WHEN 	INCLUDE_NET_INIT        REQUIRES 	INCLUDE_BOOT_LINE_INIT INCLUDE_NET_HOST_SETUP	HDR_FILES	ioLib.h private/funcBindP.h netDrv.h \			private/ftpLibP.h remLib.h	}/*  * This is only used at boot time in the boot roms and does not * have an init routine. */Component INCLUDE_BOOTP	{	NAME		BOOTP client	SYNOPSIS	BOOT protocol client library	REQUIRES	INCLUDE_BSD_SOCKET	MODULES		bootpLib.o	}

⌨️ 快捷键说明

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