VirtualBox

Changeset 109265 in vbox


Ignore:
Timestamp:
May 14, 2025 4:29:37 PM (6 days ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
168862
Message:

Config.kmk,libs/lwip-2.2.1: Add special lwip library variant for the DHCP service which has TCP disabled and accepts DHCP requests from broadcast addresses, bugref:10899

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Config.kmk

    r109261 r109265  
    52895289 SDK_VBoxLwip_INCS             ?= $(SDK_VBoxLwip_DEFAULT_INCS)
    52905290 SDK_VBoxLwip_LIBS             ?= $(PATH_STAGE_LIB)/VBox-lwip$(VBOX_SUFF_LIB)
     5291
     5292 SDK_VBoxLwipDhcp              := Special lwip for the DHCP service.
     5293 SDK_VBoxLwipDhcp_EXTENDS      := VBoxLwip
     5294 SDK_VBoxLwipDhcp_LIBS         ?= $(PATH_STAGE_LIB)/VBox-lwip-dhcp$(VBOX_SUFF_LIB)
    52915295endif
    52925296
  • trunk/src/libs/lwip-2.2.1/Makefile.kmk

    r109249 r109265  
    9595        vbox/VBoxLwipCore.cpp
    9696
     97LIBRARIES += VBox-lwip-dhcp
     98VBox-lwip-dhcp_EXTENDS := VBox-lwip
     99VBox-lwip-dhcp_DEFS += VBOX_LWIP_DHCP
     100
    97101include $(FILE_KBUILD_SUB_FOOTER)
  • trunk/src/libs/lwip-2.2.1/vbox/include/lwipopts.h

    r109255 r109265  
    124124#define LWIP_TCPIP_CORE_LOCKING_INPUT 0
    125125#define LWIP_TCPIP_CORE_LOCKING 0
    126 #define LWIP_TCP 1
    127126#define LWIP_SOCKET 1
    128127#define LWIP_ARP 1
     
    132131#define LWIP_COMPAT_MUTEX 1
    133132
     133#define LWIP_IPV4 1
    134134#define LWIP_IPV6 1
    135135#define LWIP_IPV6_FORWARD 0
     
    150150#define LWIP_RAW                        1
    151151
    152 /**
    153  * aka Slirp mode.
    154  */
    155 #define LWIP_CONNECTION_PROXY 0
    156152#define IP_FORWARD            0
    157153
     
    184180#define IPV6_FRAG_COPYHEADER 1
    185181
     182#ifdef VBOX_LWIP_DHCP
     183/* accept any->broadcast */
     184# define LWIP_IP_ACCEPT_UDP_PORT(port) ((port) == PP_NTOHS(/*DHCP_SERVER_PORT*/ 67))
     185#else
     186# define LWIP_TCP 1
     187#endif
     188
    186189#include "lwip-namespace.h"
    187190
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette