VirtualBox

Ignore:
Timestamp:
Apr 17, 2010 6:08:28 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
60205
Message:

*: whitespace cleanups by scm and two manually picked nits.

Location:
trunk/src/VBox/Devices/Network/slirp
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Network/slirp/bsd/kern/uipc_mbuf.c

    r28191 r28434  
    293293                case EXT_DISPOSABLE:
    294294#ifndef VBOX
    295             /* This code is dead in VBOX port of BSD mbufs (probably will be used for EXT_SBUFS some day) 
     295            /* This code is dead in VBOX port of BSD mbufs (probably will be used for EXT_SBUFS some day)
    296296             * @todo once bsd sbufs will be on trunk think about this code.
    297297             */
  • trunk/src/VBox/Devices/Network/slirp/misc.c

    r28397 r28434  
    155155    }
    156156
    157     /* we're on sub-zone we need get chunk of master zone and split 
     157    /* we're on sub-zone we need get chunk of master zone and split
    158158     * it for sub-zone conforming chunks.
    159159     */
     
    168168    zone->max_items ++;
    169169    it = &((struct item *)sub_area)[-1];
    170     /* it's chunk descriptor of master zone we should remove it 
     170    /* it's chunk descriptor of master zone we should remove it
    171171     *  from the master list first
    172172     */
     
    267267        LIST_INSERT_HEAD(&zone->free_items, it, list);
    268268    }
    269    
     269
    270270}
    271271
  • trunk/src/VBox/Devices/Network/slirp/slirp.c

    r28397 r28434  
    5757
    5858/*
    59  * DO_CHECK_FD_SET is used in dumping events on socket, including POLLNVAL. 
    60  * gcc warns about attempts to log POLLNVAL so construction in a last to lines 
    61  * used to catch POLLNVAL while logging and return false in case of error while 
     59 * DO_CHECK_FD_SET is used in dumping events on socket, including POLLNVAL.
     60 * gcc warns about attempts to log POLLNVAL so construction in a last to lines
     61 * used to catch POLLNVAL while logging and return false in case of error while
    6262 * normal usage.
    6363 */
  • trunk/src/VBox/Devices/Network/slirp/slirp.h

    r28172 r28434  
    8080#endif /* !RT_OS_WINDOWS */
    8181
    82 #if defined(RT_OS_WINDOWS) || defined (RT_OS_SOLARIS) 
     82#if defined(RT_OS_WINDOWS) || defined (RT_OS_SOLARIS)
    8383typedef uint64_t u_int64_t;
    8484typedef char *caddr_t;
  • trunk/src/VBox/Devices/Network/slirp/tcp_subr.c

    r28023 r28434  
    369369     * (see slirp.c for details about setting so_close member).
    370370     */
    371     if (   tp 
    372         && tp->t_socket 
     371    if (   tp
     372        && tp->t_socket
    373373        && !tp->t_socket->so_close)
    374374        tcp_output(pData, tp);
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