Deleted Added
full compact
cc_vegas.c (294534) cc_vegas.c (294535)
1/*-
2 * Copyright (c) 2009-2010
3 * Swinburne University of Technology, Melbourne, Australia
4 * Copyright (c) 2010 Lawrence Stewart <lstewart@freebsd.org>
5 * Copyright (c) 2010-2011 The FreeBSD Foundation
6 * All rights reserved.
7 *
8 * This software was developed at the Centre for Advanced Internet

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

49 * University of Technology's Centre for Advanced Internet Architectures,
50 * Melbourne, Australia, which was made possible in part by a grant from the
51 * Cisco University Research Program Fund at Community Foundation Silicon
52 * Valley. More details are available at:
53 * http://caia.swin.edu.au/urp/newtcp/
54 */
55
56#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 2009-2010
3 * Swinburne University of Technology, Melbourne, Australia
4 * Copyright (c) 2010 Lawrence Stewart <lstewart@freebsd.org>
5 * Copyright (c) 2010-2011 The FreeBSD Foundation
6 * All rights reserved.
7 *
8 * This software was developed at the Centre for Advanced Internet

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

49 * University of Technology's Centre for Advanced Internet Architectures,
50 * Melbourne, Australia, which was made possible in part by a grant from the
51 * Cisco University Research Program Fund at Community Foundation Silicon
52 * Valley. More details are available at:
53 * http://caia.swin.edu.au/urp/newtcp/
54 */
55
56#include <sys/cdefs.h>
57__FBSDID("$FreeBSD: head/sys/netinet/cc/cc_vegas.c 294534 2016-01-21 22:24:20Z glebius $");
57__FBSDID("$FreeBSD: head/sys/netinet/cc/cc_vegas.c 294535 2016-01-21 22:34:51Z glebius $");
58
59#include <sys/param.h>
60#include <sys/kernel.h>
61#include <sys/khelp.h>
62#include <sys/malloc.h>
63#include <sys/module.h>
64#include <sys/queue.h>
65#include <sys/socket.h>
66#include <sys/socketvar.h>
67#include <sys/sysctl.h>
68#include <sys/systm.h>
69
70#include <net/vnet.h>
71
58
59#include <sys/param.h>
60#include <sys/kernel.h>
61#include <sys/khelp.h>
62#include <sys/malloc.h>
63#include <sys/module.h>
64#include <sys/queue.h>
65#include <sys/socket.h>
66#include <sys/socketvar.h>
67#include <sys/sysctl.h>
68#include <sys/systm.h>
69
70#include <net/vnet.h>
71
72#include <netinet/cc.h>
73#include <netinet/tcp_seq.h>
72#include <netinet/tcp.h>
74#include <netinet/tcp_timer.h>
75#include <netinet/tcp_var.h>
73#include <netinet/tcp_timer.h>
74#include <netinet/tcp_var.h>
76
75#include <netinet/tcp_cc.h>
77#include <netinet/cc/cc_module.h>
78
79#include <netinet/khelp/h_ertt.h>
80
81#define CAST_PTR_INT(X) (*((int*)(X)))
82
83/*
84 * Private signal type for rate based congestion signal.

--- 224 unchanged lines hidden ---
76#include <netinet/cc/cc_module.h>
77
78#include <netinet/khelp/h_ertt.h>
79
80#define CAST_PTR_INT(X) (*((int*)(X)))
81
82/*
83 * Private signal type for rate based congestion signal.

--- 224 unchanged lines hidden ---