📄 00network.cdf
字号:
MODULES if_sm.o REQUIRES INCLUDE_BSD_BOOT \ INCLUDE_SM_COMMON CFG_PARAMS SM_PKTS_SIZE \ SM_MAX_PKTS 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 }Parameter SM_MAX_PKTS { NAME max # of shared memory packets to support TYPE uint DEFAULT 200}Parameter SM_PKTS_SIZE { NAME shared memory packet size, 0 = DEFAULT_PKTS_SIZE TYPE uint DEFAULT 0}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 }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); 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, 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 }Component INCLUDE_FTPD_SECURITY { NAME FTP server security SYNOPSIS File transfer protocol server library security INIT_RTN {extern FUNCPTR loginVerifyRtn; loginVerifyRtn = loginUserVerify;} REQUIRES INCLUDE_SECURITY INCLUDE_FTP_SERVER HDR_FILES loginLib.h } Component INCLUDE_FTP_SERVER { NAME FTP server SYNOPSIS File Transfer Protocol Server Library and Task MODULES ftpdLib.o REQUIRES INCLUDE_BSD_SOCKET INIT_RTN ftpdInit ((FUNCPTR)NULL, 0); }Component INCLUDE_FTP { NAME FTP client SYNOPSIS File Transfer Protocol (FTP) library HDR_FILES ftpLib.h private/ftpLibP.h CONFIGLETTES net/usrFtp.c MODULES ftpLib.o LINK_SYMS ftpCommand INIT_RTN usrFtpInit(); CFG_PARAMS FTP_TRANSIENT_MAX_RETRY_COUNT \ FTP_TRANSIENT_RETRY_INTERVAL \ FTP_TRANSIENT_FATAL \ FTP_DEBUG_OPTIONS }Parameter FTP_DEBUG_OPTIONS { NAME Debug logging facilities in ftpLib SYNOPSIS Enable various debugging facilities within ftpLib TYPE int DEFAULT 0 }Parameter FTP_TRANSIENT_MAX_RETRY_COUNT { NAME FTP Transient response maximum retry limit SYNOPSIS Maximum number of retries when FTP_TRANSIENT response encountered TYPE int DEFAULT 100 }Parameter FTP_TRANSIENT_RETRY_INTERVAL { NAME Time delay between retries after FTP_TRANSIENT encountered SYNOPSIS The time interval (in clock ticks) between reissuing a command TYPE int DEFAULT 0 }Parameter FTP_TRANSIENT_FATAL { NAME FTP transient fatal function SYNOPSIS Should a transient response be retried or aborted DEFAULT ftpTransientFatal }Component INCLUDE_FTP_SERVER { NAME FTP server SYNOPSIS File Transfer Protocol Server Library and Task MODULES ftpdLib.o REQUIRES INCLUDE_BSD_SOCKET INIT_RTN ftpdInit ((FUNCPTR)NULL, 0); }Component INCLUDE_MIB2_ALL { NAME MIB2 ALL SYNOPSIS All groups supported HDR_FILES m2Lib.h MODULES m2Lib.o }Component INCLUDE_MIB2_SYSTEM { NAME MIB2 SYSTEM SYNOPSIS MIB2 variables for the system group HDR_FILES m2Lib.h INIT_RTN m2SysInit (MIB2SYS_DESCR,\ MIB2SYS_CONTACT,\ MIB2SYS_LOCATION,\ (M2_OBJECTID *)MIB2SYS_OBJECT_ID); CFG_PARAMS MIB2SYS_DESCR \ MIB2SYS_CONTACT \ MIB2SYS_LOCATION \ MIB2SYS_OBJECT_ID MODULES m2SysLib.o } Parameter MIB2SYS_DESCR { NAME Pointer to MIB-2 sysDescr SYNOPSIS Pointer to MIB-2 sysDescr TYPE string DEFAULT NULL }Parameter MIB2SYS_CONTACT { NAME Pointer to MIB-2 sysContact SYNOPSIS Pointer to MIB-2 sysContact TYPE string DEFAULT NULL }Parameter MIB2SYS_LOCATION { NAME Pointer to MIB-2 sysLocation SYNOPSIS Pointer to MIB-2 sysLocation TYPE string DEFAULT NULL }Parameter MIB2SYS_OBJECT_ID { NAME Pointer to MIB-2 ObjectId SYNOPSIS Pointer to MIB-2 ObjectId TYPE int DEFAULT NULL }Component INCLUDE_MIB2_IF { NAME MIB2 IF SYNOPSIS MIB2 Variables for Interface Layer HDR_FILES m2Lib.h INIT_RTN m2IfInit (MIB2IF_TRAP_RTN, (void *)MIB2IF_TRAP_ARG); MODULES m2IfLib.o CFG_PARAMS MIB2IF_TRAP_RTN \ MIB2IF_TRAP_ARG }
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -