Deleted Added
full compact
cc_chd.c (294534) cc_chd.c (294535)
1/*-
2 * Copyright (c) 2009-2010
3 * Swinburne University of Technology, Melbourne, Australia
4 * Copyright (c) 2010-2011 The FreeBSD Foundation
5 * All rights reserved.
6 *
7 * This software was developed at the Centre for Advanced Internet
8 * Architectures, Swinburne University of Technology, by David Hayes and

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

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

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

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

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

--- 416 unchanged lines hidden ---