- Timestamp:
- Dec 9, 2013 8:52:21 PM (11 years ago)
- Location:
- trunk/src/VBox/Devices/Network/lwip-new/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/lwip-new/src/core/ipv4/icmp.c
r49514 r49854 52 52 53 53 #include <string.h> 54 55 /* see comment in "lwip/ip.h" */ 56 #ifdef IP_HDRINCL 57 #undef IP_HDRINCL 58 #endif 59 #define IP_HDRINCL LWIP_IP_HDRINCL 54 60 55 61 /** Small optimization: set to 0 if incoming PBUF_POOL pbuf always can be -
trunk/src/VBox/Devices/Network/lwip-new/src/core/ipv4/ip4.c
r49514 r49854 58 58 59 59 #include <string.h> 60 61 /* see comment in "lwip/ip.h" */ 62 #ifdef IP_HDRINCL 63 #undef IP_HDRINCL 64 #endif 65 #define IP_HDRINCL LWIP_IP_HDRINCL 60 66 61 67 /** Set this to 0 in the rare case of wanting to call an extra function to -
trunk/src/VBox/Devices/Network/lwip-new/src/core/ipv6/ip6.c
r49592 r49854 60 60 #include "lwip/debug.h" 61 61 #include "lwip/stats.h" 62 63 /* see comment in "lwip/ip.h" */ 64 #ifdef IP_HDRINCL 65 #undef IP_HDRINCL 66 #endif 67 #define IP_HDRINCL LWIP_IP_HDRINCL 62 68 63 69 #if LWIP_CONNECTION_PROXY -
trunk/src/VBox/Devices/Network/lwip-new/src/include/lwip/ip.h
r47886 r49854 50 50 to ip_output), meaning that an IP header already is constructed 51 51 in the pbuf. This is used when TCP retransmits. */ 52 #if 0 53 /* XXX: "IP_HDRINCL" is a name of a socket option and the #undef below 54 is a good sign that reusing this name was rather unfortuate. Other 55 naming conflicts are mostly restricted to "lwip/sockets.h" but this 56 one is pretty nasty since it affects all code that uses lwip. 57 Rename it out of the way here and do undef/redef dance in the few 58 lwip files that use this name to minimize diffs to upstream. */ 52 59 #ifdef IP_HDRINCL 53 60 #undef IP_HDRINCL 54 61 #endif /* IP_HDRINCL */ 55 #define IP_HDRINCL NULL 62 #endif /* XXX: 0 */ 63 #define LWIP_IP_HDRINCL NULL 56 64 57 65 #if LWIP_NETIF_HWADDRHINT
Note:
See TracChangeset
for help on using the changeset viewer.