Deleted Added
full compact
tcp_var.h (255759) tcp_var.h (262489)
1/*-
2 * Copyright (c) 1982, 1986, 1993, 1994, 1995
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 13 unchanged lines hidden (view full) ---

22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE.
28 *
29 * @(#)tcp_var.h 8.4 (Berkeley) 5/24/95
1/*-
2 * Copyright (c) 1982, 1986, 1993, 1994, 1995
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 13 unchanged lines hidden (view full) ---

22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE.
28 *
29 * @(#)tcp_var.h 8.4 (Berkeley) 5/24/95
30 * $FreeBSD: head/sys/netinet/tcp_var.h 255759 2013-09-21 10:01:51Z bz $
30 * $FreeBSD: head/sys/netinet/tcp_var.h 262489 2014-02-25 18:44:33Z jhb $
31 */
32
33#ifndef _NETINET_TCP_VAR_H_
34#define _NETINET_TCP_VAR_H_
35
36#include <netinet/tcp.h>
37
38#ifdef _KERNEL

--- 532 unchanged lines hidden (view full) ---

571 struct tcpcb xt_tp;
572 struct xsocket xt_socket;
573 struct xtcp_timer xt_timer;
574 u_quad_t xt_alignment_hack;
575};
576#endif
577
578/*
31 */
32
33#ifndef _NETINET_TCP_VAR_H_
34#define _NETINET_TCP_VAR_H_
35
36#include <netinet/tcp.h>
37
38#ifdef _KERNEL

--- 532 unchanged lines hidden (view full) ---

571 struct tcpcb xt_tp;
572 struct xsocket xt_socket;
573 struct xtcp_timer xt_timer;
574 u_quad_t xt_alignment_hack;
575};
576#endif
577
578/*
579 * Names for TCP sysctl objects
579 * Identifiers for TCP sysctl nodes
580 */
581#define TCPCTL_DO_RFC1323 1 /* use RFC-1323 extensions */
582#define TCPCTL_MSSDFLT 3 /* MSS default */
583#define TCPCTL_STATS 4 /* statistics (read-only) */
584#define TCPCTL_RTTDFLT 5 /* default RTT estimate */
585#define TCPCTL_KEEPIDLE 6 /* keepalive idle timer */
586#define TCPCTL_KEEPINTVL 7 /* interval to send keepalives */
587#define TCPCTL_SENDSPACE 8 /* send buffer space */
588#define TCPCTL_RECVSPACE 9 /* receive buffer space */
589#define TCPCTL_KEEPINIT 10 /* timeout for establishing syn */
590#define TCPCTL_PCBLIST 11 /* list of all outstanding PCBs */
591#define TCPCTL_DELACKTIME 12 /* time before sending delayed ACK */
592#define TCPCTL_V6MSSDFLT 13 /* MSS default for IPv6 */
593#define TCPCTL_SACK 14 /* Selective Acknowledgement,rfc 2018 */
594#define TCPCTL_DROP 15 /* drop tcp connection */
580 */
581#define TCPCTL_DO_RFC1323 1 /* use RFC-1323 extensions */
582#define TCPCTL_MSSDFLT 3 /* MSS default */
583#define TCPCTL_STATS 4 /* statistics (read-only) */
584#define TCPCTL_RTTDFLT 5 /* default RTT estimate */
585#define TCPCTL_KEEPIDLE 6 /* keepalive idle timer */
586#define TCPCTL_KEEPINTVL 7 /* interval to send keepalives */
587#define TCPCTL_SENDSPACE 8 /* send buffer space */
588#define TCPCTL_RECVSPACE 9 /* receive buffer space */
589#define TCPCTL_KEEPINIT 10 /* timeout for establishing syn */
590#define TCPCTL_PCBLIST 11 /* list of all outstanding PCBs */
591#define TCPCTL_DELACKTIME 12 /* time before sending delayed ACK */
592#define TCPCTL_V6MSSDFLT 13 /* MSS default for IPv6 */
593#define TCPCTL_SACK 14 /* Selective Acknowledgement,rfc 2018 */
594#define TCPCTL_DROP 15 /* drop tcp connection */
595#define TCPCTL_MAXID 16
596#define TCPCTL_FINWAIT2_TIMEOUT 17
597
598#ifdef _KERNEL
599#ifdef SYSCTL_DECL
600SYSCTL_DECL(_net_inet_tcp);
601SYSCTL_DECL(_net_inet_tcp_sack);
602MALLOC_DECLARE(M_TCPLOG);
603#endif
604

--- 137 unchanged lines hidden ---
595
596#ifdef _KERNEL
597#ifdef SYSCTL_DECL
598SYSCTL_DECL(_net_inet_tcp);
599SYSCTL_DECL(_net_inet_tcp_sack);
600MALLOC_DECLARE(M_TCPLOG);
601#endif
602

--- 137 unchanged lines hidden ---