VirtualBox

Changeset 55855 in vbox


Ignore:
Timestamp:
May 13, 2015 6:14:15 PM (10 years ago)
Author:
vboxsync
Message:

NAT: printSocket - make %R[natsock] output more compact

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Network/slirp/debug.c

    r51329 r55855  
    302302
    303303    cb += RTStrFormat(pfnOutput, pvArgOutput, NULL, 0,
    304             "socket %d:(proto:%u) exp. in %d "
     304            "socket %d:(proto:%u) exp. in %d"
    305305            " state=%R[natsockstate]"
    306             " fUnderPolling:%RTbool"
    307             " fShouldBeRemoved:%RTbool"
     306            "%s" /* fUnderPolling */
     307            "%s" /* fShouldBeRemoved */
    308308            " f_(addr:port)=%RTnaipv4:%d"
    309309            " l_(addr:port)=%RTnaipv4:%d",
     
    311311            so->so_expire ? so->so_expire - curtime : 0,
    312312            so->so_state,
    313             so->fUnderPolling,
    314             so->fShouldBeRemoved,
     313            so->fUnderPolling ? " fUnderPolling" : "",
     314            so->fShouldBeRemoved ? " fShouldBeRemoved" : "",
    315315            so->so_faddr.s_addr,
    316316            RT_N2H_U16(so->so_fport),
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