01network.cdf
上传用户:luoyougen
上传日期:2008-05-12
资源大小:23136k
文件大小:4k
源码类别:

VxWorks

开发平台:

C/C++

  1. /*
  2. Copyright 1984 - 2002 Wind River Systems, Inc.
  3. modification history
  4. --------------------
  5. 01g,20mar02,vvv  removed reference to INCLUDE_BOOTP (SPR #74183)
  6. 01f,02oct01,vvv  added parameter to usrDhcpsStart in INCLUDE_DHCPS
  7. 01e,13dec00,spm  removed duplicate INCLUDE_DHCPR; added correct DHCP server
  8. 01d,12dec00,spm  removed excess modules to fix DHCP scalability
  9. 01c,29nov00,niq  Remove SELECT_NETADDR_INIT which is not necessary at all
  10. 01b,29nov00,niq  Changing entries so that new components add themselves as
  11.                  children.
  12. 01a,26jun00,niq  written
  13. DESCRIPTION
  14. This file contains updated descriptions for any network components altered
  15. or added in the Tornado maintenance release.
  16. */
  17. Component INCLUDE_BPF 
  18. {
  19.         NAME            Berkeley Packet Filter Driver
  20.         SYNOPSIS        Provides direct access to link-level frames
  21.         HDR_FILES       net/bpf.h
  22.         MODULES         bpfDrv.o 
  23.                         bpfProto.o 
  24.                         bpf_filter.o
  25.         _CHILDREN       FOLDER_NET_APP
  26. }
  27.  
  28. Component INCLUDE_DHCPC 
  29. {
  30.         NAME  DHCPv4 runtime client
  31.         SYNOPSIS  Dynamic host configuration protocol client
  32.         MODULES         dhcpcLib.o
  33. CONFIGLETTES net/usrNetDhcpcCfg.c net/usrNetBoot.c
  34.         CFG_PARAMS      DHCPC_CPORT 
  35.                         DHCPC_DEFAULT_LEASE 
  36.                         DHCPC_MAX_LEASES 
  37.                         DHCPC_MAX_MSGSIZE 
  38.                         DHCPC_MIN_LEASE 
  39.                         DHCPC_OFFER_TIMEOUT 
  40.                         DHCPC_SPORT
  41. INIT_RTN usrDhcpcStart ();
  42.         REQUIRES        INCLUDE_BPF 
  43.                         INCLUDE_NET_SETUP 
  44.                         INCLUDE_ROUTE_SOCK
  45. HDR_FILES dhcp/dhcpcInit.h sysLib.h
  46. }
  47. Parameter DHCPC_MAX_MSGSIZE 
  48. {
  49.         NAME            DHCP Client Maximum Message Size
  50.         SYNOPSIS        Default allows minimum DHCP message in Ethernet frame
  51.         TYPE            uint
  52.         DEFAULT         590
  53. }
  54. Component INCLUDE_DHCPS
  55. {
  56. NAME            DHCP server
  57. SYNOPSIS        Dynamic host configuration protocol server
  58. CONFIGLETTES    net/usrNetDhcpsCfg.c
  59. HDR_FILES       ioLib.h
  60. INIT_RTN        usrDhcpsStart (&dhcpsDfltCfgParams);
  61. CFG_PARAMS      DHCPS_CPORT 
  62. DHCPS_SPORT 
  63. DHCPS_MAX_MSGSIZE 
  64. DHCPS_ADDRESS_HOOK 
  65. DHCPS_DEFAULT_LEASE 
  66. DHCPS_LEASE_HOOK 
  67. DHCP_MAX_HOPS
  68. EXCLUDES        INCLUDE_DHCPR
  69. MODULES  dhcpsLib.o
  70. REQUIRES        INCLUDE_NET_SETUP
  71. }
  72. Parameter DHCPS_ADDRESS_HOOK
  73. {
  74. NAME            DHCP Server Address Storage Routine
  75. SYNOPSIS        Function pointer for preserving runtime pool entries
  76. TYPE            FUNCPTR
  77. DEFAULT         NULL
  78. }
  79. Parameter DHCPS_DEFAULT_LEASE
  80. {
  81. NAME            DHCP Server Standard Lease Length
  82. SYNOPSIS        Default lease duration in seconds
  83. TYPE            uint
  84. DEFAULT         3600
  85. }
  86. Parameter DHCPS_LEASE_HOOK
  87. {
  88. NAME            DHCP Server Lease Storage Routine
  89. SYNOPSIS        Function pointer for recording active leases
  90. TYPE            FUNCPTR
  91. DEFAULT         NULL
  92. }
  93. Parameter DHCPS_MAX_MSGSIZE
  94. {
  95. NAME DHCP Server/Relay Agent Maximum Message Size
  96. SYNOPSIS Default allows minimum DHCP message in Ethernet frame
  97. DEFAULT 590
  98. TYPE uint
  99. }
  100. Component INCLUDE_MUX
  101. {
  102. NAME network mux initialization
  103. SYNOPSIS network driver to protocol multiplexer
  104. CFG_PARAMS      MUX_MAX_BINDS
  105. CONFIGLETTES net/usrNetMuxCfg.c
  106. MODULES muxLib.o
  107. INIT_RTN usrMuxLibInit ();
  108.         REQUIRES  INCLUDE_NET_SETUP
  109. HDR_FILES       muxLib.h muxTkLib.h
  110. }
  111. Parameter MUX_MAX_BINDS
  112. {
  113. NAME MUX max bind value
  114. SYNOPSIS Default number of bindings that MUX allows
  115. TYPE uint
  116. DEFAULT 16
  117. }
  118. Component INCLUDE_BSD_SOCKET
  119. {
  120. NAME BSD SOCKET
  121. SYNOPSIS BSD Socket Support
  122. CONFIGLETTES net/usrBsdSocket.c
  123. CFG_PARAMS NUM_FILES USR_MAX_LINK_HDR
  124. INIT_RTN usrBsdSockLibInit();
  125. MODULES bsdSockLib.o sockLib.o
  126.         REQUIRES  INCLUDE_NET_SETUP
  127. HDR_FILES sys/socket.h bsdSockLib.h net/mbuf.h
  128. }
  129. Parameter USR_MAX_LINK_HDR
  130. {
  131. NAME Max link level header size
  132. SYNOPSIS User defined MAX link-level header size
  133. TYPE uint
  134. DEFAULT 16
  135. }