VirtualBox

Changeset 50273 in vbox for trunk/src/VBox/Devices


Ignore:
Timestamp:
Jan 29, 2014 3:18:21 PM (11 years ago)
Author:
vboxsync
Message:

Provide LWIP_DEBUGF definition that uses VBox logging facilities.
lwIP's default debugging level corresponds to VBox level4 so to get
all the gory details of the stack operation (a lot of them) use

VBOX_LOG="+lwip*.e.l2.l3.l4"

Location:
trunk/src/VBox/Devices/Network
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Network/lwipopts.h

    r50264 r50273  
    155155/* Debugging stuff. */
    156156#ifdef DEBUG
    157 
    158157# define LWIP_DEBUG
    159 
    160 /* filter in debugging severity */
    161 # define DBG_TYPES_ON (LWIP_DBG_ON | LWIP_DBG_TRACE | LWIP_DBG_STATE | LWIP_DBG_FRESH | LWIP_DBG_HALT)
    162 # define DBG_MIN_LEVEL 0
    163 
    164 /* Ethernet & ARP debugging */
    165 # define ETHARP_DEBUG    LWIP_DBG_ON
    166 /* IPv4 debugging */
    167 # define IP_DEBUG    LWIP_DBG_ON
    168 # define IP_REASS_DEBUG  LWIP_DBG_ON
    169 /* IPv6 debugging */
    170 # define IP6_DEBUG LWIP_DBG_ON
    171 /* ICMP debugging */
    172 # define ICMP_DEBUG  LWIP_DBG_ON
    173 /* TCP debugging */
    174 # define TCP_DEBUG   LWIP_DBG_ON
    175 # define TCP_INPUT_DEBUG LWIP_DBG_ON
    176 # define TCP_FR_DEBUG    LWIP_DBG_ON
    177 # define TCP_RTO_DEBUG   LWIP_DBG_ON
    178 # define TCP_CWND_DEBUG  LWIP_DBG_ON
    179 # define TCP_WND_DEBUG   LWIP_DBG_ON
    180 # define TCP_OUTPUT_DEBUG    LWIP_DBG_ON
    181 # define TCP_RST_DEBUG   LWIP_DBG_ON
    182 # define TCP_QLEN_DEBUG  LWIP_DBG_ON
    183 /* RAW API debugging */
    184 /* API debugging */
    185 # define NETIF_DEBUG LWIP_DBG_ON
    186 # define PBUF_DEBUG  LWIP_DBG_ON
    187 # define API_LIB_DEBUG   LWIP_DBG_ON
    188 # define API_MSG_DEBUG   LWIP_DBG_ON
    189 # define SOCKETS_DEBUG   LWIP_DBG_ON
    190 
    191 # define INET_DEBUG  LWIP_DBG_ON
    192 # define RAW_DEBUG   LWIP_DBG_ON
    193 # define MEM_DEBUG   LWIP_DBG_ON
    194 # define MEMP_DEBUG  LWIP_DBG_ON
    195 # define SYS_DEBUG   LWIP_DBG_ON
    196 
    197 # define UDP_DEBUG   LWIP_DBG_ON
    198 # define TCPIP_DEBUG LWIP_DBG_ON
    199 # define DHCP_DEBUG  LWIP_DBG_ON
    200 
    201 # define LWIP_PROXY_DEBUG LWIP_DBG_ON
     158# include "lwip-log.h"
    202159#endif /* DEBUG */
    203160
Note: See TracChangeset for help on using the changeset viewer.

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