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 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 |
72#include <netinet/tcp.h> |
73#include <netinet/tcp_timer.h> 74#include <netinet/tcp_var.h> |
75#include <netinet/tcp_cc.h> |
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 --- |