VirtualBox

Changeset 14309 in vbox


Ignore:
Timestamp:
Nov 18, 2008 3:29:39 PM (16 years ago)
Author:
vboxsync
Message:

#else /* what comes now */

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

Legend:

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

    r14286 r14309  
    221221}
    222222
    223 #else /* !VBOX_WITH_BSD_TCP_REASS */
     223#else /* VBOX_WITH_BSD_TCP_REASS */
    224224
    225225#ifndef TCP_ACK_HACK
     
    729729#ifndef VBOX_WITH_BSD_TCP_REASS
    730730                    u32_to_ptr(pData, tp->seg_next, struct tcpcb *) == tp &&
    731 #else /* !VBOX_WITH_BSD_TCP_REASS */
     731#else  /* VBOX_WITH_BSD_TCP_REASS */
    732732                    LIST_FIRST(&tp->t_segq) &&
    733733#endif /* VBOX_WITH_BSD_TCP_REASS */
     
    963963                        (void) tcp_reass(pData, tp, (struct tcpiphdr *)0,
    964964                                (struct mbuf *)0);
    965 #else /* !VBOX_WITH_BSD_TCP_REASS */
     965#else  /* VBOX_WITH_BSD_TCP_REASS */
    966966                        (void) tcp_reass(pData, tp, (struct tcphdr *)0, NULL, (struct mbuf *)0);
    967967#endif /* VBOX_WITH_BSD_TCP_REASS */
     
    12361236#ifndef VBOX_WITH_BSD_TCP_REASS
    12371237                (void) tcp_reass(pData, tp, (struct tcpiphdr *)0, (struct mbuf *)0);
    1238 #else /* !VBOX_WITH_BSD_TCP_REASS */
     1238#else  /* VBOX_WITH_BSD_TCP_REASS */
    12391239                (void) tcp_reass(pData, tp, (struct tcphdr *)0, (int *)0, (struct mbuf *)0);
    12401240#endif /*VBOX_WITH_BSD_TCP_REASS*/
     
    15421542#ifndef VBOX_WITH_BSD_TCP_REASS
    15431543                TCP_REASS(pData, tp, ti, m, so, tiflags);
    1544 #else /* !VBOX_WITH_BSD_TCP_REASS */
     1544#else  /* VBOX_WITH_BSD_TCP_REASS */
    15451545                if (ti->ti_seq == tp->rcv_nxt
    15461546                && LIST_EMPTY(&tp->t_segq)
  • trunk/src/VBox/Devices/Network/slirp/tcp_subr.c

    r14291 r14309  
    195195#ifndef VBOX_WITH_BSD_TCP_REASS
    196196        tp->seg_next = tp->seg_prev = ptr_to_u32(pData, (struct tcpiphdr *)tp);
    197 #else /* !VBOX_WITH_BSD_TCP_REASS */
     197#else  /* VBOX_WITH_BSD_TCP_REASS */
    198198        LIST_INSERT_HEAD(&pData->tcpcbhead, tp, t_list);
    199199#endif /* VBOX_WITH_BSD_TCP_REASS */
     
    286286/*      free(tp, M_PCB);  */
    287287        u32ptr_done(pData, ptr_to_u32(pData, tp), tp);
    288 #else /* !VBOX_WITH_BSD_TCP_REASS */
     288#else  /* VBOX_WITH_BSD_TCP_REASS */
    289289        struct tseg_qent *te;
    290290        DEBUG_CALL("tcp_close");
  • trunk/src/VBox/Devices/Network/slirp/tcp_var.h

    r14293 r14309  
    8585        tcpiphdrp_32 seg_next;  /* sequencing queue */
    8686        tcpiphdrp_32 seg_prev;
    87 #else /* !VBOX_WITH_BSD_TCP_REASS */
     87#else  /* VBOX_WITH_BSD_TCP_REASS */
    8888        LIST_ENTRY(tcpcb) t_list;
    8989        struct  tsegqe_head t_segq;     /* segment reassembly queue */
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