cc_htcp.c (274225) | cc_htcp.c (294535) |
---|---|
1/*- 2 * Copyright (c) 2007-2008 3 * Swinburne University of Technology, Melbourne, Australia 4 * Copyright (c) 2009-2010 Lawrence Stewart <lstewart@freebsd.org> 5 * Copyright (c) 2010 The FreeBSD Foundation 6 * All rights reserved. 7 * 8 * This software was developed at the Centre for Advanced Internet --- 34 unchanged lines hidden (view full) --- 43 * Swinburne University of Technology's Centre for Advanced Internet 44 * Architectures, Melbourne, Australia, which was made possible in part by a 45 * grant from the Cisco University Research Program Fund at Community Foundation 46 * Silicon Valley. More details are available at: 47 * http://caia.swin.edu.au/urp/newtcp/ 48 */ 49 50#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 2007-2008 3 * Swinburne University of Technology, Melbourne, Australia 4 * Copyright (c) 2009-2010 Lawrence Stewart <lstewart@freebsd.org> 5 * Copyright (c) 2010 The FreeBSD Foundation 6 * All rights reserved. 7 * 8 * This software was developed at the Centre for Advanced Internet --- 34 unchanged lines hidden (view full) --- 43 * Swinburne University of Technology's Centre for Advanced Internet 44 * Architectures, Melbourne, Australia, which was made possible in part by a 45 * grant from the Cisco University Research Program Fund at Community Foundation 46 * Silicon Valley. More details are available at: 47 * http://caia.swin.edu.au/urp/newtcp/ 48 */ 49 50#include <sys/cdefs.h> |
51__FBSDID("$FreeBSD: head/sys/netinet/cc/cc_htcp.c 274225 2014-11-07 09:39:05Z glebius $"); | 51__FBSDID("$FreeBSD: head/sys/netinet/cc/cc_htcp.c 294535 2016-01-21 22:34:51Z glebius $"); |
52 53#include <sys/param.h> 54#include <sys/kernel.h> 55#include <sys/limits.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 | 52 53#include <sys/param.h> 54#include <sys/kernel.h> 55#include <sys/limits.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/cc.h> | 65#include <netinet/tcp.h> |
66#include <netinet/tcp_seq.h> 67#include <netinet/tcp_timer.h> 68#include <netinet/tcp_var.h> | 66#include <netinet/tcp_seq.h> 67#include <netinet/tcp_timer.h> 68#include <netinet/tcp_var.h> |
69 | 69#include <netinet/tcp_cc.h> |
70#include <netinet/cc/cc_module.h> 71 72/* Fixed point math shifts. */ 73#define HTCP_SHIFT 8 74#define HTCP_ALPHA_INC_SHIFT 4 75 76#define HTCP_INIT_ALPHA 1 77#define HTCP_DELTA_L hz /* 1 sec in ticks. */ --- 445 unchanged lines hidden --- | 70#include <netinet/cc/cc_module.h> 71 72/* Fixed point math shifts. */ 73#define HTCP_SHIFT 8 74#define HTCP_ALPHA_INC_SHIFT 4 75 76#define HTCP_INIT_ALPHA 1 77#define HTCP_DELTA_L hz /* 1 sec in ticks. */ --- 445 unchanged lines hidden --- |