tcp_usrreq.c (215166) | tcp_usrreq.c (215434) |
---|---|
1/*- 2 * Copyright (c) 1982, 1986, 1988, 1993 3 * The Regents of the University of California. 4 * Copyright (c) 2006-2007 Robert N. M. Watson 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 18 unchanged lines hidden (view full) --- 27 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 28 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 29 * SUCH DAMAGE. 30 * 31 * From: @(#)tcp_usrreq.c 8.2 (Berkeley) 1/3/94 32 */ 33 34#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 1982, 1986, 1988, 1993 3 * The Regents of the University of California. 4 * Copyright (c) 2006-2007 Robert N. M. Watson 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 18 unchanged lines hidden (view full) --- 27 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 28 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 29 * SUCH DAMAGE. 30 * 31 * From: @(#)tcp_usrreq.c 8.2 (Berkeley) 1/3/94 32 */ 33 34#include <sys/cdefs.h> |
35__FBSDID("$FreeBSD: head/sys/netinet/tcp_usrreq.c 215166 2010-11-12 06:41:55Z lstewart $"); | 35__FBSDID("$FreeBSD: head/sys/netinet/tcp_usrreq.c 215434 2010-11-17 18:55:12Z gnn $"); |
36 37#include "opt_ddb.h" 38#include "opt_inet.h" 39#include "opt_inet6.h" 40#include "opt_tcpdebug.h" 41 42#include <sys/param.h> 43#include <sys/systm.h> --- 1169 unchanged lines hidden (view full) --- 1213 ti->tcpi_rcv_nxt = tp->rcv_nxt; 1214 ti->tcpi_snd_wnd = tp->snd_wnd; 1215 ti->tcpi_snd_bwnd = 0; /* Unused, kept for compat. */ 1216 ti->tcpi_snd_nxt = tp->snd_nxt; 1217 ti->tcpi_snd_mss = tp->t_maxseg; 1218 ti->tcpi_rcv_mss = tp->t_maxseg; 1219 if (tp->t_flags & TF_TOE) 1220 ti->tcpi_options |= TCPI_OPT_TOE; | 36 37#include "opt_ddb.h" 38#include "opt_inet.h" 39#include "opt_inet6.h" 40#include "opt_tcpdebug.h" 41 42#include <sys/param.h> 43#include <sys/systm.h> --- 1169 unchanged lines hidden (view full) --- 1213 ti->tcpi_rcv_nxt = tp->rcv_nxt; 1214 ti->tcpi_snd_wnd = tp->snd_wnd; 1215 ti->tcpi_snd_bwnd = 0; /* Unused, kept for compat. */ 1216 ti->tcpi_snd_nxt = tp->snd_nxt; 1217 ti->tcpi_snd_mss = tp->t_maxseg; 1218 ti->tcpi_rcv_mss = tp->t_maxseg; 1219 if (tp->t_flags & TF_TOE) 1220 ti->tcpi_options |= TCPI_OPT_TOE; |
1221 ti->tcpi_snd_rexmitpack = tp->t_sndrexmitpack; 1222 ti->tcpi_rcv_ooopack = tp->t_rcvoopack; 1223 ti->tcpi_snd_zerowin = tp->t_sndzerowin; |
|
1221} 1222 1223/* 1224 * tcp_ctloutput() must drop the inpcb lock before performing copyin on 1225 * socket option arguments. When it re-acquires the lock after the copy, it 1226 * has to revalidate that the connection is still valid for the socket 1227 * option. 1228 */ --- 705 unchanged lines hidden --- | 1224} 1225 1226/* 1227 * tcp_ctloutput() must drop the inpcb lock before performing copyin on 1228 * socket option arguments. When it re-acquires the lock after the copy, it 1229 * has to revalidate that the connection is still valid for the socket 1230 * option. 1231 */ --- 705 unchanged lines hidden --- |