Deleted Added
full compact
cc_newreno.c (294535) cc_newreno.c (294931)
1/*-
2 * Copyright (c) 1982, 1986, 1988, 1990, 1993, 1994, 1995
3 * The Regents of the University of California.
4 * Copyright (c) 2007-2008,2010
5 * Swinburne University of Technology, Melbourne, Australia.
6 * Copyright (c) 2009-2010 Lawrence Stewart <lstewart@freebsd.org>
7 * Copyright (c) 2010 The FreeBSD Foundation
8 * All rights reserved.

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

44 * Technology's Centre for Advanced Internet Architectures, Melbourne,
45 * Australia, which was made possible in part by a grant from the Cisco
46 * University Research Program Fund at Community Foundation Silicon Valley.
47 * More details are available at:
48 * http://caia.swin.edu.au/urp/newtcp/
49 */
50
51#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 1982, 1986, 1988, 1990, 1993, 1994, 1995
3 * The Regents of the University of California.
4 * Copyright (c) 2007-2008,2010
5 * Swinburne University of Technology, Melbourne, Australia.
6 * Copyright (c) 2009-2010 Lawrence Stewart <lstewart@freebsd.org>
7 * Copyright (c) 2010 The FreeBSD Foundation
8 * All rights reserved.

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

44 * Technology's Centre for Advanced Internet Architectures, Melbourne,
45 * Australia, which was made possible in part by a grant from the Cisco
46 * University Research Program Fund at Community Foundation Silicon Valley.
47 * More details are available at:
48 * http://caia.swin.edu.au/urp/newtcp/
49 */
50
51#include <sys/cdefs.h>
52__FBSDID("$FreeBSD: head/sys/netinet/cc/cc_newreno.c 294535 2016-01-21 22:34:51Z glebius $");
52__FBSDID("$FreeBSD: head/sys/netinet/cc/cc_newreno.c 294931 2016-01-27 17:59:39Z glebius $");
53
54#include <sys/param.h>
55#include <sys/kernel.h>
56#include <sys/malloc.h>
57#include <sys/module.h>
58#include <sys/socket.h>
59#include <sys/socketvar.h>
60#include <sys/sysctl.h>
61#include <sys/systm.h>
62
63#include <net/vnet.h>
64
65#include <netinet/tcp.h>
66#include <netinet/tcp_seq.h>
67#include <netinet/tcp_var.h>
53
54#include <sys/param.h>
55#include <sys/kernel.h>
56#include <sys/malloc.h>
57#include <sys/module.h>
58#include <sys/socket.h>
59#include <sys/socketvar.h>
60#include <sys/sysctl.h>
61#include <sys/systm.h>
62
63#include <net/vnet.h>
64
65#include <netinet/tcp.h>
66#include <netinet/tcp_seq.h>
67#include <netinet/tcp_var.h>
68#include <netinet/tcp_cc.h>
68#include <netinet/cc/cc.h>
69#include <netinet/cc/cc_module.h>
70
71static void newreno_ack_received(struct cc_var *ccv, uint16_t type);
72static void newreno_after_idle(struct cc_var *ccv);
73static void newreno_cong_signal(struct cc_var *ccv, uint32_t type);
74static void newreno_post_recovery(struct cc_var *ccv);
75
76struct cc_algo newreno_cc_algo = {

--- 167 unchanged lines hidden ---
69#include <netinet/cc/cc_module.h>
70
71static void newreno_ack_received(struct cc_var *ccv, uint16_t type);
72static void newreno_after_idle(struct cc_var *ccv);
73static void newreno_cong_signal(struct cc_var *ccv, uint32_t type);
74static void newreno_post_recovery(struct cc_var *ccv);
75
76struct cc_algo newreno_cc_algo = {

--- 167 unchanged lines hidden ---