VirtualBox

Changeset 55990 in vbox for trunk/src


Ignore:
Timestamp:
May 21, 2015 3:53:03 AM (10 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
100499
Message:

NAT/Net: pxtcp_pcb_forward_outbound: add debug logging.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/NetworkServices/NAT/pxtcp.c

    r54124 r55990  
    15441544
    15451545    if (forwarded > 0) {
     1546        DPRINTF2(("forward_outbound: pxtcp %p, pcb %p: sent %d bytes\n",
     1547                  (void *)pxtcp, (void *)pxtcp->pcb, (int)forwarded));
    15461548        tcp_recved(pxtcp->pcb, (u16_t)forwarded);
    15471549    }
     
    15681570        }
    15691571        pxtcp->unsent = q;
     1572        DPRINTF2(("forward_outbound: pxtcp %p, pcb %p: kept %d bytes\n",
     1573                  (void *)pxtcp, (void *)pxtcp->pcb, (int)q->tot_len));
    15701574
    15711575        /*
     
    15801584        if (sockerr != 0 && sockerr != ECONNRESET) {
    15811585            struct tcp_pcb *pcb = pxtcp->pcb;
     1586            DPRINTF2(("forward_outbound: pxtcp %p, pcb %p: %R[sockerr]\n",
     1587                      (void *)pxtcp, (void *)pcb, sockerr));
     1588
    15821589            pxtcp_pcb_dissociate(pxtcp);
    15831590
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