changeset 2374:9a4c4f1b0178

Add CDL to support 'BOOTP_COMPAT'
author gthomas
date Thu, 22 Mar 2007 11:51:19 +0000
parents a874158b6a4e
children 7dc5d6a66645
files packages/net/bsd_tcpip/current/ChangeLog packages/net/bsd_tcpip/current/cdl/freebsd_net.cdl
diffstat 2 files changed, 19 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/packages/net/bsd_tcpip/current/ChangeLog
+++ b/packages/net/bsd_tcpip/current/ChangeLog
@@ -1,3 +1,8 @@
+2007-03-21  Jay Foster <jay@systech.com>
+
+	* cdl/freebsd_net.cdl: Added option to enable BOOTP_COMPAT to
+	allow bootp to work.
+
 2006-07-19  Philip Keller  <keller@metrolab.ch>
 
 	* src/ecos/support.c (cyg_netint): Don't handle events that don't
--- a/packages/net/bsd_tcpip/current/cdl/freebsd_net.cdl
+++ b/packages/net/bsd_tcpip/current/cdl/freebsd_net.cdl
@@ -431,6 +431,20 @@ cdl_package CYGPKG_NET_FREEBSD_STACK {
         flavor  none
         no_define
 
+        cdl_option CYGOPT_NET_FREEBSD_STACK_ACCEPT_UNICAST {
+            display "Accept unicast packets on INADDR_ANY interfaces"
+            flavor  bool
+            no_define
+            define        BOOTP_COMPAT
+            default_value 0
+            description   "This option enables passing of unicast
+                IP packets to the application, when the interface
+                IP address is configured as INADDR_ANY (0.0.0.0).
+                This option is useful for some applications that
+                need to receive unicast IP packets when the interface
+                address is unknown.  Such an application is bootp."
+        }
+
         cdl_option CYGPKG_NET_FREEBSD_STACK_CFLAGS_ADD {
             display "Additional compiler flags"
             flavor  data