📄 00network.cdf
字号:
TYPE uint DEFAULT 4 }Parameter DHCPS_SPORT { NAME DHCP Server/Relay Agent Host Port SYNOPSIS Port monitored by DHCP servers and relay agents TYPE uint DEFAULT 67 }Parameter DHCPS_CPORT { NAME DHCP Server/Relay Agent Target Port SYNOPSIS Port monitored by DHCP clients TYPE uint DEFAULT 68 }Parameter DHCPS_MAX_MSGSIZE { NAME DHCP Server/Relay Agent Maximum Message Size SYNOPSIS Default allows minimum DHCP message in Ethernet frame DEFAULT 590 TYPE uint }Component INCLUDE_DNS_RESOLVER { NAME DNS resolver SYNOPSIS Domain name service client MODULES res_comp.o res_query.o res_debug.o res_send.o \ gethostnamadr.o res_mkquery.o resolvLib.o INIT_RTN usrDnsInit (DNS_DEBUG); CFG_PARAMS RESOLVER_DOMAIN_SERVER RESOLVER_DOMAIN DNS_DEBUG HDR_FILES resolvLib.h CONFIGLETTES net/usrDnsCfg.c REQUIRES INCLUDE_NET_SETUP }Parameter RESOLVER_DOMAIN_SERVER { NAME Resolver Domain Server SYNOPSIS The Domain server we contact with queries TYPE string DEFAULT "90.0.0.3" }Parameter RESOLVER_DOMAIN { NAME Resolver Domain SYNOPSIS The Domain that we are in TYPE string DEFAULT "wrs.com" }Parameter DNS_DEBUG { NAME DNS Debug Messages Flag SYNOPSIS Enables display of debug messages TYPE bool DEFAULT FALSE } Component INCLUDE_IP_FILTER { NAME IPFilter SYNOPSIS IP Filtering Library MODULES ipFilterLib.o INIT_RTN ipFilterLibInit (); REQUIRES INCLUDE_NET_SETUP }Component INCLUDE_RIP { NAME Routing Information Protocol SYNOPSIS Automatic configuration of IP forwarding table MODULES ripLib.o md5.o INIT_RTN ripLibInit(RIP_SUPPLIER, RIP_GATEWAY, RIP_MULTICAST, \ RIP_VERSION, RIP_TIMER_RATE, RIP_SUPPLY_INTERVAL, \ RIP_EXPIRE_TIME, RIP_GARBAGE_TIME, RIP_AUTH_TYPE); CFG_PARAMS RIP_SUPPLIER RIP_GATEWAY RIP_MULTICAST \ RIP_VERSION RIP_TIMER_RATE RIP_SUPPLY_INTERVAL \ RIP_EXPIRE_TIME RIP_GARBAGE_TIME RIP_AUTH_TYPE REQUIRES INCLUDE_ROUTE_SOCK INCLUDE_NET_SETUP }Parameter RIP_SUPPLIER { NAME RIP Supplier Flag SYNOPSIS Supply routes regardless of the number of interfaces? TYPE bool DEFAULT FALSE }Parameter RIP_GATEWAY { NAME RIP Gateway Flag SYNOPSIS Are we a gateway to the whole Internet? TYPE bool DEFAULT FALSE }Parameter RIP_VERSION { NAME RIP Version Number SYNOPSIS The version of RIP we are running TYPE uint DEFAULT 1 }Parameter RIP_MULTICAST { NAME RIP Multicast Flag SYNOPSIS Is multicast enabled for RIP communications DEFAULT 0 }Parameter RIP_TIMER_RATE { NAME RIP Timer Rate SYNOPSIS The rate at which our state is checked in seconds DEFAULT 1 }Parameter RIP_SUPPLY_INTERVAL { NAME RIP Supply Interval SYNOPSIS The time in seconds between sending updates DEFAULT 30 }Parameter RIP_EXPIRE_TIME { NAME RIP Expire Time SYNOPSIS The time in seconds until a route is expired DEFAULT 180 }Parameter RIP_GARBAGE_TIME { NAME RIP Garbage Time SYNOPSIS The time in seconds until a route is deleted DEFAULT 300 }Parameter RIP_AUTH_TYPE { NAME RIP Authentication Type SYNOPSIS Verification type from rip/m2RipLib.h (default is none) DEFAULT 1 TYPE uint}Component INCLUDE_RLOGIN { NAME RLOGIN server SYNOPSIS Allows remote access to target MODULES rlogLib.o INIT_RTN rlogInit(); REQUIRES INCLUDE_NET_SETUP }Component INCLUDE_ROUTE_SOCK { NAME BSD Routing Sockets SYNOPSIS Allows manipulation of routing table with socket API REQUIRES INCLUDE_BSD_SOCKET INCLUDE_NET_SETUP INIT_RTN routeSockInit(); CONFIGLETTES net/routeSockCfg.c MODULES routeSockLib.o HDR_FILES sys/socket.h bsdSockLib.h }Component INCLUDE_SNTPC { NAME SNTP client SYNOPSIS Simple network time protocol client MODULES sntpcLib.o INIT_RTN sntpcInit (SNTP_PORT); CFG_PARAMS SNTP_PORT HDR_FILES sntpcLib.h REQUIRES INCLUDE_NET_SETUP }Parameter SNTP_PORT { NAME SNTP Client/Server Port SYNOPSIS Port used for SNTP communication TYPE uint DEFAULT 123 }Component INCLUDE_SNTPS { NAME SNTP server SYNOPSIS Simple network time protocol server MODULES sntpsLib.o INIT_RTN usrSntpsInit (); CFG_PARAMS SNTPS_MODE SNTPS_DSTADDR SNTPS_INTERVAL \ SNTP_PORT SNTPS_TIME_HOOK HDR_FILES sntpsLib.h CONFIGLETTES net/usrSntpsCfg.c REQUIRES INCLUDE_NET_SETUP }Parameter SNTPS_MODE { NAME SNTP Server Mode Selection SYNOPSIS Determines if server sends unsolicited update messages DEFAULT SNTP_ACTIVE }Parameter SNTPS_DSTADDR { NAME SNTP Server Destination address SYNOPSIS Recipient for active mode updates (NULL for broadcasts) DEFAULT NULL }Parameter SNTPS_INTERVAL { NAME SNTP Server Update Interval SYNOPSIS For active mode, update interval in seconds DEFAULT 64 }Parameter SNTPS_TIME_HOOK { NAME SNTPS Time Hook SYNOPSIS Name of required clock access routine DEFAULT (FUNCPTR)NULL }Component INCLUDE_PROXY_SERVER { NAME Proxy ARP server SYNOPSIS Merges separate physical networks MODULES proxyArpLib.o INIT_RTN usrProxyServerInit (); CFG_PARAMS PROXYD_MAIN_ADDRESS PROXYD_PROXY_ADDRESS CONFIGLETTES net/usrProxyServerCfg.c REQUIRES INCLUDE_NET_SETUP }Parameter PROXYD_MAIN_ADDRESS { NAME Proxy ARP Server IP Address (Main Network) SYNOPSIS IP address of existing interface on main network TYPE string DEFAULT sysBootParams.ead }Parameter PROXYD_PROXY_ADDRESS { NAME Proxy ARP Server IP Address (Proxy Network) SYNOPSIS IP address of existing interface on proxy network TYPE string DEFAULT sysBootParams.bad }Component INCLUDE_SM_SEQ_ADDR { NAME auto address setup SYNOPSIS SM network auto address setup MACRO_NEST INCLUDE_SM_NET REQUIRES INCLUDE_SM_NET }Component INCLUDE_PROXY_DEFAULT_ADDR { NAME default address for backplane SYNOPSIS Use ethernet address to generate default bp address REQUIRES INCLUDE_SM_NET }Component INCLUDE_PROXY_CLIENT { NAME proxy ARP client SYNOPSIS Routes traffic through existing proxy server MODULES proxyLib.o INIT_RTN usrProxyClientInit (); CFG_PARAMS PROXYC_DEVICE PROXYC_ADDRESS CONFIGLETTES net/usrProxyClientCfg.c REQUIRES INCLUDE_NET_SETUP }Parameter PROXYC_DEVICE { NAME Proxy ARP Client Proxy Device SYNOPSIS Name and unit number of active device on proxy network TYPE string DEFAULT NULL }Parameter PROXYC_ADDRESS { NAME Proxy ARP Client IP Address SYNOPSIS IP address assigned to existing device on proxy network }Component INCLUDE_SLIP { NAME SLIP SYNOPSIS Support for network devices using SLIP CONFIGLETTES net/usrNetSlipCfg.c MODULES if_sl.o CFG_PARAMS SLIP_TTY SLIP_BAUDRATE CSLIP_ENABLE CSLIP_ALLOW \ SLIP_MTU REQUIRES INCLUDE_NET_SETUP }Parameter SLIP_TTY { NAME SLIP Channel Identifier SYNOPSIS Default TTY device for SLIP interface TYPE uint DEFAULT 1 }Parameter SLIP_BAUDRATE { NAME SLIP Channel Speed SYNOPSIS Channel Rate, or 0 for previously selected value TYPE int DEFAULT 0 }Parameter CSLIP_ENABLE { NAME Transmit Header Compression Flag SYNOPSIS Forces CSLIP header compression on transmit TYPE bool DEFAULT TRUE }Parameter CSLIP_ALLOW { NAME Receive Header Compression Flag SYNOPSIS Permits CSLIP header compression on receiver TYPE bool DEFAULT TRUE }Parameter SLIP_MTU { NAME SLIP Channel Capacity SYNOPSIS Maximum message size for SLIP link TYPE int DEFAULT 576 }/* * The configuration file for this component must precede the file for * the INCLUDE_BSD_BOOT component. Currently, that requirement is * met as long as the file names are in alphabetical order. */Component INCLUDE_BSD { NAME BSD interface support SYNOPSIS Support for network devices using BSD interface. CONFIGLETTES net/usrNetBsd.c REQUIRES INCLUDE_NET_SETUP INCLUDE_NETWORK HDR_FILES sysLib.h }Component INCLUDE_END { NAME END interface support SYNOPSIS Support for network devices using MUX/END interface CONFIGLETTES net/usrEndLib.c HDR_FILES configNet.h end.h muxLib.h netinet/if_ether.h INIT_RTN usrEndLibInit(); REQUIRES INCLUDE_NET_SETUP INCLUDE_NETWORK INCLUDE_MUX }Selection SELECT_NET_INIT { NAME network initialization SYNOPSIS decides when to include networking COUNT 1-1 CHILDREN INCLUDE_DEFER_NET_INIT \ INCLUDE_NET_INIT DEFAULTS INCLUDE_NET_INIT }/* * The INCLUDE_DEFER_NET_INIT component is provided to allow * the user to attach interfaces at a later time. If this * component is selected, exclude INCLUDE_BSD_BOOT * and INCLUDE_END_BOOT. To attach interfaces at a later time, * do the following. * 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/usrNetConfigIf.c \ net/usrNetBoot.c net/usrEndLib.c \ net/usrNetEndBoot.c net/usrNetBsd.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 }Component INCLUDE_NETDEV_CONFIG { NAME configure the network boot device SYNOPSIS Assigns an IP address and netmask CONFIGLETTES net/usrNetConfigIf.c INIT_RTN usrNetConfig (pDevName, uNum, pTgtName, pAddrString); INCLUDE_WHEN INCLUDE_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 \ INCLUDE_DHCPC_LEASE_SAVE }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 HDR_FILES sysLib.h }/* * Even if "sm" is 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 "sm" is 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 ();
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -