tcp_syncache.c (86958) | tcp_syncache.c (87193) |
---|---|
1/*- 2 * Copyright (c) 2001 Networks Associates Technologies, Inc. 3 * All rights reserved. 4 * 5 * This software was developed for the FreeBSD Project by Jonathan Lemon 6 * and NAI Labs, the Security Research Division of Network Associates, Inc. 7 * under DARPA/SPAWAR contract N66001-01-C-8035 ("CBOSS"), as part of the 8 * DARPA CHATS research program. --- 17 unchanged lines hidden (view full) --- 26 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 27 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 28 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 29 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 30 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 31 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 32 * SUCH DAMAGE. 33 * | 1/*- 2 * Copyright (c) 2001 Networks Associates Technologies, Inc. 3 * All rights reserved. 4 * 5 * This software was developed for the FreeBSD Project by Jonathan Lemon 6 * and NAI Labs, the Security Research Division of Network Associates, Inc. 7 * under DARPA/SPAWAR contract N66001-01-C-8035 ("CBOSS"), as part of the 8 * DARPA CHATS research program. --- 17 unchanged lines hidden (view full) --- 26 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 27 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 28 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 29 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 30 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 31 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 32 * SUCH DAMAGE. 33 * |
34 * $FreeBSD: head/sys/netinet/tcp_syncache.c 86958 2001-11-27 11:55:28Z tanimura $ | 34 * $FreeBSD: head/sys/netinet/tcp_syncache.c 87193 2001-12-02 08:49:29Z dillon $ |
35 */ 36 37#include "opt_inet6.h" 38#include "opt_ipsec.h" 39 40#include <sys/param.h> 41#include <sys/systm.h> 42#include <sys/kernel.h> --- 609 unchanged lines hidden (view full) --- 652 tp->irs = sc->sc_irs; 653 tcp_rcvseqinit(tp); 654 tcp_sendseqinit(tp); 655 tp->snd_wl1 = sc->sc_irs; 656 tp->rcv_up = sc->sc_irs + 1; 657 tp->rcv_wnd = sc->sc_wnd; 658 tp->rcv_adv += tp->rcv_wnd; 659 | 35 */ 36 37#include "opt_inet6.h" 38#include "opt_ipsec.h" 39 40#include <sys/param.h> 41#include <sys/systm.h> 42#include <sys/kernel.h> --- 609 unchanged lines hidden (view full) --- 652 tp->irs = sc->sc_irs; 653 tcp_rcvseqinit(tp); 654 tcp_sendseqinit(tp); 655 tp->snd_wl1 = sc->sc_irs; 656 tp->rcv_up = sc->sc_irs + 1; 657 tp->rcv_wnd = sc->sc_wnd; 658 tp->rcv_adv += tp->rcv_wnd; 659 |
660 tp->t_flags = sc->sc_tp->t_flags & TF_NOPUSH; | 660 tp->t_flags = sc->sc_tp->t_flags & (TF_NOPUSH|TF_NODELAY); |
661 if (sc->sc_flags & SCF_NOOPT) 662 tp->t_flags |= TF_NOOPT; 663 if (sc->sc_flags & SCF_WINSCALE) { 664 tp->t_flags |= TF_REQ_SCALE|TF_RCVD_SCALE; 665 tp->requested_s_scale = sc->sc_requested_s_scale; 666 tp->request_r_scale = sc->sc_request_r_scale; 667 } 668 if (sc->sc_flags & SCF_TIMESTAMP) { --- 493 unchanged lines hidden --- | 661 if (sc->sc_flags & SCF_NOOPT) 662 tp->t_flags |= TF_NOOPT; 663 if (sc->sc_flags & SCF_WINSCALE) { 664 tp->t_flags |= TF_REQ_SCALE|TF_RCVD_SCALE; 665 tp->requested_s_scale = sc->sc_requested_s_scale; 666 tp->request_r_scale = sc->sc_request_r_scale; 667 } 668 if (sc->sc_flags & SCF_TIMESTAMP) { --- 493 unchanged lines hidden --- |