Changeset 14309 in vbox
- Timestamp:
- Nov 18, 2008 3:29:39 PM (16 years ago)
- 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 221 221 } 222 222 223 #else /* !VBOX_WITH_BSD_TCP_REASS */223 #else /* VBOX_WITH_BSD_TCP_REASS */ 224 224 225 225 #ifndef TCP_ACK_HACK … … 729 729 #ifndef VBOX_WITH_BSD_TCP_REASS 730 730 u32_to_ptr(pData, tp->seg_next, struct tcpcb *) == tp && 731 #else /* !VBOX_WITH_BSD_TCP_REASS */731 #else /* VBOX_WITH_BSD_TCP_REASS */ 732 732 LIST_FIRST(&tp->t_segq) && 733 733 #endif /* VBOX_WITH_BSD_TCP_REASS */ … … 963 963 (void) tcp_reass(pData, tp, (struct tcpiphdr *)0, 964 964 (struct mbuf *)0); 965 #else /* !VBOX_WITH_BSD_TCP_REASS */965 #else /* VBOX_WITH_BSD_TCP_REASS */ 966 966 (void) tcp_reass(pData, tp, (struct tcphdr *)0, NULL, (struct mbuf *)0); 967 967 #endif /* VBOX_WITH_BSD_TCP_REASS */ … … 1236 1236 #ifndef VBOX_WITH_BSD_TCP_REASS 1237 1237 (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 */ 1239 1239 (void) tcp_reass(pData, tp, (struct tcphdr *)0, (int *)0, (struct mbuf *)0); 1240 1240 #endif /*VBOX_WITH_BSD_TCP_REASS*/ … … 1542 1542 #ifndef VBOX_WITH_BSD_TCP_REASS 1543 1543 TCP_REASS(pData, tp, ti, m, so, tiflags); 1544 #else /* !VBOX_WITH_BSD_TCP_REASS */1544 #else /* VBOX_WITH_BSD_TCP_REASS */ 1545 1545 if (ti->ti_seq == tp->rcv_nxt 1546 1546 && LIST_EMPTY(&tp->t_segq) -
trunk/src/VBox/Devices/Network/slirp/tcp_subr.c
r14291 r14309 195 195 #ifndef VBOX_WITH_BSD_TCP_REASS 196 196 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 */ 198 198 LIST_INSERT_HEAD(&pData->tcpcbhead, tp, t_list); 199 199 #endif /* VBOX_WITH_BSD_TCP_REASS */ … … 286 286 /* free(tp, M_PCB); */ 287 287 u32ptr_done(pData, ptr_to_u32(pData, tp), tp); 288 #else /* !VBOX_WITH_BSD_TCP_REASS */288 #else /* VBOX_WITH_BSD_TCP_REASS */ 289 289 struct tseg_qent *te; 290 290 DEBUG_CALL("tcp_close"); -
trunk/src/VBox/Devices/Network/slirp/tcp_var.h
r14293 r14309 85 85 tcpiphdrp_32 seg_next; /* sequencing queue */ 86 86 tcpiphdrp_32 seg_prev; 87 #else /* !VBOX_WITH_BSD_TCP_REASS */87 #else /* VBOX_WITH_BSD_TCP_REASS */ 88 88 LIST_ENTRY(tcpcb) t_list; 89 89 struct tsegqe_head t_segq; /* segment reassembly queue */
Note:
See TracChangeset
for help on using the changeset viewer.