VirtualBox

Changeset 35351 in vbox for trunk/src/VBox/Devices/Network


Ignore:
Timestamp:
Dec 27, 2010 5:04:17 PM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
69211
Message:

scm cleanups.

File:
1 edited

Legend:

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

    r34305 r35351  
    303303 */
    304304static DECLCALLBACK(size_t)
    305 printTcpcbRfc793(PFNRTSTROUTPUT pfnOutput, void *pvArgOutput, 
     305printTcpcbRfc793(PFNRTSTROUTPUT pfnOutput, void *pvArgOutput,
    306306                 const char *pszType, void const *pvValue,
    307307                 int cchWidth, int cchPrecision, unsigned fFlags,
     
    309309{
    310310    size_t cb = 0;
    311     const struct tcpcb *tp = (const struct tcpcb *)pvValue; 
     311    const struct tcpcb *tp = (const struct tcpcb *)pvValue;
    312312    AssertReturn(RTStrCmp(pszType, "tcpcb793") == 0 && tp, 0);
    313     cb += RTStrFormat(pfnOutput, pvArgOutput, NULL, 0, "TCB793[ SND(UNA: %x, NXT: %x, UP: %x, WND: %x, WL1:%x, WL2:%x, ISS:%x), ", 
     313    cb += RTStrFormat(pfnOutput, pvArgOutput, NULL, 0, "TCB793[ SND(UNA: %x, NXT: %x, UP: %x, WND: %x, WL1:%x, WL2:%x, ISS:%x), ",
    314314                      tp->snd_una, tp->snd_nxt, tp->snd_up, tp->snd_wnd, tp->snd_wl1, tp->snd_wl2, tp->iss);
    315315    cb += RTStrFormat(pfnOutput, pvArgOutput, NULL, 0, "RCV(WND: %x, NXT: %x, UP: %x, IRS:%x)]", tp->rcv_wnd, tp->rcv_nxt, tp->rcv_up, tp->irs);
     
    320320 */
    321321static DECLCALLBACK(size_t)
    322 printTcpSegmentRfc793(PFNRTSTROUTPUT pfnOutput, void *pvArgOutput, 
     322printTcpSegmentRfc793(PFNRTSTROUTPUT pfnOutput, void *pvArgOutput,
    323323                 const char *pszType, void const *pvValue,
    324324                 int cchWidth, int cchPrecision, unsigned fFlags,
     
    326326{
    327327    size_t cb = 0;
    328     const struct tcpiphdr *ti = (const struct tcpiphdr *)pvValue; 
     328    const struct tcpiphdr *ti = (const struct tcpiphdr *)pvValue;
    329329    AssertReturn(RTStrCmp(pszType, "tcpseg793") == 0 && ti, 0);
    330     cb += RTStrFormat(pfnOutput, pvArgOutput, NULL, 0, "SEG[ACK: %x, SEQ: %x, LEN: %x, WND: %x, UP: %x]", 
     330    cb += RTStrFormat(pfnOutput, pvArgOutput, NULL, 0, "SEG[ACK: %x, SEQ: %x, LEN: %x, WND: %x, UP: %x]",
    331331                      ti->ti_ack, ti->ti_seq, ti->ti_len, ti->ti_win, ti->ti_urp);
    332332    return cb;
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